[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1664958703-4224-1-git-send-email-jdamato@fastly.com>
Date: Wed, 5 Oct 2022 01:31:40 -0700
From: Joe Damato <jdamato@...tly.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
anthony.l.nguyen@...el.com, jesse.brandeburg@...el.com,
Joe Damato <jdamato@...tly.com>
Subject: [next-queue 0/3] i40e: Add an i40e_napi_poll tracepoint
Greetings:
Debugging and tuning the NAPI and i40e NIC parameters can be a bit tricky
as there are many different options to test.
This change adds a tracepoint to i40e_napi_poll which exposes a lot of
helpful debug information for users who'd like to get a better
understanding of how their NIC is performing as they adjust various
parameters and tuning knobs.
Some tweaks to i40e to support this information are made along the way;
including a tweak to i40e_clean_tx_irq (and i40e_clean_xdp_tx_irq, etc)
which returns the actual number of packets processed.
Thanks,
Joe
Joe Damato (3):
i40e: Store the irq number in i40e_q_vector
i40e: i40e_clean_tx_irq returns work done
i40e: Add i40e_napi_poll tracepoint
drivers/net/ethernet/intel/i40e/i40e.h | 1 +
drivers/net/ethernet/intel/i40e/i40e_main.c | 1 +
drivers/net/ethernet/intel/i40e/i40e_trace.h | 50 ++++++++++++++++++++++++++++
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 27 +++++++++------
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 12 +++----
drivers/net/ethernet/intel/i40e/i40e_xsk.h | 2 +-
6 files changed, 75 insertions(+), 18 deletions(-)
--
2.7.4
Powered by blists - more mailing lists