Skip to content

i40e: stat counter updates and additions

Joe Damato intel-wired-lan 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v15 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i40e: Remove rx page reuse double count.drivers/net/ethernet/intel/i40e/i40e_txrx.c+0 -21 reply
2/5i40e: Aggregate and export RX page reuse stat.drivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_main.c+6 -11 reply
3/5i40e: Add a stat tracking new RX page allocations.drivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_main.c +2 more+9 -11 reply
4/5i40e: Add a stat for tracking pages waived.drivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_main.c +2 more+17 -41 reply
5/5i40e: Add a stat for tracking busy rx pages.drivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_main.c +2 more+15 -51 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchDave Switzer
1/5T-b
2/5T-b
3/5T-b
4/5T-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Intel-wired-lan] [net-queue, v2, 0/5] i40e: stat counter updates and additions

Greetings:

This patch set makes several updates to the i40e driver stats collection and reporting code to help users of i40e get a better sense of how the driver is performing and interacting with the rest of the kernel.

These patches include some new stats (like waived and busy) which were inspired by other drivers that track stats using the same nomenclature.

The new stats and an existing stat, rx_reuse, are now accessible with ethtool to make harvesting this data more convenient for users.

These patches apply cleanly to the net-queue/devqueue branch.

---
v1 -> v2: patch 3/5: - "rx_reuse" corrected to "rx_alloc".
- Unnecessary else clause in i40e_alloc_mapped_page removed.
---

Joe Damato (5):
i40e: Remove rx page reuse double count.
i40e: Aggregate and export RX page reuse stat.
i40e: Add a stat tracking new RX page allocations.
i40e: Add a stat for tracking pages waived.
i40e: Add a stat for tracking busy rx pages.

 drivers/net/ethernet/intel/i40e/i40e.h         |  4 ++++
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c |  4 ++++
 drivers/net/ethernet/intel/i40e/i40e_main.c    | 14 +++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_txrx.c    | 25 ++++++++++++++++++-------
 drivers/net/ethernet/intel/i40e/i40e_txrx.h    |  3 +++
 5 files changed, 42 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4