netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net PATCH 0/2] tcp: Address issues with ECT0 not being set in DCTCP packets
@ 2020-11-19 21:23 Alexander Duyck
  2020-11-19 21:23 ` [net PATCH 1/2] tcp: Allow full IP tos/IPv6 tclass to be reflected in L3 header Alexander Duyck
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Duyck @ 2020-11-19 21:23 UTC (permalink / raw)
  To: netdev
  Cc: bpf, daniel, kafai, kernel-team, edumazet, brakmo,
	alexanderduyck, weiwan

This patch set is meant to address issues seen with SYN/ACK packets not
containing the ECT0 bit when DCTCP is configured as the congestion control
algorithm for a TCP socket.

A simple test using "tcpdump" and "test_progs -t bpf_tcp_ca" makes the
issue obvious. Looking at the packets will result in the SYN/ACK packet
with an ECT0 bit that does not match the other packets for the flow when
the congestion control agorithm is switch from the default. So for example
going from non-DCTCP to a DCTCP congestion control algorithm we will see
the SYN/ACK IPV6 header will not have ECT0 set while the other packets in
the flow will. Likewise if we switch from a default of DCTCP to cubic we
will see the ECT0 bit set in the SYN/ACK while the other packets in the
flow will not.

---

Alexander Duyck (2):
      tcp: Allow full IP tos/IPv6 tclass to be reflected in L3 header
      tcp: Set INET_ECN_xmit configuration in tcp_reinit_congestion_control


 net/ipv4/tcp_cong.c | 5 +++++
 1 file changed, 5 insertions(+)

--


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-21  2:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 21:23 [net PATCH 0/2] tcp: Address issues with ECT0 not being set in DCTCP packets Alexander Duyck
2020-11-19 21:23 ` [net PATCH 1/2] tcp: Allow full IP tos/IPv6 tclass to be reflected in L3 header Alexander Duyck
2020-11-19 23:09   ` Wei Wang
2020-11-19 21:23 ` [net PATCH 2/2] tcp: Set INET_ECN_xmit configuration in tcp_reinit_congestion_control Alexander Duyck
2020-11-21  2:22 ` [net PATCH 0/2] tcp: Address issues with ECT0 not being set in DCTCP packets Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).