Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-13 Thread Jakub Kicinski
On Mon, 13 Jan 2025 14:23:56 -0800 Joe Damato wrote: > Please CC me on that series so I can take a look and I'll adjust the > v2 of this series to avoid the locking once your series is merged. Will do! I'll send the first chunk as soon as Comcast restores the internet at my home :|

Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-13 Thread Joe Damato
On Mon, Jan 13, 2025 at 02:04:46PM -0800, Jakub Kicinski wrote: > On Mon, 13 Jan 2025 09:30:20 -0800 Joe Damato wrote: > > > > static void virtnet_napi_enable_lock(struct virtqueue *vq, > > > > -struct napi_struct *napi) > > > > +

Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-13 Thread Jakub Kicinski
On Mon, 13 Jan 2025 09:30:20 -0800 Joe Damato wrote: > > > static void virtnet_napi_enable_lock(struct virtqueue *vq, > > > -struct napi_struct *napi) > > > +struct napi_struct *napi, > > > +

Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-13 Thread Joe Damato
On Mon, Jan 13, 2025 at 12:05:51PM +0800, Jason Wang wrote: > On Sat, Jan 11, 2025 at 4:26 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. > > > > $ ethtool -i ens4 | grep driver > > driver: virtio_net > > > > $

Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-12 Thread Jason Wang
On Sat, Jan 11, 2025 at 4:26 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. > > $ ethtool -i ens4 | grep driver > driver: virtio_net > > $ sudo ethtool -L ens4 combined 4 > > $ ./tools/net/ynl/pyynl/cli.py \ >

Re: [PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-10 Thread Gerhard Engleder
On 10.01.25 21:26, Joe Damato wrote: Use netif_queue_set_napi to map NAPIs to queue IDs so that the mapping can be accessed by user apps. $ ethtool -i ens4 | grep driver driver: virtio_net $ sudo ethtool -L ens4 combined 4 $ ./tools/net/ynl/pyynl/cli.py \ --spec Documentation/netlink/s

[PATCH net-next 3/3] virtio_net: Map NAPIs to queues

2025-01-10 Thread Joe Damato
Use netif_queue_set_napi to map NAPIs to queue IDs so that the mapping can be accessed by user apps. $ ethtool -i ens4 | grep driver driver: virtio_net $ sudo ethtool -L ens4 combined 4 $ ./tools/net/ynl/pyynl/cli.py \ --spec Documentation/netlink/specs/netdev.yaml \ --dump queue-g