Thread (9 messages) 9 messages, 2 authors, 21d ago

Re: [PATCH v3 4/4] nvme-tcp: support IPv6 traffic class

flat view

From: Hannes Reinecke <hare@suse.de>
Date: 2026-09-21 13:34:59
Also in: linux-nvme, mptcp

On 8/16/26 3:00 AM, Geliang Tang wrote:
From: Geliang Tang <redacted>

Currently, nvme-tcp host only supports setting the IPv4 TOS value when a
TOS is specified, but does not handle the IPv6 traffic class.

Extend the queue socket setup to handle AF_INET6 sockets by applying the
TOS value to both IPv4 and IPv6 sockets. For IPv6, the TOS value is set
as the IPv6 traffic class via IPV6_TCLASS using do_sock_setsockopt().

Signed-off-by: Geliang Tang <redacted>
---
  drivers/nvme/host/tcp.c | 13 ++++++++++++-
  1 file changed, 12 insertions(+), 1 deletion(-)
Reviewed-by: Hannes Reinecke <hare@kernel.org>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help