[intel-next 0/2] i40e: Add support for netlink API
From: Joe Damato
Date: Wed Apr 10 2024 - 00:39:59 EST
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(+)
--
2.25.1