summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
diff options
context:
space:
mode:
authorShalom Toledo2019-07-04 09:07:36 +0200
committerDavid S. Miller2019-07-06 00:28:57 +0200
commit399569cb0a2afaf6ad3a961f85513c8a4395f65b (patch)
treed380c17ebc04ae95b9b307f51825dc475fadcf79 /drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c
parentmlxsw: reg: Add QoS PTP Shaper Configuration Register (diff)
downloadkernel-qcow2-linux-399569cb0a2afaf6ad3a961f85513c8a4395f65b.tar.gz
kernel-qcow2-linux-399569cb0a2afaf6ad3a961f85513c8a4395f65b.tar.xz
kernel-qcow2-linux-399569cb0a2afaf6ad3a961f85513c8a4395f65b.zip
mlxsw: spectrum_ptp: Set the PTP shaper parameters
Set the PTP shaper parameters during the ptp_init(). For different speeds, there are different parameters. When the port's speed changes and PTP shaper is enabled, the firmware changes the ETS shaper values according to the PTP shaper parameters for this new speed. The PTP shaper parameters array is left empty for now, will be filled in a follow-up patch. Signed-off-by: Shalom Toledo <shalomt@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c')
0 files changed, 0 insertions, 0 deletions