diff options
author | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-04 21:20:25 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-12 13:51:56 -0700 |
commit | b2107cdc43d8601f2cadfba990ae844cc1f44e68 (patch) | |
tree | 562aa6de995406fa15f9aa70d533b5b09f17cfe5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 94b960b9deffc02fc0747afc01f72cc62ab099e3 (diff) |
net/mlx5e: Switchdev representors are not vlan challenged
Before this patch, mlx5 representors advertised the
NETIF_F_VLAN_CHALLENGED bit, this could lead to missing features when
using reps with vxlan/bridge and maybe other virtual interfaces,
when such interfaces inherit this bit and block vlan usage in their
topology.
Example:
$ip link add dev bridge type bridge
# add representor interface to the bridge
$ip link set dev pf0hpf master
$ip link add link bridge name vlan10 type vlan id 10 protocol 802.1q
Error: 8021q: VLANs not supported on device.
Reps are perfectly capable of handling vlan traffic, although they don't
implement vlan_{add,kill}_vid ndos, hence, remove
NETIF_F_VLAN_CHALLENGED advertisement.
Fixes: cb67b832921c ("net/mlx5e: Introduce SRIOV VF representors")
Reported-by: Roopa Prabhu <roopa@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions