On Thu, Mar 19, 2026 at 6:22 AM Paolo Abeni <[email protected]> wrote: > > On 3/17/26 7:51 AM, Wesley Atwell wrote: > > tcp_ooo_rcv_mss.pkt cares about the OOO SACK state and the resulting > > tcpi_rcv_mss update. > > > > Its exact advertised receive-window value is incidental to that test and > > can legitimately move when unrelated rwnd accounting changes adjust the > > ACK window. > > > > Drop the hard-coded win 81 checks and keep only the ACK/SACK shape and > > the tcpi_rcv_mss assertion. > > I think it would be better to keep the test updated with the kernel > behavior. Having the pktdrill tests bundled together with the kernel > allows for tightly coupling. > > @Neal: WDYT?
IMHO our experience internally with packetdrill tests suggests that assertions about outgoing receive window values should only be made in a small set of tests specifically focused on receive window behavior. The motivation is mainly toil and velocity. We have over 1,000 packetdrill test scripts internally, and hopefully most of these will eventually have upstream versions. If we allow assertions about receive window behavior to be sprinkled among all tests, then over time we may end up requiring edits to hundreds of packetdrill tests any time the receive window behavior changes. And the receive window values can change frequently. We have generally tried to remove receive window assertions when we've discovered they were included in a test not focused on receive window behavior. neal

