Message ID | 20200910005048.4146399-1-weiwan@google.com |
---|---|
Headers | show |
Series | tcp: add tos reflection feature | expand |
From: Wei Wang <weiwan@google.com> Date: Wed, 9 Sep 2020 17:50:45 -0700 > 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. > > Wei Wang (3): > tcp: record received TOS value in the request socket > ip: pass tos into ip_build_and_send_pkt() > tcp: reflect tos value received in SYN to the socket This looks good, series applied, thanks.