mbox series

[net-next,v2,0/2] tcp: add CMSG+rx timestamps to rx. zerocopy

Message ID 20210121004148.2340206-1-arjunroy.kdev@gmail.com (mailing list archive)
Headers show
Series tcp: add CMSG+rx timestamps to rx. zerocopy | expand

Message

Arjun Roy Jan. 21, 2021, 12:41 a.m. UTC
From: Arjun Roy <arjunroy@google.com>

Provide CMSG and receive timestamp support to TCP
receive zerocopy. Patch 1 refactors CMSG pending state for
tcp_recvmsg() to avoid the use of magic numbers; patch 2 implements
receive timestamp via CMSG support for receive zerocopy, and uses the
constants added in patch 1.

v2: Fixes various stylistic comments and introduces a helper method
to reduce indentation.

Arjun Roy (2):
  tcp: Remove CMSG magic numbers for tcp_recvmsg().
  tcp: Add receive timestamp support for receive zerocopy.

 include/uapi/linux/tcp.h |   4 ++
 net/ipv4/tcp.c           | 130 ++++++++++++++++++++++++++++-----------
 2 files changed, 98 insertions(+), 36 deletions(-)