Skip to content

Commit 8616795

Browse files
Revert "vdpa/mlx5: Fix wrong mac address deletion"
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 30d5fd2. Signed-off-by: Cindy Lu <lulu@redhat.com>
1 parent f0c92e4 commit 8616795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/vdpa/mlx5/net/mlx5_vnet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@ static virtio_net_ctrl_ack handle_ctrl_mac(struct mlx5_vdpa_dev *mvdev, u8 cmd)
16841684

16851685
/* Need recreate the flow table entry, so that the packet could forward back
16861686
*/
1687-
mac_vlan_del(ndev, mac_back, 0, false);
1687+
mac_vlan_del(ndev, ndev->config.mac, 0, false);
16881688

16891689
if (mac_vlan_add(ndev, ndev->config.mac, 0, false)) {
16901690
mlx5_vdpa_warn(mvdev, "failed to insert forward rules, try to restore\n");

0 commit comments

Comments
 (0)