On Wed, 17 Jun 2026 at 23:21, Ilya Maximets <[email protected]> wrote:
> > +dnl Send a lot of small frags to trigger dynamic batch.
> > +AT_CHECK([ovs-appctl dpctl/ipf-set-min-frag v4 420], [], [dnl
> > +setting minimum fragment size successful
> > +])
> > +
> > +zero107=$(printf '0%.0s' $(seq 214))
>
> This can at least be zero214, AFAICT.
>
> 01010101020202020000000000000000000000000000000000000000 may also be factored
> out.
> And maybe the ethernet header.
>
> > +AT_CHECK([ovs-appctl netdev-dummy/receive p1
> > "2222222222221111111111110800450001d404d2200040064e4d0101010102020202000100020000000000000000500220001c7a0000${zero107}${zero107}${zero107}${zero107}"])
> > +AT_CHECK([ovs-appctl netdev-dummy/receive p1
> > "2222222222221111111111110800450001d404d2203840064e1501010101020202020000000000000000000000000000000000000000${zero107}${zero107}${zero107}${zero107}"])
[snip]
> > +AT_CHECK([ovs-appctl netdev-dummy/receive p1
> > "2222222222221111111111110800450001d404d22d204006412d01010101020202020000000000000000000000000000000000000000${zero107}${zero107}${zero107}${zero107}"])
> > +AT_CHECK([ovs-appctl netdev-dummy/receive p1
> > "2222222222221111111111110800450001d404d22d58400640f501010101020202020000000000000000000000000000000000000000${zero107}${zero107}${zero107}${zero107}"])
>
> I wish there was a better way...
Yeah... I copied this from the existing test.
I'll see to add some helper for fragmented packets.
--
David Marchand
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev