cxgb4, iw_cxgb4: move delayed ack macro definitions
move delayed ack macro definitions to common header file t4_msg.h. Signed-off-by: Varun Prakash <varun@chelsio.com> Acked-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
a8d9380c6a
commit
cb6a8ff070
|
@ -753,13 +753,4 @@ struct fw_ri_wr {
|
|||
#define FW_RI_WR_P2PTYPE_G(x) \
|
||||
(((x) >> FW_RI_WR_P2PTYPE_S) & FW_RI_WR_P2PTYPE_M)
|
||||
|
||||
#define RX_DACK_MODE_S 29
|
||||
#define RX_DACK_MODE_M 0x3
|
||||
#define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S)
|
||||
#define RX_DACK_MODE_G(x) (((x) >> RX_DACK_MODE_S) & RX_DACK_MODE_M)
|
||||
|
||||
#define RX_DACK_CHANGE_S 31
|
||||
#define RX_DACK_CHANGE_V(x) ((x) << RX_DACK_CHANGE_S)
|
||||
#define RX_DACK_CHANGE_F RX_DACK_CHANGE_V(1U)
|
||||
|
||||
#endif /* _T4FW_RI_API_H_ */
|
||||
|
|
|
@ -1040,6 +1040,15 @@ struct cpl_rx_data_ack {
|
|||
#define RX_FORCE_ACK_V(x) ((x) << RX_FORCE_ACK_S)
|
||||
#define RX_FORCE_ACK_F RX_FORCE_ACK_V(1U)
|
||||
|
||||
#define RX_DACK_MODE_S 29
|
||||
#define RX_DACK_MODE_M 0x3
|
||||
#define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S)
|
||||
#define RX_DACK_MODE_G(x) (((x) >> RX_DACK_MODE_S) & RX_DACK_MODE_M)
|
||||
|
||||
#define RX_DACK_CHANGE_S 31
|
||||
#define RX_DACK_CHANGE_V(x) ((x) << RX_DACK_CHANGE_S)
|
||||
#define RX_DACK_CHANGE_F RX_DACK_CHANGE_V(1U)
|
||||
|
||||
struct cpl_rx_pkt {
|
||||
struct rss_header rsshdr;
|
||||
u8 opcode;
|
||||
|
|
Loading…
Reference in New Issue