Commit 3ded29ac authored by Anish Bhatt's avatar Anish Bhatt Committed by David S. Miller

cxgb4/iw_cxgb4: Move common defines to cxgb4

This define is used by cxgb4i and iw_cxgb4, moving to avoid code duplication
Signed-off-by: default avatarAnish Bhatt <anish@chelsio.com>
Acked-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92abf750
...@@ -849,6 +849,5 @@ enum { /* TCP congestion control algorithms */ ...@@ -849,6 +849,5 @@ enum { /* TCP congestion control algorithms */
#define G_CONG_CNTRL(x) (((x) >> S_CONG_CNTRL) & M_CONG_CNTRL) #define G_CONG_CNTRL(x) (((x) >> S_CONG_CNTRL) & M_CONG_CNTRL)
#define CONG_CNTRL_VALID (1 << 18) #define CONG_CNTRL_VALID (1 << 18)
#define T5_OPT_2_VALID (1 << 31)
#endif /* _T4FW_RI_API_H_ */ #endif /* _T4FW_RI_API_H_ */
...@@ -276,6 +276,7 @@ struct cpl_pass_accept_rpl { ...@@ -276,6 +276,7 @@ struct cpl_pass_accept_rpl {
#define WND_SCALE_EN(x) ((x) << 28) #define WND_SCALE_EN(x) ((x) << 28)
#define TSTAMPS_EN(x) ((x) << 29) #define TSTAMPS_EN(x) ((x) << 29)
#define SACK_EN(x) ((x) << 30) #define SACK_EN(x) ((x) << 30)
#define T5_OPT_2_VALID ((1U) << 31)
__be64 opt0; __be64 opt0;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment