diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-12-17 13:45:09 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-17 15:51:04 -0500 |
commit | 9baeb9d7d8f61f7786416e4f001d738750d2aa24 (patch) | |
tree | 56cf40eb16dc9856910527dbe58f9113d6d5fd62 /drivers | |
parent | f7502659cec8f2165805e967e113c0894b931181 (diff) | |
download | linux-9baeb9d7d8f61f7786416e4f001d738750d2aa24.tar.bz2 |
cxgb4: Use t4_mgmt_tx() API for sending write l2t request ctrl packets.
Based on original work by Michael Werner <werner@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/l2t.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/l2t.c b/drivers/net/ethernet/chelsio/cxgb4/l2t.c index d1b3b3a132a4..81af78ee2d7e 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/l2t.c +++ b/drivers/net/ethernet/chelsio/cxgb4/l2t.c @@ -161,8 +161,7 @@ static int write_l2e(struct adapter *adap, struct l2t_entry *e, int sync) memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); - set_wr_txq(skb, CPL_PRIORITY_CONTROL, 0); - t4_ofld_send(adap, skb); + t4_mgmt_tx(adap, skb); if (sync && e->state != L2T_STATE_SWITCHING) e->state = L2T_STATE_SYNC_WRITE; |