netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add a mlxsw-specific test for mirror-to-gretap
@ 2018-07-05 19:10 Petr Machata
  2018-07-05 19:09 ` [PATCH net-next 2/2] selftests: mlxsw: Add mlxsw-specific test for mirror to gretap Petr Machata
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petr Machata @ 2018-07-05 19:10 UTC (permalink / raw)
  To: netdev, linux-kselftest; +Cc: jiri, idosch, shuah, davem

Some configurations of mirror-to-gretap are impossible for mlxsw to
offload. Add a test that checks that these out-of-domain conditions are
handled properly by mlxsw.

In patch #1, fix mirror_gre_lib.sh and mirror_gre_topo_lib.sh so that
they can be imported from directories other than forwarding/.

In patch #2, add a test to check handling of several scenarios that
mlxsw is expected to fail to offload.

Petr Machata (2):
  selftests: forwarding: Allow importing dependent libraries
  selftests: mlxsw: Add mlxsw-specific test for mirror to gretap

 .../selftests/drivers/net/mlxsw/mirror_gre.sh      | 217 +++++++++++++++++++++
 .../selftests/net/forwarding/mirror_gre_lib.sh     |   2 +-
 .../net/forwarding/mirror_gre_topo_lib.sh          |   2 +-
 3 files changed, 219 insertions(+), 2 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh

-- 
2.4.11

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-07 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05 19:10 [PATCH net-next 0/2] Add a mlxsw-specific test for mirror-to-gretap Petr Machata
2018-07-05 19:09 ` [PATCH net-next 2/2] selftests: mlxsw: Add mlxsw-specific test for mirror to gretap Petr Machata
2018-07-05 19:10 ` [PATCH net-next 1/2] selftests: forwarding: Allow importing dependent libraries Petr Machata
2018-07-07 11:29 ` [PATCH net-next 0/2] Add a mlxsw-specific test for mirror-to-gretap David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).