]> asedeno.scripts.mit.edu Git - linux.git/commit
cxgb4: Add support for FW_ETH_TX_PKT_VM_WR
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 26 Jun 2018 11:40:25 +0000 (17:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2018 14:47:17 +0000 (23:47 +0900)
commitd5fbda61ac923e0adb89fd59fdf4a1d99406b86e
tree00a8a0bbce867e85d1655db13b2c9fc87cd6ee47
parentb0e9a2fe3ff971950833bc0ffc383babd9443bc4
cxgb4: Add support for FW_ETH_TX_PKT_VM_WR

The present TX workrequest(FW_ETH_TX_PKT_WR) cant be used for
host->vf communication, since it doesn't loopback the outgoing
packets to virtual interfaces on the same port. This can be done
using FW_ETH_TX_PKT_VM_WR.
This fix depends on ethtool_flags to determine what WR to use for
TX path. Support for setting this flags by user is added in next
commit.

Based on the original work by : Casey Leedom <leedom@chelsio.com>

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c