summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2010-06-23 15:46:49 +0000
committerRoland Dreier <rolandd@cisco.com>2010-07-21 10:53:52 -0700
commitba6d39256bed87a0e8ee1770b5f7638bb3e0cfe4 (patch)
tree5cf7c80ff6a363a08763c1e03526355535a2efe0 /drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
parent85963e4cbcf11c00b1d27ea0e0fcab8cb3d7a69b (diff)
downloadlinux-ba6d39256bed87a0e8ee1770b5f7638bb3e0cfe4.tar.gz
linux-ba6d39256bed87a0e8ee1770b5f7638bb3e0cfe4.tar.bz2
linux-ba6d39256bed87a0e8ee1770b5f7638bb3e0cfe4.zip
RDMA/cxgb4: Add module option to tweak delayed ack
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/t4fw_ri_api.h')
-rw-r--r--drivers/infiniband/hw/cxgb4/t4fw_ri_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
index fc706bd07fae..dc193c292671 100644
--- a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
+++ b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
@@ -826,4 +826,14 @@ struct ulptx_idata {
#define S_ULPTX_NSGE 0
#define M_ULPTX_NSGE 0xFFFF
#define V_ULPTX_NSGE(x) ((x) << S_ULPTX_NSGE)
+
+#define S_RX_DACK_MODE 29
+#define M_RX_DACK_MODE 0x3
+#define V_RX_DACK_MODE(x) ((x) << S_RX_DACK_MODE)
+#define G_RX_DACK_MODE(x) (((x) >> S_RX_DACK_MODE) & M_RX_DACK_MODE)
+
+#define S_RX_DACK_CHANGE 31
+#define V_RX_DACK_CHANGE(x) ((x) << S_RX_DACK_CHANGE)
+#define F_RX_DACK_CHANGE V_RX_DACK_CHANGE(1U)
+
#endif /* _T4FW_RI_API_H_ */