mbox series

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

Message ID 20240930210731.1629-1-jdamato@fastly.com (mailing list archive)
Headers show
Series gve: Link IRQs, queues, and NAPI instances | expand

Message

Joe Damato Sept. 30, 2024, 9:07 p.m. UTC
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(+)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 4, 2024, 12:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 30 Sep 2024 21:07:06 +0000 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] gve: Map IRQs to NAPI instances
    https://git.kernel.org/netdev/net-next/c/3017238b60d3
  - [net-next,v2,2/2] gve: Map NAPI instances to queues
    https://git.kernel.org/netdev/net-next/c/021f9e671e4a

You are awesome, thank you!