diff options
author | Vasu Dev <vasu.dev@intel.com> | 2009-12-10 20:59:31 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-13 01:30:34 +0300 |
commit | 55a66d3c1e57f7e3e554d6ec8011e840f3802f20 (patch) | |
tree | b13e6446ce4d397e5c7d774bf942a2563e1248e5 /include | |
parent | c1ecb90a66c5afc7cc5c9349f9c3714eef4a5cfb (diff) | |
download | linux-55a66d3c1e57f7e3e554d6ec8011e840f3802f20.tar.xz |
[SCSI] fcoe, libfc: adds enable/disable for fcoe interface
This is to allow fcoemon util to enable or disable a fcoe interface
according to DCB link state change.
Adds sysfs module param enable and disable for this and also
updates existing other module param description to be consistent
and more accurate since older description had double "fcoe" word
with less meaningful netdev reference to user space.
Adds code to ignore redundant fc_lport_enter_reset handling for a
already disabled fcoe interface by checking LPORT_ST_DISABLED
or LPORT_ST_LOGO states, this also prevents lport state transition
on link flap on a disabled interface.
Above changes required lport state transition to get out of
disabled or logo state on call to fc_fabric_login.
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions