diff options
author | Petr Machata <petrm@mellanox.com> | 2019-03-28 15:12:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 03:20:52 +0300 |
commit | 5dde21b3a7f648342d873ec964e0c486c329b91c (patch) | |
tree | a10b8546b70ed4f5e68da631ae3c9bf8320828ff /lib/ashldi3.c | |
parent | d04cc726c8da45732c815549f2841a646332cc94 (diff) | |
download | linux-5dde21b3a7f648342d873ec964e0c486c329b91c.tar.xz |
selftests: mlxsw: qos_mc_aware: Configure shared buffers
This test runs two streams of traffic from two independent ports to
create congestion on one egress port. It is necessary to configure the
shared buffer thresholds correctly, to make sure that there is traffic
from both streams in the shared buffer. Only then can the test actually
test prioritization among these streams.
Without this configuration, it is possible, that one of the streams
takes all of port-pool quota, and the other stream is not even admitted,
thus invalidating the result.
On Spectrum-1, this is not a problem, because MC traffic uses a separate
pool. But for Spectrum-2, MC and UC share the same pool, and the correct
configuration is important.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ashldi3.c')
0 files changed, 0 insertions, 0 deletions