mbox series

[v1,net-next,00/11] ENA driver XDP changes

Message ID 20240101140724.26232-1-darinzon@amazon.com (mailing list archive)
Headers show
Series ENA driver XDP changes | expand

Message

Arinzon, David Jan. 1, 2024, 2:07 p.m. UTC
From: David Arinzon <darinzon@amazon.com>

This patchset contains multiple XDP-related changes
in the ENA driver, including moving the XDP code to
dedicated files.

David Arinzon (11):
  net: ena: Move XDP code to its new files
  net: ena: Pass ena_adapter instead of net_device to ena_xmit_common()
  net: ena: Put orthogonal fields in ena_tx_buffer in a union
  net: ena: Introduce total_tx_size field in ena_tx_buffer struct
  net: ena: Use tx_ring instead of xdp_ring for XDP channel TX
  net: ena: Don't check if XDP program is loaded in ena_xdp_execute()
  net: ena: Refactor napi functions
  net: ena: Add more debug prints to XDP related function
  net: ena: Always register RX queue info
  net: ena: Make queue stats code cleaner by removing the if block
  net: ena: Take xdp packets stats into account in ena_get_stats64()

 .../device_drivers/ethernet/amazon/ena.rst    |   1 +
 drivers/net/ethernet/amazon/ena/Makefile      |   2 +-
 drivers/net/ethernet/amazon/ena/ena_ethtool.c |  18 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c  | 689 ++----------------
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |  99 ++-
 drivers/net/ethernet/amazon/ena/ena_xdp.c     | 468 ++++++++++++
 drivers/net/ethernet/amazon/ena/ena_xdp.h     | 151 ++++
 7 files changed, 736 insertions(+), 692 deletions(-)
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_xdp.c
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_xdp.h