]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-add-tos-reflection-feature'
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 20:15:40 +0000 (13:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 20:15:40 +0000 (13:15 -0700)
commitf432c5cd2caab8ef1fca68da00a4d6a49715230b
treef9db7718210545aa9708155babb2b1df39fb0fce
parent78b9d1c48d4204b968af3874908c3d8d65bac958
parentd339f69f36db83620954bf14394d456ea51aff69
Merge branch 'tcp-add-tos-reflection-feature'

Wei Wang says:

====================
tcp: add tos reflection feature

This patch series adds a new tcp feature to reflect TOS value received in
SYN, and send it out in SYN-ACK, and eventually set the TOS value of the
established socket with this reflected TOS value. This provides a way to
set the traffic class/QoS level for all traffic in the same connection
to be the same as the incoming SYN. It could be useful for datacenters
to provide equivalent QoS according to the incoming request.
This feature is guarded by /proc/sys/net/ipv4/tcp_reflect_tos, and is by
default turned off.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>