diff options
author | Bert Kenward <bkenward@solarflare.com> | 2022-04-07 16:24:02 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-08 14:43:10 -0700 |
commit | bd4a2697e5e27a33d345827dfbdebb8f28f4aa87 (patch) | |
tree | e998456ff4e469ee20993a5eba0b8697bf48327a /tools/lib/bpf/libbpf_internal.h | |
parent | 58389c00d49cf4f9bee50530901834a8503240b6 (diff) | |
download | linux-next-bd4a2697e5e27a33d345827dfbdebb8f28f4aa87.tar.gz |
sfc: use hardware tx timestamps for more than PTP
The 8000 series and newer NICs all get hardware timestamps from the MAC
and can provide timestamps on a normal TX queue, rather than via a slow
path through the MC. As such we can use this path for any packet where a
hardware timestamp is requested.
This also enables support for PTP over transports other than IPv4+UDP.
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: Edward Cree <ecree@xilinx.com>
Link: https://lore.kernel.org/r/510652dc-54b4-0e11-657e-e37ee3ca26a9@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf_internal.h')
0 files changed, 0 insertions, 0 deletions