]> git.dujemihanovic.xyz Git - linux.git/commit
virtio-net: unbreak vq resizing when coalescing is not negotiated
authorHeng Qi <hengqi@linux.alibaba.com>
Thu, 1 Aug 2024 13:23:38 +0000 (21:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2024 10:10:22 +0000 (11:10 +0100)
commit4ba8d97083707409822264fd1776aad7233f353e
tree59778397ed39f7276e3bc5bc62b5c3f17c238b54
parentb50f2af9fbc5c00103ca8b72752b15310bd77762
virtio-net: unbreak vq resizing when coalescing is not negotiated

Don't break the resize action if the vq coalescing feature
named VIRTIO_NET_F_VQ_NOTF_COAL is not negotiated.

Fixes: f61fe5f081cf ("virtio-net: fix the vq coalescing setting for vq resize")
Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Eugenio Pé rez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c