summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAhmed Zaki <ahmed.zaki@intel.com>2023-04-06 15:35:27 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 12:35:09 +0200
commitaa0f377c9b00f07b2d63cac1f6b3bb639760ae12 (patch)
tree20720ac1c3367418093b1b23808cbc5b6fad391f /net
parent4f6c08c2323bfcbc7b8cad5b9fd527e649d21b0a (diff)
downloadlinux-aa0f377c9b00f07b2d63cac1f6b3bb639760ae12.tar.gz
linux-aa0f377c9b00f07b2d63cac1f6b3bb639760ae12.tar.bz2
linux-aa0f377c9b00f07b2d63cac1f6b3bb639760ae12.zip
iavf: refactor VLAN filter states
[ Upstream commit 0c0da0e951053fda20412cd284e2714bbbb31bff ] The VLAN filter states are currently being saved as individual bits. This is error prone as multiple bits might be mistakenly set. Fix by replacing the bits with a single state enum. Also, add an "ACTIVE" state for filters that are accepted by the PF. Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Stable-dep-of: 9c85b7fa12ef ("iavf: remove active_cvlans and active_svlans bitmaps") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions