mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [net-next v2 0/2] gve: Link IRQs, queues, and NAPI instances
@ 2024-09-30 21:07 Joe Damato
  2024-09-30 21:07 ` [net-next v2 1/2] gve: Map IRQs to " Joe Damato
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joe Damato @ 2024-09-30 21:07 UTC (permalink / raw)
  To: netdev
  Cc: pkaligineedi, horms, Joe Damato, David S. Miller, Eric Dumazet,
	Harshitha Ramamurthy, Jakub Kicinski, Jeroen de Borst,
	Paolo Abeni, Shailend Chand, Willem de Bruijn, Ziwei Xiao,
	open list

Greetings:

Welcome to v2. The previous revision was an RFC [1].

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 a GCP instance with a GVE NIC configured
and have included test output in the commit messages for each patch
showing how to query the information.

Thanks,
Joe

[1]: https://lore.kernel.org/netdev/20240926030025.226221-1-jdamato@fastly.com/

v2:
  - Fixed spelling error in commit message of patch 1 suggested by Simon
    Horman
  - Fixed patch 2 to skip XDP TX queues, as suggested by Praveen
    Kaligineedi

Joe Damato (2):
  gve: Map IRQs to NAPI instances
  gve: Map NAPI instances to queues

 drivers/net/ethernet/google/gve/gve_main.c  | 17 +++++++++++++++++
 drivers/net/ethernet/google/gve/gve_utils.c |  1 +
 2 files changed, 18 insertions(+)

-- 
2.43.0


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

end of thread, other threads:[~2024-10-04  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 21:07 [net-next v2 0/2] gve: Link IRQs, queues, and NAPI instances Joe Damato
2024-09-30 21:07 ` [net-next v2 1/2] gve: Map IRQs to " Joe Damato
2024-10-01 15:38   ` Praveen Kaligineedi
2024-09-30 21:07 ` [net-next v2 2/2] gve: Map NAPI instances to queues Joe Damato
2024-10-01 15:37   ` Praveen Kaligineedi
2024-10-04  0:10 ` [net-next v2 0/2] gve: Link IRQs, queues, and NAPI instances patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®