cxgb4/iw_cxgb4: Move common defines to cxgb4
authorAnish Bhatt <anish@chelsio.com>
Thu, 17 Jul 2014 07:18:15 +0000 (00:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:06:03 +0000 (16:06 -0700)
This define is used by cxgb4i and iw_cxgb4, moving to avoid code duplication

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h

index 91289a051af928c7ffb04bfb7ac2ee8c342be7fe..5709e77faf7cb9d94a5d4e60f7f9af3d8b6efddb 100644 (file)
@@ -849,6 +849,5 @@ enum {                     /* TCP congestion control algorithms */
 #define G_CONG_CNTRL(x) (((x) >> S_CONG_CNTRL) & M_CONG_CNTRL)
 
 #define CONG_CNTRL_VALID   (1 << 18)
-#define T5_OPT_2_VALID       (1 << 31)
 
 #endif /* _T4FW_RI_API_H_ */
index abb45809c0c81fb980e819aa0d95da3f929a46bc..64006327df83d737f0a3820e7538431320dff477 100644 (file)
@@ -276,6 +276,7 @@ struct cpl_pass_accept_rpl {
 #define WND_SCALE_EN(x)      ((x) << 28)
 #define TSTAMPS_EN(x)        ((x) << 29)
 #define SACK_EN(x)           ((x) << 30)
+#define T5_OPT_2_VALID      ((1U) << 31)
        __be64 opt0;
 };