diff options
author | Petr Oros <[email protected]> | 2024-03-25 21:19:01 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-04-03 09:16:19 -0700 |
commit | 8edfc7a40e3300fc6c5fa7a3228a24d5bcd86ba5 (patch) | |
tree | 1b06e66d5c45d48d0781acdf67c7e3c9318c5e7e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 90ca6956d3834db4060f87700e2fcbb699c4e4fd (diff) |
ice: fix enabling RX VLAN filtering
ice_port_vlan_on/off() was introduced in commit 2946204b3fa8 ("ice:
implement bridge port vlan"). But ice_port_vlan_on() incorrectly assigns
ena_rx_filtering to inner_vlan_ops in DVM mode.
This causes an error when rx_filtering cannot be enabled in legacy mode.
Reproducer:
echo 1 > /sys/class/net/$PF/device/sriov_numvfs
ip link set $PF vf 0 spoofchk off trust on vlan 3
dmesg:
ice 0000:41:00.0: failed to enable Rx VLAN filtering for VF 0 VSI 9 during VF rebuild, error -95
Fixes: 2946204b3fa8 ("ice: implement bridge port vlan")
Signed-off-by: Petr Oros <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions