]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] fcoe, libfc: check offload features from LLD through netdev
authorYi Zou <yi.zou@intel.com>
Fri, 27 Feb 2009 22:07:04 +0000 (14:07 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 13 Mar 2009 20:13:48 +0000 (15:13 -0500)
commitea1e9a9df5e1fde7ad8878c85b4a097cad0ddcea
tree5594c002619125f8976c7d3dacdd6791db497d2e
parent4d288d5767f853bfca25adc7b6030dc95518cb2e
[SCSI] fcoe, libfc: check offload features from LLD through netdev

This checks if net_devices supports FCoE offload ops in netdev_ops and it
if it does, then sets up the corresponding flags in the associated fc_lport.

For large send offload, the maximum length supported in one large send is now
described by the added lso_max in fc_lport, which is setup initially from
netdev->gso_max_size.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/fcoe_sw.c
include/scsi/libfc.h