diff options
author | Petr Oros <poros@redhat.com> | 2024-03-25 23:19:01 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-04-03 19:16:19 +0300 |
commit | 8edfc7a40e3300fc6c5fa7a3228a24d5bcd86ba5 (patch) | |
tree | 1b06e66d5c45d48d0781acdf67c7e3c9318c5e7e /tools/perf/scripts/python | |
parent | 90ca6956d3834db4060f87700e2fcbb699c4e4fd (diff) | |
download | linux-8edfc7a40e3300fc6c5fa7a3228a24d5bcd86ba5.tar.xz |
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 <poros@redhat.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions