Re: [PATCH net-next v6 3/4] virtio-net: Map NAPIs to queues

2025-03-09 Thread Jason Wang
On Fri, Mar 7, 2025 at 9:12 AM Joe Damato wrote: > > Use netif_queue_set_napi to map NAPIs to queue IDs so that the mapping > can be accessed by user apps. Note that the netif_queue_set_napi > currently requires RTNL, so care must be taken to ensure RTNL is held on > paths where this API might be

[PATCH net-next v6 3/4] virtio-net: Map NAPIs to queues

2025-03-07 Thread Joe Damato
Use netif_queue_set_napi to map NAPIs to queue IDs so that the mapping can be accessed by user apps. Note that the netif_queue_set_napi currently requires RTNL, so care must be taken to ensure RTNL is held on paths where this API might be reached. The paths in the driver where this API can be reac