mbox series

[net-next,0/2] Adds CMSG+rx timestamps to TCP rx. zerocopy

Message ID 20201211184419.1271335-1-arjunroy.kdev@gmail.com (mailing list archive)
Headers show
Series Adds CMSG+rx timestamps to TCP rx. zerocopy | expand

Message

Arjun Roy Dec. 11, 2020, 6:44 p.m. UTC
From: Arjun Roy <arjunroy@google.com>

This patch series provides 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.

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           | 114 ++++++++++++++++++++++++++++-----------
 2 files changed, 87 insertions(+), 31 deletions(-)

Comments

Jakub Kicinski Dec. 15, 2020, 12:27 a.m. UTC | #1
On Fri, 11 Dec 2020 10:44:17 -0800 Arjun Roy wrote:
> From: Arjun Roy <arjunroy@google.com>
> 
> This patch series provides 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.

Imperative please:

  tcp: add CMSG+rx timestamps to rx. zerocopy

  Provide CMSG and receive timestamp...