Skip to content

RFC gve: Link IRQs, queues, and NAPI instances

Joe Damato lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gve: Map IRQs to NAPI instancesdrivers/net/ethernet/google/gve/gve_utils.c+1 -02 replies
2/2gve: Map NAPI instances to queuesdrivers/net/ethernet/google/gve/gve_main.c+12 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC net-next 0/2] gve: Link IRQs, queues, and NAPI instances

Greetings:

This RFC 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.

I hope to send this next week when net-next reopens as an official submission, but wanted to send an RFC now in case there were any changes requested from the GVE maintainers.

Thanks,
Joe

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

 drivers/net/ethernet/google/gve/gve_main.c  | 12 ++++++++++++
 drivers/net/ethernet/google/gve/gve_utils.c |  1 +
 2 files changed, 13 insertions(+)
Signature · 1 line
2.43.0