[SCSI] fcoe: fix offload feature flag change from netdev
authorYi Zou <yi.zou@intel.com>
Tue, 20 Jul 2010 22:21:17 +0000 (15:21 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:06:02 +0000 (09:06 -0500)
commit54a5b21da9d4d3f58770da5d1c244db9724659ee
tree23167b4c07a6b3b1018976d45e808a624e0bce16
parent922611569572d3c1aa0ed6491d21583fb3fcca22
[SCSI] fcoe: fix offload feature flag change from netdev

Currently, when FCoE netdev feature flags are toggled by the LLD, lport's
corresponding flags are not updated. This causes the fc_fcp to still try to
offload the I/O. This patch adds support of NETDEV_FEAT_CHANGE event in fcoe
netdev device notification callback so we can update the lport offload flags
appropriately.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c