Skip to content

Commit f0c92e4

Browse files
Revert "vdpa/mlx5: Use eth_broadcast_addr() to assign broadcast address"
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 bc477bc. Signed-off-by: Cindy Lu <lulu@redhat.com>
1 parent 7874348 commit f0c92e4

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
@@ -1466,7 +1466,7 @@ static int mlx5_vdpa_add_mac_vlan_rules(struct mlx5_vdpa_net *ndev, u8 *mac,
14661466
headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, outer_headers);
14671467
dmac_c = MLX5_ADDR_OF(fte_match_param, headers_c, outer_headers.dmac_47_16);
14681468
dmac_v = MLX5_ADDR_OF(fte_match_param, headers_v, outer_headers.dmac_47_16);
1469-
eth_broadcast_addr(dmac_c);
1469+
memset(dmac_c, 0xff, ETH_ALEN);
14701470
ether_addr_copy(dmac_v, mac);
14711471
MLX5_SET(fte_match_set_lyr_2_4, headers_c, cvlan_tag, 1);
14721472
if (tagged) {

0 commit comments

Comments
 (0)