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

Petr Machata petrm at mellanox.com
Tue May 15 07:02:36 AEST 2018

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?

Pretty sure. I looked into the code, and it's surprisingly poor quality.
I'm getting some valgrind citations that look relevant, but can't quite
pinpoint what's going on. But that seems to be the reason I was seeing
the occasional one-packet runs.


More information about the Linux-mlxsw mailing list