diff options
| author | Tiwei Bie <tiwei.bie@intel.com> | 2019-08-28 13:37:00 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:13:35 +0200 |
| commit | 17b919f0e667ea326549e499a3f54433478447c3 (patch) | |
| tree | 74e9621a5286d345e81192fb403a5ef56dfe2a79 /net/core/utils.c | |
| parent | e1b22f7a0b273e2b6ff50afe950f6161ca8e3e58 (diff) | |
vhost/test: fix build for vhost test
commit 264b563b8675771834419057cbe076c1a41fb666 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions
