Commit 76c144bd authored by Varun Prakash's avatar Varun Prakash Committed by Nicholas Bellinger

cxgb4, cxgb4i: move struct cpl_rx_data_ddp definition

move struct cpl_rx_data_ddp definition to
common header file t4_msg.h.
Signed-off-by: default avatarVarun Prakash <varun@chelsio.com>
Acked-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 40c46635
...@@ -899,6 +899,21 @@ struct cpl_iscsi_hdr { ...@@ -899,6 +899,21 @@ struct cpl_iscsi_hdr {
#define ISCSI_DDP_V(x) ((x) << ISCSI_DDP_S) #define ISCSI_DDP_V(x) ((x) << ISCSI_DDP_S)
#define ISCSI_DDP_F ISCSI_DDP_V(1U) #define ISCSI_DDP_F ISCSI_DDP_V(1U)
struct cpl_rx_data_ddp {
union opcode_tid ot;
__be16 urg;
__be16 len;
__be32 seq;
union {
__be32 nxt_seq;
__be32 ddp_report;
};
__be32 ulp_crc;
__be32 ddpvld;
};
#define cpl_rx_iscsi_ddp cpl_rx_data_ddp
struct cpl_rx_data { struct cpl_rx_data {
union opcode_tid ot; union opcode_tid ot;
__be16 rsvd; __be16 rsvd;
......
...@@ -25,16 +25,4 @@ ...@@ -25,16 +25,4 @@
#define T5_ISS_VALID (1 << 18) #define T5_ISS_VALID (1 << 18)
struct cpl_rx_data_ddp {
union opcode_tid ot;
__be16 urg;
__be16 len;
__be32 seq;
union {
__be32 nxt_seq;
__be32 ddp_report;
};
__be32 ulp_crc;
__be32 ddpvld;
};
#endif /* __CXGB4I_H__ */ #endif /* __CXGB4I_H__ */
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