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

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

flat view

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

On 8/16/26 2:59 AM, Geliang Tang wrote:
From: Geliang Tang <redacted>

Currently, nvmet-tcp only applies the received IPv4 TOS value when setting
up a queue socket, but does not handle the IPv6 traffic class.

Extend the queue socket setup to handle AF_INET6 sockets. Obtain the
traffic class from the IPv6 socket's rcv_flowinfo and apply it through
IPV6_TCLASS using do_sock_setsockopt().

Signed-off-by: Geliang Tang <redacted>
---
  drivers/nvme/target/tcp.c | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
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