summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mscc
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2022-07-24 11:03:26 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-25 13:58:55 +0100
commite8fea346b5563b719f9437b71d788c1bd825c027 (patch)
treec556f04ade2e3c43576465bf6ae10da57b4845dc /drivers/net/ethernet/mscc
parent9468322963894fd7a6138f9bfe3aca88129738d8 (diff)
downloadlinux-e8fea346b5563b719f9437b71d788c1bd825c027.tar.bz2
mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_state' per ASIC
Currently, there is one shared structure that holds the required structures and details for PTP. Most of the existing fields are relevant only for Spectrum-1 (hash table, lock for hash table, delayed work, and more). Rename the structure to be specific for Spectrum-1 and align the existing code. Add a common structure which includes 'struct mlxsw_sp *mlxsw_sp' and will be returned from ptp_init() operation, as the definition is shared between all ASICs' operations. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc')
0 files changed, 0 insertions, 0 deletions