OSDN Git Service

selftests: mlxsw: Add headroom handling test
authorPetr Machata <petrm@nvidia.com>
Wed, 30 Sep 2020 10:49:11 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 21:06:54 +0000 (14:06 -0700)
commita65cc53a0eb882c5f6d49cda947aac7fdc9b0f73
tree8cc846460a22e4ae73f75ea38e04c9ebd4d7243e
parent4b94a2fad835ad5022a099105b7bf27eb584d754
selftests: mlxsw: Add headroom handling test

Add a test for headroom configuration. This covers projection of ETS
configuration to ingress, PFC, adjustments for MTU, the qdisc / TC
mode and the effect of egress SPAN session on buffer configuration.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_headroom.sh [new file with mode: 0755]