scsi: qedf: Correct xid range overlap between offloaded requests and libfc requests
There is currently an overlap where exchange IDs between what is used for offloaded commands and by libfc for ELS commands. Correct this so that exchange ID range is: Offloaded requests: 0 to 0xfff libfc requests: 0x1000 to 0xfffe Signed-off-by: Chad Dupuis <cdupuis@marvell.com> Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
f1c4359036
commit
650ce64c9e
@@ -35,9 +35,6 @@
|
||||
#define QEDF_DESCR "QLogic FCoE Offload Driver"
|
||||
#define QEDF_MODULE_NAME "qedf"
|
||||
|
||||
#define QEDF_MIN_XID 0
|
||||
#define QEDF_MAX_SCSI_XID (NUM_TASKS_PER_CONNECTION - 1)
|
||||
#define QEDF_MAX_ELS_XID 4095
|
||||
#define QEDF_FLOGI_RETRY_CNT 3
|
||||
#define QEDF_RPORT_RETRY_CNT 255
|
||||
#define QEDF_MAX_SESSIONS 1024
|
||||
@@ -295,8 +292,6 @@ struct qedf_ctx {
|
||||
#define QEDF_DCBX_PENDING 0
|
||||
#define QEDF_DCBX_DONE 1
|
||||
atomic_t dcbx;
|
||||
uint16_t max_scsi_xid;
|
||||
uint16_t max_els_xid;
|
||||
#define QEDF_NULL_VLAN_ID -1
|
||||
#define QEDF_FALLBACK_VLAN 1002
|
||||
#define QEDF_DEFAULT_PRIO 3
|
||||
|
Reference in New Issue
Block a user