diff options
author | Vipul Pandya <vipul@chelsio.com> | 2012-12-10 04:30:54 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-12-20 02:02:43 -0500 |
commit | 5be78ee924ae8fb2b4a5b8d012a7d003849337ee (patch) | |
tree | f1ca2268c5e752401e5cac097460c4fa19b0fa0c /drivers/scsi | |
parent | dca4faeb812f665dab0607d8e0660ae564387186 (diff) |
RDMA/cxgb4: Fix LE hash collision bug for active open connection
It enables establishing active open connection using fw_ofld_connection work
request when cpl_act_open_rpl says TCAM full error which may be because
of LE hash collision. Current support is only for IPv4 active open connections.
Sets ntuple bits in active open requests. For T4 firmware greater than 1.4.10.0
ntuple bits are required to be set.
Adds nocong and enable_ecn module parameter options.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
[ Move all FW return values to t4fw_api.h. - Roland ]
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/csiostor/t4fw_api_stor.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/drivers/scsi/csiostor/t4fw_api_stor.h b/drivers/scsi/csiostor/t4fw_api_stor.h index 1223e0d5fc07..097e52c0f8e1 100644 --- a/drivers/scsi/csiostor/t4fw_api_stor.h +++ b/drivers/scsi/csiostor/t4fw_api_stor.h | |||
@@ -40,45 +40,6 @@ | |||
40 | * R E T U R N V A L U E S | 40 | * R E T U R N V A L U E S |
41 | ********************************/ | 41 | ********************************/ |
42 | 42 | ||
43 | enum fw_retval { | ||
44 | FW_SUCCESS = 0, /* completed sucessfully */ | ||
45 | FW_EPERM = 1, /* operation not permitted */ | ||
46 | FW_ENOENT = 2, /* no such file or directory */ | ||
47 | FW_EIO = 5, /* input/output error; hw bad */ | ||
48 | FW_ENOEXEC = 8, /* exec format error; inv microcode */ | ||
49 | FW_EAGAIN = 11, /* try again */ | ||
50 | FW_ENOMEM = 12, /* out of memory */ | ||
51 | FW_EFAULT = 14, /* bad address; fw bad */ | ||
52 | FW_EBUSY = 16, /* resource busy */ | ||
53 | FW_EEXIST = 17, /* file exists */ | ||
54 | FW_EINVAL = 22, /* invalid argument */ | ||
55 | FW_ENOSPC = 28, /* no space left on device */ | ||
56 | FW_ENOSYS = 38, /* functionality not implemented */ | ||
57 | FW_EPROTO = 71, /* protocol error */ | ||
58 | FW_EADDRINUSE = 98, /* address already in use */ | ||
59 | FW_EADDRNOTAVAIL = 99, /* cannot assigned requested address */ | ||
60 | FW_ENETDOWN = 100, /* network is down */ | ||
61 | FW_ENETUNREACH = 101, /* network is unreachable */ | ||
62 | FW_ENOBUFS = 105, /* no buffer space available */ | ||
63 | FW_ETIMEDOUT = 110, /* timeout */ | ||
64 | FW_EINPROGRESS = 115, /* fw internal */ | ||
65 | FW_SCSI_ABORT_REQUESTED = 128, /* */ | ||
66 | FW_SCSI_ABORT_TIMEDOUT = 129, /* */ | ||
67 | FW_SCSI_ABORTED = 130, /* */ | ||
68 | FW_SCSI_CLOSE_REQUESTED = 131, /* */ | ||
69 | FW_ERR_LINK_DOWN = 132, /* */ | ||
70 | FW_RDEV_NOT_READY = 133, /* */ | ||
71 | FW_ERR_RDEV_LOST = 134, /* */ | ||
72 | FW_ERR_RDEV_LOGO = 135, /* */ | ||
73 | FW_FCOE_NO_XCHG = 136, /* */ | ||
74 | FW_SCSI_RSP_ERR = 137, /* */ | ||
75 | FW_ERR_RDEV_IMPL_LOGO = 138, /* */ | ||
76 | FW_SCSI_UNDER_FLOW_ERR = 139, /* */ | ||
77 | FW_SCSI_OVER_FLOW_ERR = 140, /* */ | ||
78 | FW_SCSI_DDP_ERR = 141, /* DDP error*/ | ||
79 | FW_SCSI_TASK_ERR = 142, /* No SCSI tasks available */ | ||
80 | }; | ||
81 | |||
82 | enum fw_fcoe_link_sub_op { | 43 | enum fw_fcoe_link_sub_op { |
83 | FCOE_LINK_DOWN = 0x0, | 44 | FCOE_LINK_DOWN = 0x0, |
84 | FCOE_LINK_UP = 0x1, | 45 | FCOE_LINK_UP = 0x1, |