Commit a2b81b35 authored by Anish Bhatt's avatar Anish Bhatt Committed by David S. Miller

cxgb4i : Move stray CPL definitions to cxgb4 driver

These belong to the t4 msg header, will ensure there is no accidental code
duplication in the future
Signed-off-by: default avatarAnish Bhatt <anish@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ae344c9
...@@ -75,6 +75,7 @@ enum { ...@@ -75,6 +75,7 @@ enum {
CPL_RX_DATA_DDP = 0x42, CPL_RX_DATA_DDP = 0x42,
CPL_PASS_ACCEPT_REQ = 0x44, CPL_PASS_ACCEPT_REQ = 0x44,
CPL_TRACE_PKT_T5 = 0x48, CPL_TRACE_PKT_T5 = 0x48,
CPL_RX_ISCSI_DDP = 0x49,
CPL_RDMA_READ_REQ = 0x60, CPL_RDMA_READ_REQ = 0x60,
...@@ -86,6 +87,7 @@ enum { ...@@ -86,6 +87,7 @@ enum {
CPL_SGE_EGR_UPDATE = 0xA5, CPL_SGE_EGR_UPDATE = 0xA5,
CPL_TRACE_PKT = 0xB0, CPL_TRACE_PKT = 0xB0,
CPL_ISCSI_DATA = 0xB2,
CPL_FW4_MSG = 0xC0, CPL_FW4_MSG = 0xC0,
CPL_FW4_PLD = 0xC1, CPL_FW4_PLD = 0xC1,
......
...@@ -1384,8 +1384,6 @@ static int init_act_open(struct cxgbi_sock *csk) ...@@ -1384,8 +1384,6 @@ static int init_act_open(struct cxgbi_sock *csk)
return -EINVAL; return -EINVAL;
} }
#define CPL_ISCSI_DATA 0xB2
#define CPL_RX_ISCSI_DDP 0x49
cxgb4i_cplhandler_func cxgb4i_cplhandlers[NUM_CPL_CMDS] = { cxgb4i_cplhandler_func cxgb4i_cplhandlers[NUM_CPL_CMDS] = {
[CPL_ACT_ESTABLISH] = do_act_establish, [CPL_ACT_ESTABLISH] = do_act_establish,
[CPL_ACT_OPEN_RPL] = do_act_open_rpl, [CPL_ACT_OPEN_RPL] = do_act_open_rpl,
......
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