summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2019-08-28 13:37:00 +0800
committerMichael S. Tsirkin <mst@redhat.com>2019-09-04 06:21:17 -0400
commit264b563b8675771834419057cbe076c1a41fb666 (patch)
tree7d8ba6901d18d1ee7fc013477408ee8ff6e71e1b /drivers/net/virtio_net.c
parent93d2c4de8d8129b97ee1e1a222aedb0719d2fcd9 (diff)
vhost/test: fix build for vhost test
Since vhost_exceeds_weight() was introduced, callers need to specify the packet weight and byte weight in vhost_dev_init(). Note that, the packet weight isn't counted in this patch to keep the original behavior unchanged. Fixes: e82b9b0727ff ("vhost: introduce vhost_exceeds_weight()") Cc: stable@vger.kernel.org Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions