kernel_samsung_a53x/drivers/net/ethernet/intel/ice
Jesse Brandeburg 39c168a7d2 ice: fix over-shifted variable
commit 242e34500a32631f85c2b4eb6cb42a368a39e54f upstream.

Since the introduction of the ice driver the code has been
double-shifting the RSS enabling field, because the define already has
shifts in it and can't have the regular pattern of "a << shiftval &
mask" applied.

Most places in the code got it right, but one line was still wrong. Fix
this one location for easy backports to stable. An in-progress patch
fixes the defines to "standard" and will be applied as part of the
regular -next process sometime after this one.

Fixes: d76a60ba7afb ("ice: Add support for VLANs and offloads")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
CC: stable@vger.kernel.org
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231010203101.406248-1-jacob.e.keller@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-08 11:26:08 +01:00
..
ice.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_adminq_cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_arfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_arfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_base.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_controlq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_controlq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb_lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb_lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb_nl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_dcb_nl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_devids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_devlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_devlink.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_ethtool_fdir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fdir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fdir.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_flex_pipe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_flex_pipe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_flex_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_flow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_flow.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fltr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fltr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fw_update.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_fw_update.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_hw_autogen.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_lan_tx_rx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_lib.c ice: fix over-shifted variable 2024-11-08 11:26:08 +01:00
ice_lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_nvm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_osdep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_protocol_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_sched.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_sched.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_status.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_switch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_switch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_txrx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_txrx_lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_txrx_lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_virtchnl_pf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_virtchnl_pf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_xsk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice_xsk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00