Skip to content

Commit 283c1ea

Browse files
Revert "vdpa/mlx5: Return error on vlan ctrl commands if not supported"
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2169174 Upstream Status: RHEL only SVQ can not work with vlan filtering and support VLAN in SVQ is not a high priority now, so need to revert these commit in rhel9.2 This reverts commit e68cd3f. Signed-off-by: Cindy Lu <lulu@redhat.com>
1 parent 5e8617a commit 283c1ea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/vdpa/mlx5/net/mlx5_vnet.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,9 +1823,6 @@ static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd)
18231823
size_t read;
18241824
u16 id;
18251825

1826-
if (!(ndev->mvdev.actual_features & BIT_ULL(VIRTIO_NET_F_CTRL_VLAN)))
1827-
return status;
1828-
18291826
switch (cmd) {
18301827
case VIRTIO_NET_CTRL_VLAN_ADD:
18311828
read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &vlan, sizeof(vlan));

0 commit comments

Comments
 (0)