aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h
diff options
context:
space:
mode:
authorShalom Toledo <shalomt@mellanox.com>2019-07-04 10:07:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-05 15:28:57 -0700
commiteceed3b1453d4115b4256ea1d24fab7b6eb7ba1f (patch)
tree326989d560e24be8fb5309cc672d96e3872bc325 /drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h
parentmlxsw: spectrum: Add new operation for getting the port's speed (diff)
downloadlinux-dev-eceed3b1453d4115b4256ea1d24fab7b6eb7ba1f.tar.xz
linux-dev-eceed3b1453d4115b4256ea1d24fab7b6eb7ba1f.zip
mlxsw: spectrum_ptp: Enable/disable PTP shaper on a port when getting HWTSTAMP on/off
In order to get more accurate hardware time stamping, the driver needs to enable PTP shaper on the port, for speeds lower than 40 Gbps. Enable the PTP shaper on the port when the user turns on the hardware time stamping, and disable it when the user turns off the hardware time stamping. 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 '')
0 files changed, 0 insertions, 0 deletions