cxgb4, iw_cxgb4, cxgb4i: remove duplicate definitions
move struct ulptx_idata definition 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
a84f0e1379
commit
40c466358f
|
@ -753,15 +753,6 @@ struct fw_ri_wr {
|
|||
#define FW_RI_WR_P2PTYPE_G(x) \
|
||||
(((x) >> FW_RI_WR_P2PTYPE_S) & FW_RI_WR_P2PTYPE_M)
|
||||
|
||||
struct ulptx_idata {
|
||||
__be32 cmd_more;
|
||||
__be32 len;
|
||||
};
|
||||
|
||||
#define ULPTX_NSGE_S 0
|
||||
#define ULPTX_NSGE_M 0xFFFF
|
||||
#define ULPTX_NSGE_V(x) ((x) << ULPTX_NSGE_S)
|
||||
|
||||
#define RX_DACK_MODE_S 29
|
||||
#define RX_DACK_MODE_M 0x3
|
||||
#define RX_DACK_MODE_V(x) ((x) << RX_DACK_MODE_S)
|
||||
|
|
|
@ -1222,6 +1222,11 @@ struct ulptx_sgl {
|
|||
struct ulptx_sge_pair sge[0];
|
||||
};
|
||||
|
||||
struct ulptx_idata {
|
||||
__be32 cmd_more;
|
||||
__be32 len;
|
||||
};
|
||||
|
||||
#define ULPTX_NSGE_S 0
|
||||
#define ULPTX_NSGE_V(x) ((x) << ULPTX_NSGE_S)
|
||||
|
||||
|
|
|
@ -25,11 +25,6 @@
|
|||
|
||||
#define T5_ISS_VALID (1 << 18)
|
||||
|
||||
struct ulptx_idata {
|
||||
__be32 cmd_more;
|
||||
__be32 len;
|
||||
};
|
||||
|
||||
struct cpl_rx_data_ddp {
|
||||
union opcode_tid ot;
|
||||
__be16 urg;
|
||||
|
|
Loading…
Reference in New Issue