OSDN Git Service

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)
commit1ab3d4175775378106965ce32a07248675680c2c
treea76a2190c2ca1ef42507dc67f7f578a08a70020f
parent5603072e0b3733c076529e49ee3150cbb3a7a5cc
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]