]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_net: support set_ringparam
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Mon, 1 Aug 2022 06:39:02 +0000 (14:39 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:26:07 +0000 (04:26 -0400)
commit7c1353cf5045effbcadbdbb9a78bc1faa720ea0a
treef408bbe52d3ca539d5ab376a73fa99f5bf4878ed
parent2b487f51490ad2c7b7d364acac540f57f2385028
virtio_net: support set_ringparam

Support set_ringparam based on virtio queue reset.

Users can use ethtool -G eth0 <ring_num> to modify the ring size of
virtio-net.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220801063902.129329-43-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c