mbox series

[next-queue,0/3] i40e: Add an i40e_napi_poll tracepoint

Message ID 1664958703-4224-1-git-send-email-jdamato@fastly.com (mailing list archive)
Headers show
Series i40e: Add an i40e_napi_poll tracepoint | expand

Message

Joe Damato Oct. 5, 2022, 8:31 a.m. UTC
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(-)