mbox series

[intel-next,0/2] i40e: Add support for netlink API

Message ID 20240410043936.206169-1-jdamato@fastly.com
Headers show
Series i40e: Add support for netlink API | expand

Message

Joe Damato April 10, 2024, 4:39 a.m. UTC
Greetings:

This change adds support for the new netlink APIs to i40e which:
  - link queues, NAPI IDs, and IRQs together
  - export per-queue stats

This change is inspired by a similar change made to the ice driver commit
91fdbce7e8d6 ("ice: Add support in the driver for associating queue with
napi").

I attempted to replicate the rtnl locking added to the ice driver in commit
080b0c8d6d26 ("ice: Fix ASSERT_RTNL() warning during certain scenarios") in
patch 1/1, but there's certainly a good chance I missed a case; so I'd
kindly ask reviewers to take a close look at, please.

Thanks,
Joe

Joe Damato (2):
  net/i40e: link NAPI instances to queues and IRQs
  net/i40e: add support for per queue netlink stats

 drivers/net/ethernet/intel/i40e/i40e.h      |   2 +
 drivers/net/ethernet/intel/i40e/i40e_main.c | 160 ++++++++++++++++++++
 drivers/net/ethernet/intel/i40e/i40e_txrx.c |   4 +
 3 files changed, 166 insertions(+)