summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>2022-08-01 08:38:58 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-08-11 10:06:41 +0200
commit8597b5ddcbba840ab852e1083f1a8dd1c6d41d1b (patch)
tree4d9b64f81a8ba20e4dc9d5298da4cf75a6abd90b /mm/truncate.c
parentvirtio_net: set the default max ring size by find_vqs() (diff)
downloadlinux-8597b5ddcbba840ab852e1083f1a8dd1c6d41d1b.tar.xz
linux-8597b5ddcbba840ab852e1083f1a8dd1c6d41d1b.zip
virtio_net: get ringparam by virtqueue_get_vring_max_size()
Use virtqueue_get_vring_max_size() in virtnet_get_ringparam() to set tx,rx_max_pending. Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20220801063902.129329-39-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions