net/virtio: reject unsupported Tx multi-queue modes
authorAndrew Rybchenko <arybchenko@solarflare.com>
Wed, 9 Oct 2019 12:32:08 +0000 (13:32 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commit9fc963acc26f31c46e4c7f8527b60fa2e5505f8f
treedd6bb4122a2ee6af71fcc79c735be765aa9ac73b
parent13b3137f3b7c8f866947a9b34e06a8aec0d084f7
net/virtio: reject unsupported Tx multi-queue modes

This driver supports none of DCB or VMDQ modes, therefore must
check and return error if configured incorrectly.

Fixes: c1f86306a026 ("virtio: add new driver")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_ethdev.c