OSDN Git Service

ice: Use ICE_RLAN_BASE_S instead of magic number
authorAnatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Thu, 3 Nov 2022 14:30:05 +0000 (15:30 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 23 Nov 2022 16:59:43 +0000 (08:59 -0800)
commit60aeca6dc47493a681199f8f53fabd5b96adfa44
treeb35a91d292e197f4fdd80b525c0440ad41266535
parentc7cb9dfc57a2aff7a7f270c883cbe0f5cd3f68e1
ice: Use ICE_RLAN_BASE_S instead of magic number

Commit 72adf2421d9b ("ice: Move common functions out of ice_main.c part
2/7") moved an older version of ice_setup_rx_ctx() function with
usage of magic number 7.
Reimplement the commit 5ab522443bd1 ("ice: Cleanup magic number") to use
ICE_RLAN_BASE_S instead of magic number.

Signed-off-by: Anatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_base.c