mbox series

[V4,net-next,0/4] Enhance current features in ena driver

Message ID 20200910130713.26074-1-sameehj@amazon.com
Headers show
Series Enhance current features in ena driver | expand

Message

Jubran, Samih Sept. 10, 2020, 1:07 p.m. UTC
From: Sameeh Jubran <sameehj@amazon.com>

This series adds the following:
* Exposes new device stats using ethtool.
* Adds and exposes the stats of xdp TX queues through ethtool.

V3: Fix indentation in patches #3 and #4
V2: Drop the need for casting stat_offset
V1: Use unsigned long for pointer math instead of uintptr_t

Sameeh Jubran (4):
  net: ena: ethtool: convert stat_offset to 64 bit resolution
  net: ena: ethtool: Add new device statistics
  net: ena: ethtool: add stats printing to XDP queues
  net: ena: xdp: add queue counters for xdp actions

 drivers/net/ethernet/amazon/ena/ena_admin_defs.h |  37 ++++-
 drivers/net/ethernet/amazon/ena/ena_com.c        |  19 ++-
 drivers/net/ethernet/amazon/ena/ena_com.h        |   9 ++
 drivers/net/ethernet/amazon/ena/ena_ethtool.c    | 170 +++++++++++++++++------
 drivers/net/ethernet/amazon/ena/ena_netdev.c     |  39 +++++-
 drivers/net/ethernet/amazon/ena/ena_netdev.h     |   9 ++
 6 files changed, 232 insertions(+), 51 deletions(-)

Comments

David Miller Sept. 10, 2020, 10:12 p.m. UTC | #1
From: <sameehj@amazon.com>
Date: Thu, 10 Sep 2020 13:07:09 +0000

> From: Sameeh Jubran <sameehj@amazon.com>
> 
> This series adds the following:
> * Exposes new device stats using ethtool.
> * Adds and exposes the stats of xdp TX queues through ethtool.
> 
> V3: Fix indentation in patches #3 and #4
> V2: Drop the need for casting stat_offset
> V1: Use unsigned long for pointer math instead of uintptr_t

Series applied, thank you.