Re: [PATCH net] virtio_net: Avoid sending unnecessary vq coalescing commands

2024-07-29 Thread Xuan Zhuo
On Mon, 29 Jul 2024 20:47:55 +0800, Heng Qi wrote: > From the virtio spec: > > The driver MUST have negotiated the VIRTIO_NET_F_VQ_NOTF_COAL > feature when issuing commands VIRTIO_NET_CTRL_NOTF_COAL_VQ_SET > and VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET. > > The driver must not send vq no

[PATCH net] virtio_net: Avoid sending unnecessary vq coalescing commands

2024-07-29 Thread Heng Qi
>From the virtio spec: The driver MUST have negotiated the VIRTIO_NET_F_VQ_NOTF_COAL feature when issuing commands VIRTIO_NET_CTRL_NOTF_COAL_VQ_SET and VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET. The driver must not send vq notification coalescing commands if VIRTIO_NET_F_VQ_NOTF_CO