]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbb72b38ed356c5fa6e2cc802e417655c1c48bad9
tree23167b4c07a6b3b1018976d45e808a624e0bce16
parent799db3b3d13cdab9db3206dfd17352cebbcceb56
[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