summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi/libcxgbi.h
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2018-09-13 17:56:00 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-17 03:22:00 +0200
commitb5a5fe4ef7fdfd00ac3937756d5f2fbb4e4be3a1 (patch)
tree1a3b98b9fc1233e2e37d7bf20a11e56e039bc548 /drivers/scsi/cxgbi/libcxgbi.h
parentscsi: megaraid_mbox: remove set but not used variables (diff)
downloadlinux-b5a5fe4ef7fdfd00ac3937756d5f2fbb4e4be3a1.tar.xz
linux-b5a5fe4ef7fdfd00ac3937756d5f2fbb4e4be3a1.zip
scsi: cxgb4i: add DCB support for iSCSI connections
Add IEEE and CEE DCBX support for iSCSI connections. Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com> Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.h')
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.h b/drivers/scsi/cxgbi/libcxgbi.h
index dcb190e75343..5d5d8b50d842 100644
--- a/drivers/scsi/cxgbi/libcxgbi.h
+++ b/drivers/scsi/cxgbi/libcxgbi.h
@@ -120,6 +120,9 @@ struct cxgbi_sock {
int wr_max_cred;
int wr_cred;
int wr_una_cred;
+#ifdef CONFIG_CHELSIO_T4_DCB
+ u8 dcb_priority;
+#endif
unsigned char hcrc_len;
unsigned char dcrc_len;