aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2015-12-29 14:58:31 +0200
committerDavid S. Miller <davem@davemloft.net>2016-01-05 14:11:50 -0500
commitef9814deafd0c83a358d49e3709c3e16cc352118 (patch)
tree19247899ec032c9b104a68ddcf915351379b6db6 /net/unix/af_unix.c
parentb0844444590e18704644f707ea88bff1b976b0e7 (diff)
downloadlinux-ef9814deafd0c83a358d49e3709c3e16cc352118.tar.gz
linux-ef9814deafd0c83a358d49e3709c3e16cc352118.tar.bz2
linux-ef9814deafd0c83a358d49e3709c3e16cc352118.zip
net/mlx5e: Add HW timestamping (TS) support
Add support for enable/disable HW timestamping for incoming and/or outgoing packets. To enable/disable HW timestamping appropriate ioctl should be used. Currently HWTSTAMP_FILTER_ALL/NONE and HWTSAMP_TX_ON/OFF only are supported. Make all relevant changes in RX/TX flows to consider TS request and plant HW timestamps into relevant structures. Add internal clock for converting hardware timestamp to nanoseconds. In addition, add a service task to catch internal clock overflow, to make sure timestamping is accurate. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions