On 20 Jul 2026, at 15:49, David Marchand via dev wrote:
> The current pattern for generating string payloads seems a bit heavy.
> Rely on simpler (POSIX) printf syntax using a width format.
>
> Before:
> $ time make -C build check TESTSUITEFLAGS="1135 1136 1261 1262"
> ...
> 1135: dpif-netdev - tso ok
> 1136: dpif-netdev - tunnel tso fallback ok
> ...
> 1261: ofproto-dpif - fragment handling - actions ok
> 1262: ofproto-dpif - fragment handling - reassembly ok
> ...
> real 0m18,511s
> user 0m7,257s
> sys 0m11,074s
>
> After:
> $ time make -C build check TESTSUITEFLAGS="1135 1136 1261 1262"
> ...
> 1135: dpif-netdev - tso ok
> 1136: dpif-netdev - tunnel tso fallback ok
> ...
> 1261: ofproto-dpif - fragment handling - actions ok
> 1262: ofproto-dpif - fragment handling - reassembly ok
> ...
> real 0m5,056s
> user 0m2,807s
> sys 0m2,349s
>
> Signed-off-by: David Marchand <[email protected]>
Thanks, David, for looking into this. This is a nice optimization!
The changes look good to me.
Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev