diff options
author | Przemyslaw Patynowski <przemyslawx.patynowski@intel.com> | 2022-06-10 14:15:54 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-07-18 18:36:40 +0200 |
commit | 968996c070ef080ee7d6150faa98a4e562ce4625 (patch) | |
tree | dc511c236f15385fc6fc9cda2f3ced50d945ffb9 /drivers/hid/hid-maltron.c | |
parent | docs: net: dsa: mention that VLANs are now refcounted on shared ports (diff) | |
download | linux-968996c070ef080ee7d6150faa98a4e562ce4625.tar.xz linux-968996c070ef080ee7d6150faa98a4e562ce4625.zip |
iavf: Fix VLAN_V2 addition/rejection
Fix VLAN addition, so that PF driver does not reject whole VLAN batch.
Add VLAN reject handling, so rejected VLANs, won't litter VLAN filter
list. Fix handling of active_(c/s)vlans, so it will be possible to
re-add VLAN filters for user.
Without this patch, after changing trust to off, with VLAN filters
saturated, no VLAN is added, due to PF rejecting addition.
Fixes: 92fc50859872 ("iavf: Restrict maximum VLAN filters for VIRTCHNL_VF_OFFLOAD_VLAN_V2")
Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/hid/hid-maltron.c')
0 files changed, 0 insertions, 0 deletions