[LTP] [PATCH 1/1] if-mtu-change.sh: Add max packet size detection for IPv4

Petr Vorel pvorel@suse.cz
Wed Dec 16 15:45:03 CET 2020


Hi Alexey,

> Hi Petr,

> Another option would be to limit max size according to the size of
> the set mtu, so that we test packets with and without fragmentation,
> i.e. tst_ping -s "1 $((mtu / 2)) $mtu $((5 * mtu))", where "$mtu"
> size - for minor fragmentation.
Yes, that would fix the problem as well.

> Anyway the patch looks good, minor comments below.
I would prefer to also test higher MTU, thus I'll merge my patchset with all
changes you're suggested.

Thanks a lot for your review.

Kind regards,
Petr


More information about the ltp mailing list