On Sun, Oct 11, 2026 at 06:43:00PM +0800, Haishuang Yan wrote:
> The bareudp tests only send pings, which are not GSO packets, so the
> segmentation path of bareudp is not covered.
> 
> Copy a file over TCP from NS0 to NS3 with socat after the IPv4 and IPv6
> ping tests, with UDP tunnel segmentation offload disabled on the
> underlay veths, so that the GSO packets encapsulated by bareudp are
> segmented in software. Raise the MTU of the underlay veths, so that full
> sized packets fit with the encapsulation, as there is no path MTU
> discovery through bareudp.
> 
> The MPLS overlay gets no stream test: bareudp does not set
> mpls_features, so MPLS GSO packets are segmented by mpls_gso before
> they reach bareudp, and are dropped if mpls_gso is not available.
> 
> The ping and stream tests share the result reporting, so move it into
> report_result(). Without socat or ethtool, the stream tests are skipped.
> 
> Without commit c57b2e60d4bf ("bareudp: set the inner protocol to the
> protocol of the packet"), the IPv4 and IPv6 streams over UDPv6, and the
> IPv6 stream over UDPv4 in multiproto mode, time out.
> 
> Suggested-by: Willem de Bruijn <[email protected]>
> Signed-off-by: Haishuang Yan <[email protected]>

Reviewed-by: Simon Horman <[email protected]>


Reply via email to