[PATCH net-next mlxsw] selftests: mlxsw: Don't rely on MZ's range notation

Petr Machata petrm at mellanox.com
Tue May 15 08:19:15 AEST 2018


Petr Machata <petrm at mellanox.com> writes:

> Jiri Pirko <jiri at resnulli.us> writes:
>
>> Mon, May 14, 2018 at 05:52:42PM CEST, petrm at mellanox.com wrote:
>>>When given a range, mausezahn should attempt to send a packet for each
>>>address in the range. However, some of the packets are dropped, and in
>>>some cases even just a single packet is sent. Just run MZ separately for
>>
>> Is it a bug in MZ?
>
> I'm getting some valgrind citations that look relevant, but can't
> quite pinpoint what's going on.

Fix for the single-packet runs:
    https://groups.google.com/forum/#!topic/netsniff-ng/6YGUz_Lq8NU

The other drops, I think, might be caused by socket buffer limitations
and can be gotten rid of by -d 1m or similar. But due to the above bug
it's better not to rely on IPv6 address ranges.

Petr


More information about the Linux-mlxsw mailing list