Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Varun Prakash and committed by
Nicholas Bellinger
cb6a8ff0 a8d9380c

+9 -9
-9
drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
··· 753 753 #define FW_RI_WR_P2PTYPE_G(x) \ 754 754 (((x) >> FW_RI_WR_P2PTYPE_S) & FW_RI_WR_P2PTYPE_M) 755 755 756 - #define RX_DACK_MODE_S 29 757 - #define RX_DACK_MODE_M 0x3 758 - #define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S) 759 - #define RX_DACK_MODE_G(x) (((x) >> RX_DACK_MODE_S) & RX_DACK_MODE_M) 760 - 761 - #define RX_DACK_CHANGE_S 31 762 - #define RX_DACK_CHANGE_V(x) ((x) << RX_DACK_CHANGE_S) 763 - #define RX_DACK_CHANGE_F RX_DACK_CHANGE_V(1U) 764 - 765 756 #endif /* _T4FW_RI_API_H_ */
+9
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
··· 1040 1040 #define RX_FORCE_ACK_V(x) ((x) << RX_FORCE_ACK_S) 1041 1041 #define RX_FORCE_ACK_F RX_FORCE_ACK_V(1U) 1042 1042 1043 + #define RX_DACK_MODE_S 29 1044 + #define RX_DACK_MODE_M 0x3 1045 + #define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S) 1046 + #define RX_DACK_MODE_G(x) (((x) >> RX_DACK_MODE_S) & RX_DACK_MODE_M) 1047 + 1048 + #define RX_DACK_CHANGE_S 31 1049 + #define RX_DACK_CHANGE_V(x) ((x) << RX_DACK_CHANGE_S) 1050 + #define RX_DACK_CHANGE_F RX_DACK_CHANGE_V(1U) 1051 + 1043 1052 struct cpl_rx_pkt { 1044 1053 struct rss_header rsshdr; 1045 1054 u8 opcode;