diff options
author | Shalom Toledo <shalomt@mellanox.com> | 2019-07-04 10:07:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-05 15:28:57 -0700 |
commit | eceed3b1453d4115b4256ea1d24fab7b6eb7ba1f (patch) | |
tree | 326989d560e24be8fb5309cc672d96e3872bc325 /mm/ksm.c | |
parent | 4ae5cc42d347ff349ab3dd7c1981c93803788956 (diff) |
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 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions