summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dtc.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-10-21 16:27:52 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:00:32 -0600
commit7221d7e59d1c675828b6de50b757cd8282011a5d (patch)
tree2de8290538954a973c33db0c8887aa1c44137993 /drivers/scsi/dtc.h
parent8eca355fa8af660557fbdd5506bde1392eee9bfe (diff)
downloadblackbird-op-linux-7221d7e59d1c675828b6de50b757cd8282011a5d.tar.gz
blackbird-op-linux-7221d7e59d1c675828b6de50b757cd8282011a5d.zip
[SCSI] fcoe: Use NETIF_F_FCOE_MTU flag to set up max frame size (lport->mfs)
Add a define of FCOE_MTU as 2158 bytes and use FCOE_MTU when the LLD is found to support NETIF_F_FCOE_MTU. The lport->mfs is then calculated out of the 2158 FCOE_MTU. Otherwise, we stick with the netdev->mtu, i.e., LAN MTU. Also, change the notification on NETDEV_CHANGEMTU event to bypass changing mfs when LAN MTU is changed if NETIF_F_FCOE_MTU is supported. 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>
Diffstat (limited to 'drivers/scsi/dtc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud