diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2010-07-20 18:19:42 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:05:49 -0400 |
commit | f90377abcab2e305450ee76a0f9042907560c5d8 (patch) | |
tree | 6ed2f707f8c15162bcca4a7f44a3a97ba09172ad /include/scsi | |
parent | 42e9041467cf5fd33501b91b27e26807c259c896 (diff) |
[SCSI] libfc: provide space for LLD after remote port structure
Add pre-zeroed space after the allocation for fc_rport_priv
for use by the lower-level driver.
This is primarily for VN2VN FIP mode, but could be used in
other ways someday.
The space required is specified in lport->rport_priv_size.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index b0310b9b3469..fcbee8c38b0c 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -799,6 +799,7 @@ struct fc_disc { | |||
799 | * @mfs: The maximum Fibre Channel payload size | 799 | * @mfs: The maximum Fibre Channel payload size |
800 | * @max_retry_count: The maximum retry attempts | 800 | * @max_retry_count: The maximum retry attempts |
801 | * @max_rport_retry_count: The maximum remote port retry attempts | 801 | * @max_rport_retry_count: The maximum remote port retry attempts |
802 | * @rport_priv_size: Size needed by driver after struct fc_rport_priv | ||
802 | * @lro_xid: The maximum XID for LRO | 803 | * @lro_xid: The maximum XID for LRO |
803 | * @lso_max: The maximum large offload send size | 804 | * @lso_max: The maximum large offload send size |
804 | * @fcts: FC-4 type mask | 805 | * @fcts: FC-4 type mask |
@@ -848,6 +849,7 @@ struct fc_lport { | |||
848 | u32 mfs; | 849 | u32 mfs; |
849 | u8 max_retry_count; | 850 | u8 max_retry_count; |
850 | u8 max_rport_retry_count; | 851 | u8 max_rport_retry_count; |
852 | u16 rport_priv_size; | ||
851 | u16 link_speed; | 853 | u16 link_speed; |
852 | u16 link_supported_speeds; | 854 | u16 link_supported_speeds; |
853 | u16 lro_xid; | 855 | u16 lro_xid; |