HiLooking through the v5.2-rc2 code I can see that a parameter 'delivered_ce' is defined in tcp_sock but other than that I don't see any evidence for the support of ECN (L4S) in BBRv2. Do you still plan to include L4S support for BBRv2 ?
After a TCP receiver sends an ACK packet with the ECN-Echo bit set,
that TCP receiver continues to set the ECN-Echo flag in all the ACK
packets it sends (whether they acknowledge CE data packets or non-CE
data packets) until it receives a CWR packet (a packet with the CWR
flag set).
I am confused that is CWR really needed(necessary)?Suppose if there is NO CWR, and can it work like this?:* Receiever sends ACK packets with ECN-Echo if there's CE packet(s) received before, and without ECN-Echo if there's no CE packet received.* Sender reduces congestion window (or reduce sending rate) if recieved ACK packet(s) with ECN-Echo (guarentee to reduce once in one RTT).--As I described, if congestion continue happening, receiver continue sending ACK packets with ECN-Echo, this makes the sender normally reduce its cwnd (once in one RTT).But if congestion happen occasionally (just few packets with CE), receiver will send ACK packets with ECN-Echo occasionally, this MAY make the sender reduce its cwnd, if the ACK with ECN-Echo lost, the sender do noting -- I think this OK, because the congestion is disappeared. And this is the simpler way.Is there any issue with my thoughts?Thanks!--xtao
Hi, NealI've read some materials about ECN, and I want to ask a question here for discussion.As rfc3168 described:After a TCP receiver sends an ACK packet with the ECN-Echo bit set,
that TCP receiver continues to set the ECN-Echo flag in all the ACK
packets it sends (whether they acknowledge CE data packets or non-CE
data packets) until it receives a CWR packet (a packet with the CWR
flag set).I am confused that is CWR really needed(necessary)?Suppose if there is NO CWR, and can it work like this?:* Receiever sends ACK packets with ECN-Echo if there's CE packet(s) received before, and without ECN-Echo if there's no CE packet received.* Sender reduces congestion window (or reduce sending rate) if recieved ACK packet(s) with ECN-Echo (guarentee to reduce once in one RTT).--As I described, if congestion continue happening, receiver continue sending ACK packets with ECN-Echo, this makes the sender normally reduce its cwnd (once in one RTT).But if congestion happen occasionally (just few packets with CE), receiver will send ACK packets with ECN-Echo occasionally, this MAY make the sender reduce its cwnd, if the ACK with ECN-Echo lost, the sender do noting -- I think this OK, because the congestion is disappeared. And this is the simpler way.Is there any issue with my thoughts?