[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230612143833.70805-1-hare@suse.de>
Date: Mon, 12 Jun 2023 16:38:29 +0200
From: Hannes Reinecke <hare@...e.de>
To: Christoph Hellwig <hch@....de>
Cc: Sagi Grimberg <sagi@...mberg.me>,
Keith Busch <kbusch@...nel.org>,
linux-nvme@...ts.infradead.org,
Jakub Kicinski <kuba@...nel.org>,
netdev@...r.kernel.org,
Hannes Reinecke <hare@...e.de>
Subject: [PATCHv3 0/4] net/tls: fixes for NVMe-over-TLS
Hi all,
here are some small fixes to get NVMe-over-TLS up and running.
The first two are just minor modifications to have MSG_EOR handled
for TLS, but the third implements the ->read_sock() callback for tls_sw
and I guess could do with some reviews.
As usual, comments and reviews are welcome.
Changes to the original submission:
- Add a testcase for MSG_EOR handling
Changes to v2:
- Bail out on conflicting message flags
- Rework flag handling
Hannes Reinecke (4):
net/tls: handle MSG_EOR for tls_sw TX flow
net/tls: handle MSG_EOR for tls_device TX flow
net/tls: implement ->read_sock()
selftests/net/tls: add test for MSG_EOR
net/tls/tls.h | 2 +
net/tls/tls_device.c | 24 +++++++--
net/tls/tls_main.c | 2 +
net/tls/tls_sw.c | 88 +++++++++++++++++++++++++++++--
tools/testing/selftests/net/tls.c | 11 ++++
5 files changed, 120 insertions(+), 7 deletions(-)
--
2.35.3
Powered by blists - more mailing lists