[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210121004148.2340206-1-arjunroy.kdev@gmail.com>
Date: Wed, 20 Jan 2021 16:41:46 -0800
From: Arjun Roy <arjunroy.kdev@...il.com>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: arjunroy@...gle.com, edumazet@...gle.com, soheil@...gle.com,
kuba@...nel.org
Subject: [net-next v2 0/2] tcp: add CMSG+rx timestamps to rx. zerocopy
From: Arjun Roy <arjunroy@...gle.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(-)
--
2.30.0.284.gd98b1dd5eaa7-goog
Powered by blists - more mailing lists