Skip to content

i40e: Add support for netlink API

Joe Damato intel-wired-lan lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/i40e: link NAPI instances to queues and IRQsdrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_main.c drivers/net/ethernet/intel/i40e/i40e_txrx.c+64 -06 replies
2/2net/i40e: add support for per queue netlink statsdrivers/net/ethernet/intel/i40e/i40e_main.c+102 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(+)
Signature · 1 line
2.25.1