net: ena: Implement XDP_TX action
authorSameeh Jubran <sameehj@amazon.com>
Tue, 10 Dec 2019 13:12:13 +0000 (15:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Dec 2019 01:14:01 +0000 (17:14 -0800)
commit548c4940b9f1f527f81509468dd60b61418880b6
tree2bdbe410494935cc6be9b5b72ca2eaaf939cda7b
parent838c93dc5449e5d6378bae117b0a65a122cf7361
net: ena: Implement XDP_TX action

This commit implements the XDP_TX action in the ena driver. We allocate
separate tx queues for the XDP_TX. We currently allow xdp only when
there is enough queues to allocate for xdp.

Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_ethtool.c
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h