vdpa/mlx5: Return error on vlan ctrl commands if not supported
authorEli Cohen <elic@nvidia.com>
Mon, 14 Nov 2022 13:17:53 +0000 (15:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Dec 2022 10:28:09 +0000 (05:28 -0500)
commit5aec804936bbff182081f1cdc271fcb76af1a4ff
treefde77befb80454eadc28e8706ce173d644622bd1
parenta6ce72c0fb6041f9871f880b2d02b294f7f49cb4
vdpa/mlx5: Return error on vlan ctrl commands if not supported

Check if VIRTIO_NET_F_CTRL_VLAN is negotiated and return error if
control VQ command is received.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20221114131759.57883-3-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c