diff options
author | Vipul Pandya <vipul@chelsio.com> | 2012-12-10 13:30:56 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-12-20 11:03:12 +0400 |
commit | 793dad94e7455c113e391bd3d418c7b95a4c2687 (patch) | |
tree | c5352be56d70a9ac46b81da71fb6c8c0e06a2566 /drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |
parent | 1cab775c3e75f1250c965feafd061d696df36e53 (diff) | |
download | linux-793dad94e7455c113e391bd3d418c7b95a4c2687.tar.xz |
RDMA/cxgb4: Fix bug for active and passive LE hash collision path
Retries active opens for INUSE errors.
Logs any active ofld_connect_wr error replies.
Sends ofld_connect_wr on same ctrlq. It needs to go on the same control txq as
regular CPL active/passive messages.
Retries on active open replies with EADDRINUSE.
Uses active open fw wr only if active filter region is set.
Adds stat for ofld_connect_wr failures.
This patch also adds debugfs file to show endpoints.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_regs.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h index a2c29f7b7aa1..83ec5f7844ac 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h @@ -1098,5 +1098,7 @@ #define A_TP_TX_SCHED_PCMD 0x25 #define S_PORT 1 +#define V_PORT(x) ((x) << S_PORT) +#define F_PORT V_PORT(1U) #endif /* __T4_REGS_H */ |