aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-02-27 17:07:04 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-13 16:13:48 -0400
commitea1e9a9df5e1fde7ad8878c85b4a097cad0ddcea (patch)
tree5594c002619125f8976c7d3dacdd6791db497d2e /include/scsi
parent4d288d5767f853bfca25adc7b6030dc95518cb2e (diff)
[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>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index a2e126b86e3..61c746cf55f 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -654,6 +654,7 @@ struct fc_lport {
654 u16 link_speed; 654 u16 link_speed;
655 u16 link_supported_speeds; 655 u16 link_supported_speeds;
656 u16 lro_xid; /* max xid for fcoe lro */ 656 u16 lro_xid; /* max xid for fcoe lro */
657 unsigned int lso_max; /* max large send size */
657 struct fc_ns_fts fcts; /* FC-4 type masks */ 658 struct fc_ns_fts fcts; /* FC-4 type masks */
658 struct fc_els_rnid_gen rnid_gen; /* RNID information */ 659 struct fc_els_rnid_gen rnid_gen; /* RNID information */
659 660