On Sun,  6 Sep 2026 22:56:43 +0800 shuo huang wrote:
> udpgso_bench_rx supports UDP payload verification but rejects the
> combination of TCP and verification mode. Its TCP receive path discards
> the payload, so it cannot check the data generated by udpgso_bench_tx.
> 
> Read the TCP payload into a buffer when verification is requested
> and check it against the transmitter's repeating alphabetic
> pattern. Preserve the verification position across recv() calls
> because TCP does not preserve send boundaries. Restart the pattern
> at the payload length supplied with -l, matching the transmitter's
> pattern restart on each message.
> 
> Require a nonzero -l value for TCP verification and retain the existing
> discard path when verification is disabled.

This new option is not exercised by any in-tree test.
Do you have any special use case that needs it?
Otherwise either its useful and in-tree tests should run it, or it's
not useful and we shouldn't merge this patch either..
-- 
pw-bot: cr

Reply via email to