netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/2] ena: Link IRQs, queues, and NAPI instances
@ 2024-09-30 19:56 Joe Damato
  2024-09-30 19:56 ` [net-next 1/2] ena: Link IRQs to " Joe Damato
  2024-09-30 19:56 ` [net-next 2/2] ena: Link queues to NAPIs Joe Damato
  0 siblings, 2 replies; 9+ messages in thread
From: Joe Damato @ 2024-09-30 19:56 UTC (permalink / raw)
  To: netdev
  Cc: Joe Damato, Arthur Kiyanovski, David Arinzon, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Kamal Heib, open list, Noam Dagan,
	Paolo Abeni, Saeed Bishara, Shay Agroskin

Greetings:

This series uses the netdev-genl API to link IRQs and queues to NAPI IDs
so that this information is queryable by user apps. This is particularly
useful for epoll-based busy polling apps which rely on having access to
the NAPI ID.

I've tested these commits on an EC2 instance with an ENA NIC configured
and have included test output in the commit messages for each patch
showing how to query the information.

I noted in the implementation that the driver requests an IRQ for
management purposes which does not have an associated NAPI. I tried to
take this into account in patch 1, but would appreciate if ENA
maintainers can verify I did this correctly.

Thanks,
Joe

Joe Damato (2):
  ena: Link IRQs to NAPI instances
  ena: Link queues to NAPIs

 drivers/net/ethernet/amazon/ena/ena_netdev.c | 38 +++++++++++++++++---
 1 file changed, 33 insertions(+), 5 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-01 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 19:56 [net-next 0/2] ena: Link IRQs, queues, and NAPI instances Joe Damato
2024-09-30 19:56 ` [net-next 1/2] ena: Link IRQs to " Joe Damato
2024-10-01  8:57   ` Arinzon, David
2024-10-01 16:18     ` Joe Damato
2024-09-30 19:56 ` [net-next 2/2] ena: Link queues to NAPIs Joe Damato
2024-10-01  9:06   ` Arinzon, David
2024-10-01 14:28     ` Joe Damato
2024-10-01 15:50       ` Arinzon, David
2024-10-01 16:21         ` Joe Damato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).