[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230526211353.33df9ca0@kernel.org>
Date: Fri, 26 May 2023 21:13:53 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Hannes Reinecke <hare@...e.de>
Cc: Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>, Keith
Busch <kbusch@...nel.org>, linux-nvme@...ts.infradead.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] net/tls: handle MSG_EOR for tls_sw TX flow
On Fri, 26 May 2023 16:31:50 +0200 Hannes Reinecke wrote:
> tls_sw_sendmsg() / tls_do_sw_sendpage() already handles
> MSG_MORE / MSG_SENDPAGE_NOTLAST, but bails out on MSG_EOR.
> But seeing that MSG_EOR is basically the opposite of
> MSG_MORE / MSG_SENDPAGE_NOTLAST this patch adds handling
> MSG_EOR by treating it as the negation of MSG_MORE.
The cover letter didn't make it to netdev so replying here -
please add test cases for EOR to tools/testing/selftests/net/tls.c
(FWIW selftests now take command line arguments allowing you to narrow
down the set of test cases run, it's pretty useful here, waiting for
all crypto algos to finish is annoying)
Powered by blists - more mailing lists