[PATCH RFC] nvme-tcp: Implement recvmsg() receive flow
Christoph Hellwig
hch at lst.de
Mon Sep 22 10:41:49 PDT 2025
On Fri, Sep 12, 2025 at 01:58:29PM +0200, Hannes Reinecke wrote:
> Switch to use recvmsg() so that we get access to TLS control
> messages eg for handling TLS KeyUpdate.
That is a very spare commit message for a huge change. Why did it not
use recvmsg before? I'm pretty sure there are some tradeoffs here.
> +static size_t nvme_tcp_ddgst_step(void *iter_base, size_t progress, size_t len,
> + void *priv, void *priv2)
> +{
> + u32 *crcp = priv;
> +
> + *crcp = crc32c(*crcp, iter_base, len);
> + return 0;
And fix the whitespace damage while you're at it.
More information about the Linux-nvme
mailing list