summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2016-02-14 23:04:09 +0530
committerNicholas Bellinger <nab@linux-iscsi.org>2016-03-22 00:25:04 -0700
commit40c466358fcc21b508b38e790ac39353048b112f (patch)
tree42b1c9b3e39d55d9e498afd48110cfd05a783354 /drivers/net
parenta84f0e1379d978ed736cd242e196be723fbdd604 (diff)
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/t4_msg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h b/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
index 5753bd40c39d..8cfc6a8344d8 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
@@ -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)