diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-04-12 07:37:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-12 07:37:53 +0300 |
commit | adacf21f1c9a65e299a103f78b3e6dd71c5ec99b (patch) | |
tree | 205008c0f3625f1676595280d7b2672cbf80daf4 /net/smc/af_smc.c | |
parent | 160c13175e392961fd18a9fdb89e5425b3ac7099 (diff) | |
parent | 9c85b7fa12ef2e4fc11a4e31ac595fb5f9d0ddf9 (diff) | |
download | linux-adacf21f1c9a65e299a103f78b3e6dd71c5ec99b.tar.xz |
Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
Tony Nguyen says:
====================
iavf: fix racing in VLANs
Ahmed Zaki says:
This patchset mainly fixes a racing issue in the iavf where the number of
VLANs in the vlan_filter_list might be more than the PF limit. To fix that,
we get rid of the cvlans and svlans bitmaps and keep all the required info
in the list.
The second patch adds two new states that are needed so that we keep the
VLAN info while the interface goes DOWN:
-- DISABLE (notify PF, but keep the filter in the list)
-- INACTIVE (dev is DOWN, filter is removed from PF)
Finally, the current code keeps each state in a separate bit field, which
is error prone. The first patch refactors that by replacing all bits with
a single enum. The changes are minimal where each bit change is replaced
with the new state value.
* '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue:
iavf: remove active_cvlans and active_svlans bitmaps
iavf: refactor VLAN filter states
====================
Link: https://lore.kernel.org/r/20230407210730.3046149-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/af_smc.c')
0 files changed, 0 insertions, 0 deletions