diff options
author | Grzegorz Siwik <[email protected]> | 2022-08-12 15:25:47 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-08-17 09:29:50 -0700 |
commit | ffa9ed86522f1c08d4face4e0a4ebf366037bf19 (patch) | |
tree | ce4f9d3c7a2cc9eb0b691d8f05eee11c5933fbd5 /scripts/gdb/linux/modules.py | |
parent | ed16d19c5f1d02908caf85c52a787de2eeeced2f (diff) |
ice: Fix double VLAN error when entering promisc mode
Avoid enabling or disabling VLAN 0 when trying to set promiscuous
VLAN mode if double VLAN mode is enabled. This fix is needed
because the driver tries to add the VLAN 0 filter twice (once for
inner and once for outer) when double VLAN mode is enabled. The
filter program is rejected by the firmware when double VLAN is
enabled, because the promiscuous filter only needs to be set once.
This issue was missed in the initial implementation of double VLAN
mode.
Fixes: 5eda8afd6bcc ("ice: Add support for PF/VF promiscuous mode")
Signed-off-by: Grzegorz Siwik <[email protected]>
Link: https://lore.kernel.org/all/CAK8fFZ7m-KR57M_rYX6xZN39K89O=LGooYkKsu6HKt0Bs+x6xQ@mail.gmail.com/
Tested-by: Jaroslav Pulchart <[email protected]>
Tested-by: Igor Raits <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions