diff options
author | 2024-06-03 14:42:34 -0700 | |
---|---|---|
committer | 2024-06-05 19:27:56 -0700 | |
commit | f3df4044254c98128890b512bf19cc05588f1fe5 (patch) | |
tree | 09c7452f1b084e7918c0cdce028c8866ba58eb90 /drivers/net/macvlan.c | |
parent | ice: add flag to distinguish reset from .ndo_bpf in XDP rings config (diff) | |
download | linux-f3df4044254c98128890b512bf19cc05588f1fe5.tar.gz linux-f3df4044254c98128890b512bf19cc05588f1fe5.tar.bz2 linux-f3df4044254c98128890b512bf19cc05588f1fe5.zip |
ice: map XDP queues to vectors in ice_vsi_map_rings_to_vectors()
ice_pf_dcb_recfg() re-maps queues to vectors with
ice_vsi_map_rings_to_vectors(), which does not restore the previous
state for XDP queues. This leads to no AF_XDP traffic after rebuild.
Map XDP queues to vectors in ice_vsi_map_rings_to_vectors().
Also, move the code around, so XDP queues are mapped independently only
through .ndo_bpf().
Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20240603-net-2024-05-30-intel-net-fixes-v2-5-e3563aa89b0c@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions