[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240410043936.206169-1-jdamato@fastly.com>
Date: Wed, 10 Apr 2024 04:39:33 +0000
From: Joe Damato <jdamato@...tly.com>
To: linux-kernel@...r.kernel.org,
netdev@...r.kernel.org,
intel-wired-lan@...ts.osuosl.org
Cc: sridhar.samudrala@...el.com,
amritha.nambiar@...el.com,
nalramli@...tly.com,
Joe Damato <jdamato@...tly.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Paolo Abeni <pabeni@...hat.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>
Subject: [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(+)
--
2.25.1
Powered by blists - more mailing lists