aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2010-07-20 15:19:42 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 09:05:49 -0500
commitf90377abcab2e305450ee76a0f9042907560c5d8 (patch)
tree6ed2f707f8c15162bcca4a7f44a3a97ba09172ad /include/scsi
parent42e9041467cf5fd33501b91b27e26807c259c896 (diff)
downloadmrst-s0i3-test-f90377abcab2e305450ee76a0f9042907560c5d8.tar.gz
mrst-s0i3-test-f90377abcab2e305450ee76a0f9042907560c5d8.tar.xz
mrst-s0i3-test-f90377abcab2e305450ee76a0f9042907560c5d8.zip
[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index b0310b9b346..fcbee8c38b0 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -799,6 +799,7 @@ struct fc_disc {
* @mfs: The maximum Fibre Channel payload size
* @max_retry_count: The maximum retry attempts
* @max_rport_retry_count: The maximum remote port retry attempts
+ * @rport_priv_size: Size needed by driver after struct fc_rport_priv
* @lro_xid: The maximum XID for LRO
* @lso_max: The maximum large offload send size
* @fcts: FC-4 type mask
@@ -848,6 +849,7 @@ struct fc_lport {
u32 mfs;
u8 max_retry_count;
u8 max_rport_retry_count;
+ u16 rport_priv_size;
u16 link_speed;
u16 link_supported_speeds;
u16 lro_xid;