summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2022-07-24 11:03:17 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-25 13:58:55 +0100
commit731416e9ae5d5c3d5491aeef4fda53a191e8822d (patch)
treefd00157cda289aed9b1feb04774bb7379964065d /drivers/net/tun.c
parent97b05cfb68aef12c649c5f8b6e787d143c9e5c8f (diff)
downloadlinux-731416e9ae5d5c3d5491aeef4fda53a191e8822d.tar.bz2
mlxsw: reg: Add Monitoring Time Precision Correction Port Configuration Register
In Spectrum-2, all the packets are time stamped, the MTPCPC register is used to configure the types of packets that will adjust the correction field and which port will trap PTP packets. If ingress correction is set on a port for a given packet type, then when such a packet is received via the port, the current time stamp is subtracted from the correction field. If egress correction is set on a port for a given packet type, then when such a packet is transmitted via the port, the current time stamp is added to the correction field. Assuming the systems is configured correctly, the above means that the correction field will contain the transient delay between the ports. Add this register for a future use in order to support PTP in Spectrum-2. Signed-off-by: Danielle Ratson <danieller@nvidia.com> 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/tun.c')
0 files changed, 0 insertions, 0 deletions