Skip to content
Commit aa0f377c authored by Ahmed Zaki's avatar Ahmed Zaki Committed by Greg Kroah-Hartman
Browse files

iavf: refactor VLAN filter states

[ Upstream commit 0c0da0e9

 ]

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: default avatarAhmed Zaki <ahmed.zaki@intel.com>
Tested-by: default avatarRafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: 9c85b7fa

 ("iavf: remove active_cvlans and active_svlans bitmaps")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4f6c08c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment