diff options
| author | Karol Kolacinski <[email protected]> | 2024-09-30 12:12:43 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-02-10 18:43:47 +0000 |
| commit | 381d5779623aaa1266a3c33d2aec99f34312f0cb (patch) | |
| tree | 745778652326c056455e64bcc77e148f73135bc6 /drivers/net/ethernet/intel/ice/ice_ptp.h | |
| parent | ice: Add unified ice_capture_crosststamp (diff) | |
| download | kernel-381d5779623aaa1266a3c33d2aec99f34312f0cb.tar.gz kernel-381d5779623aaa1266a3c33d2aec99f34312f0cb.zip | |
ice: Refactor ice_ptp_init_tx_*
Unify ice_ptp_init_tx_* functions for most of the MAC types except E82X.
This simplifies the code for the future use with new MAC types.
Reviewed-by: Przemek Kitszel <[email protected]>
Signed-off-by: Karol Kolacinski <[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_ptp.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_ptp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ptp.h b/drivers/net/ethernet/intel/ice/ice_ptp.h index a3b27f716282..783139de7f74 100644 --- a/drivers/net/ethernet/intel/ice/ice_ptp.h +++ b/drivers/net/ethernet/intel/ice/ice_ptp.h @@ -128,8 +128,7 @@ struct ice_ptp_tx { /* Quad and port information for initializing timestamp blocks */ #define INDEX_PER_QUAD 64 #define INDEX_PER_PORT_E82X 16 -#define INDEX_PER_PORT_E810 64 -#define INDEX_PER_PORT_ETH56G 64 +#define INDEX_PER_PORT 64 /** * struct ice_ptp_port - data used to initialize an external port for PTP |
