Skip to content

Commit

Permalink
selftests: net: dsa: symlink the tc_actions.sh test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vladimir Oltean authored and Jakub Kicinski committed Sep 2, 2022
1 parent 5603072 commit 1ab3d41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/testing/selftests/drivers/net/dsa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ TEST_PROGS = bridge_locked_port.sh \
bridge_vlan_unaware.sh \
local_termination.sh \
no_forwarding.sh \
tc_actions.sh \
test_bridge_fdb_stress.sh

TEST_PROGS_EXTENDED := lib.sh
TEST_PROGS_EXTENDED := lib.sh tc_common.sh

TEST_FILES := forwarding.config

Expand Down
1 change: 1 addition & 0 deletions tools/testing/selftests/drivers/net/dsa/tc_actions.sh
1 change: 1 addition & 0 deletions tools/testing/selftests/drivers/net/dsa/tc_common.sh

0 comments on commit 1ab3d41

Please sign in to comment.