1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel
Ivan Vecera 8196b5fd6c i40e: Refactor I40E_MDIO_CLAUSE* macros
The macros I40E_MDIO_CLAUSE22* and I40E_MDIO_CLAUSE45* are using I40E_MASK
together with the same values I40E_GLGEN_MSCA_STCODE_SHIFT and
I40E_GLGEN_MSCA_OPCODE_SHIFT to define masks.
Introduce I40E_GLGEN_MSCA_OPCODE_MASK and I40E_GLGEN_MSCA_STCODE_MASK
for both shifts in i40e_register.h and use them to refactor the macros
mentioned above.

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>
2023-10-05 09:13:42 -07:00
..
e1000 net: e1000: Remove unused declarations 2023-08-13 12:28:03 +01:00
e1000e e1000e: Add support for the next LOM generation 2023-08-24 12:55:25 -07:00
fm10k fm10k: Remove unnecessary aer.h include 2023-03-08 23:34:39 -08:00
i40e i40e: Refactor I40E_MDIO_CLAUSE* macros 2023-10-05 09:13:42 -07:00
iavf iavf: remove "inline" functions from iavf_txrx.c 2023-10-03 15:25:13 -07:00
ice ice: fix linking when CONFIG_PTP_1588_CLOCK=n 2023-10-04 09:27:48 -07:00
idpf idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00
igb ethernet/intel: Use list_for_each_entry() helper 2023-09-28 12:15:58 +02:00
igbvf igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80 2023-09-05 10:52:08 -07:00
igc igc: Expose tx-usecs coalesce setting to user 2023-09-21 10:11:25 +02:00
ixgbe net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush(). 2023-10-03 07:34:51 -07:00
ixgbevf ixgbevf: Remove unused function declarations 2023-08-04 18:03:00 -07:00
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00
Kconfig ice: implement dpll interface to control cgu 2023-09-17 11:50:20 +01:00
Makefile idpf: add SRIOV support and other ndo_ops 2023-09-13 14:59:24 -07:00