netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [next-queue 0/3] i40e: Add an i40e_napi_poll tracepoint
@ 2022-10-05  8:31 Joe Damato
  2022-10-05  8:31 ` [next-queue 1/3] i40e: Store the irq number in i40e_q_vector Joe Damato
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Joe Damato @ 2022-10-05  8:31 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, kuba, davem, anthony.l.nguyen, jesse.brandeburg,
	Joe Damato

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-10-06 13:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05  8:31 [next-queue 0/3] i40e: Add an i40e_napi_poll tracepoint Joe Damato
2022-10-05  8:31 ` [next-queue 1/3] i40e: Store the irq number in i40e_q_vector Joe Damato
2022-10-05 10:29   ` Maciej Fijalkowski
2022-10-05 17:00     ` Joe Damato
2022-10-05 18:25       ` Jesse Brandeburg
2022-10-05 18:40         ` Joe Damato
2022-10-05 19:37           ` Jesse Brandeburg
2022-10-06 13:06             ` Maciej Fijalkowski
2022-10-05  8:31 ` [next-queue 2/3] i40e: i40e_clean_tx_irq returns work done Joe Damato
2022-10-05  8:45   ` [Intel-wired-lan] " Paul Menzel
2022-10-05 10:46   ` Maciej Fijalkowski
2022-10-05 17:50     ` Joe Damato
2022-10-05 18:33       ` Jesse Brandeburg
2022-10-05 18:47         ` Joe Damato
2022-10-05  8:31 ` [next-queue 3/3] i40e: Add i40e_napi_poll tracepoint Joe Damato
2022-10-05 10:27   ` Maciej Fijalkowski
2022-10-05 17:56     ` Joe Damato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).