]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: dsa: symlink the tc_actions.sh test
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 31 Aug 2022 17:08:39 +0000 (20:08 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 Sep 2022 03:53:44 +0000 (20:53 -0700)
commit2f9d3d44b508249823adb5b2549abba6ca4b5d08
treea76a2190c2ca1ef42507dc67f7f578a08a70020f
parentb9efa4b214f8b66ec4145a2893a1213eb199641b
selftests: net: dsa: symlink the tc_actions.sh test

This has been validated on the Ocelot/Felix switch family (NXP LS1028A)
and should be relevant to any switch driver that offloads the tc-flower
and/or tc-matchall actions trap, drop, accept, mirred, for which DSA has
operations.

TEST: gact drop and ok (skip_hw)                                    [ OK ]
TEST: mirred egress flower redirect (skip_hw)                       [ OK ]
TEST: mirred egress flower mirror (skip_hw)                         [ OK ]
TEST: mirred egress matchall mirror (skip_hw)                       [ OK ]
TEST: mirred_egress_to_ingress (skip_hw)                            [ OK ]
TEST: gact drop and ok (skip_sw)                                    [ OK ]
TEST: mirred egress flower redirect (skip_sw)                       [ OK ]
TEST: mirred egress flower mirror (skip_sw)                         [ OK ]
TEST: mirred egress matchall mirror (skip_sw)                       [ OK ]
TEST: trap (skip_sw)                                                [ OK ]
TEST: mirred_egress_to_ingress (skip_sw)                            [ OK ]

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220831170839.931184-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/dsa/Makefile
tools/testing/selftests/drivers/net/dsa/tc_actions.sh [new symlink]
tools/testing/selftests/drivers/net/dsa/tc_common.sh [new symlink]