aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
diff options
context:
space:
mode:
authorHariprasad S <hariprasad@chelsio.com>2015-04-22 01:44:58 +0530
committerDoug Ledford <dledford@redhat.com>2015-05-05 09:18:01 -0400
commit0b7410471d59ce2ea30453e68c03bdb941d5951e (patch)
tree42a57cb7a5d7fa6580b697a1dc6afc775e9be459 /drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
parentRDMA/CMA: Canonize IPv4 on IPV6 sockets properly (diff)
downloadlinux-dev-0b7410471d59ce2ea30453e68c03bdb941d5951e.tar.xz
linux-dev-0b7410471d59ce2ea30453e68c03bdb941d5951e.zip
iw_cxgb4: Cleanup register defines/MACROS
Cleanup macros and register defines for consistency Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/cxgb4/t4fw_ri_api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
index 5e53327fc647..343e8daf2270 100644
--- a/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
+++ b/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
@@ -848,6 +848,8 @@ enum { /* TCP congestion control algorithms */
#define CONG_CNTRL_V(x) ((x) << CONG_CNTRL_S)
#define CONG_CNTRL_G(x) (((x) >> CONG_CNTRL_S) & CONG_CNTRL_M)
-#define CONG_CNTRL_VALID (1 << 18)
+#define T5_ISS_S 18
+#define T5_ISS_V(x) ((x) << T5_ISS_S)
+#define T5_ISS_F T5_ISS_V(1U)
#endif /* _T4FW_RI_API_H_ */