]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'ena-link-irqs-queues-and-napi-instances'
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Oct 2024 23:13:49 +0000 (16:13 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Oct 2024 23:13:49 +0000 (16:13 -0700)
commit35d8471e242d93ae5ef76580df2ebb92ce35e144
tree5561a3d8f98172b22f6089a48440853d92e5a625
parentd07dceb91acc6b461c79723e3c90453e51bb501c
parent888634377f8effebdea671d7c32a8edd1fce021b
Merge branch 'ena-link-irqs-queues-and-napi-instances'

Joe Damato says:

====================
ena: Link IRQs, queues, and NAPI instances

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.

v1: https://lore.kernel.org/all/20240930195617.37369-1-jdamato@fastly.com/
====================

Link: https://patch.msgid.link/20241002001331.65444-1-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>