aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_switch.c
diff options
context:
space:
mode:
authorMartyna Szapar-Mudlaw <[email protected]>2024-06-26 09:43:42 +0000
committerTony Nguyen <[email protected]>2024-09-09 18:00:25 +0000
commit9debb703e14939dfafa5d403f27c4feb2e9f6501 (patch)
treeac4546dffe1403aadbc806fb13ff6cce49b84435 /drivers/net/ethernet/intel/ice/ice_switch.c
parentnet: hsr: remove seqnr_lock (diff)
downloadkernel-9debb703e14939dfafa5d403f27c4feb2e9f6501.tar.gz
kernel-9debb703e14939dfafa5d403f27c4feb2e9f6501.zip
ice: Fix lldp packets dropping after changing the number of channels
After vsi setup refactor commit 6624e780a577 ("ice: split ice_vsi_setup into smaller functions") ice_cfg_sw_lldp function which removes rx rule directing LLDP packets to vsi is moved from ice_vsi_release to ice_vsi_decfg function. ice_vsi_decfg is used in more cases than just in vsi_release resulting in unnecessary removal of rx lldp packets handling switch rule. This leads to lldp packets being dropped after a change number of channels via ethtool. This patch moves ice_cfg_sw_lldp function that removes rx lldp sw rule back to ice_vsi_release function. Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions") Reported-by: Matěj Grégr <[email protected]> Closes: https://lore.kernel.org/intel-wired-lan/[email protected]/T/#u Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Martyna Szapar-Mudlaw <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
0 files changed, 0 insertions, 0 deletions