Skip to content

PF_PACKET timestamping updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5packet: tx timestamping on tpacket ringnet/core/skbuff.c net/packet/af_packet.c+39 -60 replies
2/5packet: enable hardware tx timestamping on tpacket ringnet/packet/af_packet.c+25 -251 reply
3/5packet: minor: convert status bits into shifting formatinclude/uapi/linux/if_packet.h+11 -111 reply
4/5packet: if hw/sw ts enabled in rx/tx ring, report which ts we gotinclude/uapi/linux/if_packet.h net/packet/af_packet.c+28 -131 reply
5/5packet: doc: update timestamping partDocumentation/networking/packet_mmap.txt+35 -61 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchWillem de Bruijn
1/5
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] PF_PACKET timestamping updates

This is a joint effort with Willem to bring optional i) tx hw/sw timestamping into PF_PACKET, that was reported by Paul Chavent, and ii) to expose the type of timestamp to the user, which is in the current situation not possible to distinguish with the RX_RING and TX_RING API (but distinguishable through the normal timestamping API), reported by Richard Cochran. This set is based on top of ``packet: account statistics only in tpacket_stats_u''. Related discussion can be found in: http://patchwork.ozlabs.org/patch/238125/

Daniel Borkmann (4):
packet: enable hardware tx timestamping on tpacket ring
packet: minor: convert status bits into shifting format
packet: if hw/sw ts enabled in rx/tx ring, report which ts we got
packet: doc: update timestamping part

Willem de Bruijn (1):
packet: tx timestamping on tpacket ring

 Documentation/networking/packet_mmap.txt | 41 ++++++++++++---
 include/uapi/linux/if_packet.h           | 27 ++++++----
 net/core/skbuff.c                        | 12 ++---
 net/packet/af_packet.c                   | 87 ++++++++++++++++++++++++--------
 4 files changed, 122 insertions(+), 45 deletions(-)
Signature · 1 line
1.7.11.7