i40e: Move I40E_MASK macro to i40e_register.h
authorIvan Vecera <ivecera@redhat.com>
Wed, 27 Sep 2023 08:31:28 +0000 (10:31 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 5 Oct 2023 16:13:40 +0000 (09:13 -0700)
commit9d84f739d617e85f1931e08ad53ef044178db5cc
tree6cc7dc1a8d10b3898e16b6036e41fd08529bb366
parent39ec612acf6d075809c38a7262d7ad09314762f3
i40e: Move I40E_MASK macro to i40e_register.h

The macro is practically used only in i40e_register.h header file except
few I40E_MDIO_CLAUSE* macros that are defined in i40e_type.h
Move I40E_MASK macro to i40e_register.h header, I40E_MDIO_CLAUSE* macros
are refactored in subsequent patch.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_register.h
drivers/net/ethernet/intel/i40e/i40e_type.h