aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorSergey Organov <[email protected]>2020-07-14 19:28:02 +0300
committerJakub Kicinski <[email protected]>2020-07-16 11:20:38 -0700
commit340746398b67e3ce5019698748ebaa7adf048114 (patch)
treed6e24f207a028a60d16b23793098fba0ba141c8f /lib/mpi/mpi-bit.c
parentc28d9a285668c799eeae2f7f93e929a6028a4d6d (diff)
net: fec: fix hardware time stamping by external devices
Fix support for external PTP-aware devices such as DSA or PTP PHY: Make sure we never time stamp tx packets when hardware time stamping is disabled. Check for PTP PHY being in use and then pass ioctls related to time stamping of Ethernet packets to the PTP PHY rather than handle them ourselves. In addition, disable our own hardware time stamping in this case. Fixes: 6605b730c061 ("FEC: Add time stamping code and a PTP hardware clock") Signed-off-by: Sergey Organov <[email protected]> Acked-by: Richard Cochran <[email protected]> Acked-by: Vladimir Oltean <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions