All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/18] selftests: Add tests for VXLAN at an 802.1d bridge
@ 2018-11-19 16:11 ` Ido Schimmel
  0 siblings, 0 replies; 75+ messages in thread
From: idosch @ 2018-11-19 16:11 UTC (permalink / raw)


Petr says:

This patchset adds several tests for VXLAN attached to an 802.1d bridge
and fixes a related bug.

First patch #1 fixes a bug in propagating SKB already-forwarded marks
over veth to bridges, where they are irrelevant. This bug causes the
vxlan_bridge_1d test suite from this patchset to fail as the packets
aren't forwarded by br2.

In patches #2 and #3, lib.sh is extended to support network namespaces.
The use of namespaces is necessitated by VXLAN, which allows only one
VXLAN device with a given VNI per namespace. Thus to host full topology
on a single box for selftests, the "remote" endpoints need to be in
namespaces.

In patches #4-#6, lib.sh is extended in other ways to facilitate the
following patches.

In patches #7-#15, first the skeleton, and later the generic tests
themselves are added.

Patch #16 then adds another test that serves as a wrapper around the
previous one, and runs it with a non-default port number.

Patches #17 and #18 add mlxsw-specific tests. About those, Ido writes:

The first test creates various configurations with regards to the VxLAN
and bridge devices and makes sure the driver correctly forbids
unsupported configuration and permits supported ones. It also verifies
that the driver correctly sets the offload indication on FDB entries and
the local route used for VxLAN decapsulation.

The second test verifies that the driver correctly configures the singly
linked list used to flood BUM traffic and that traffic is flooded as
expected.

Ido Schimmel (2):
  selftests: mlxsw: Add a test for VxLAN configuration
  selftests: mlxsw: Add a test for VxLAN flooding

Petr Machata (16):
  net: skb_scrub_packet(): Scrub offload_fwd_mark
  selftests: forwarding: lib: Support NUM_NETIFS of 0
  selftests: forwarding: lib: Add in_ns()
  selftests: forwarding: ping{6,}_test(): Add description argument
  selftests: forwarding: ping{6,}_do(): Allow passing ping arguments
  selftests: forwarding: lib: Add link_stats_rx_errors_get()
  selftests: forwarding: Add a skeleton of vxlan_bridge_1d
  selftests: forwarding: vxlan_bridge_1d: Add ping test
  selftests: forwarding: vxlan_bridge_1d: Add flood test
  selftests: forwarding: vxlan_bridge_1d: Add unicast test
  selftests: forwarding: vxlan_bridge_1d: Reconfigure & rerun tests
  selftests: forwarding: vxlan_bridge_1d: Add a TTL test
  selftests: forwarding: vxlan_bridge_1d: Add a TOS test
  selftests: forwarding: vxlan_bridge_1d: Add an ECN encap test
  selftests: forwarding: vxlan_bridge_1d: Add an ECN decap test
  selftests: forwarding: vxlan_bridge_1d_port_8472: New test

 net/core/skbuff.c                             |   5 +
 .../selftests/drivers/net/mlxsw/vxlan.sh      | 664 +++++++++++++++++
 .../drivers/net/mlxsw/vxlan_flooding.sh       | 309 ++++++++
 tools/testing/selftests/net/forwarding/lib.sh |  42 +-
 .../net/forwarding/vxlan_bridge_1d.sh         | 678 ++++++++++++++++++
 .../forwarding/vxlan_bridge_1d_port_8472.sh   |  10 +
 6 files changed, 1700 insertions(+), 8 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/vxlan.sh
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/vxlan_flooding.sh
 create mode 100755 tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh
 create mode 100755 tools/testing/selftests/net/forwarding/vxlan_bridge_1d_port_8472.sh

-- 
2.19.1

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

end of thread, other threads:[~2018-11-20 12:26 UTC | newest]

Thread overview: 75+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-19 16:11 [PATCH net-next 00/18] selftests: Add tests for VXLAN at an 802.1d bridge idosch
2018-11-19 16:11 ` Ido Schimmel
2018-11-19 16:11 ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 01/18] net: skb_scrub_packet(): Scrub offload_fwd_mark idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 19:07   ` davem
2018-11-19 19:07     ` David Miller
2018-11-19 19:07     ` David Miller
2018-11-19 20:06     ` idosch
2018-11-19 20:06       ` Ido Schimmel
2018-11-19 20:06       ` Ido Schimmel
2018-11-19 22:41     ` petrm
2018-11-19 22:41       ` Petr Machata
2018-11-19 22:41       ` Petr Machata
2018-11-19 16:11 ` [PATCH net-next 02/18] selftests: forwarding: lib: Support NUM_NETIFS of 0 idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 03/18] selftests: forwarding: lib: Add in_ns() idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 04/18] selftests: forwarding: ping{6,}_test(): Add description argument idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 05/18] selftests: forwarding: ping{6,}_do(): Allow passing ping arguments idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 06/18] selftests: forwarding: lib: Add link_stats_rx_errors_get() idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 07/18] selftests: forwarding: Add a skeleton of vxlan_bridge_1d idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 08/18] selftests: forwarding: vxlan_bridge_1d: Add ping test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 09/18] selftests: forwarding: vxlan_bridge_1d: Add flood test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 10/18] selftests: forwarding: vxlan_bridge_1d: Add unicast test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 11/18] selftests: forwarding: vxlan_bridge_1d: Reconfigure & rerun tests idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 12/18] selftests: forwarding: vxlan_bridge_1d: Add a TTL test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 13/18] selftests: forwarding: vxlan_bridge_1d: Add a TOS test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 14/18] selftests: forwarding: vxlan_bridge_1d: Add an ECN encap test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 15/18] selftests: forwarding: vxlan_bridge_1d: Add an ECN decap test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 16/18] selftests: forwarding: vxlan_bridge_1d_port_8472: New test idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11 ` [PATCH net-next 17/18] selftests: mlxsw: Add a test for VxLAN configuration idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:21   ` petrm
2018-11-19 16:21     ` Petr Machata
2018-11-19 16:21     ` Petr Machata
2018-11-19 16:11 ` [PATCH net-next 18/18] selftests: mlxsw: Add a test for VxLAN flooding idosch
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:11   ` Ido Schimmel
2018-11-19 16:25   ` petrm
2018-11-19 16:25     ` Petr Machata
2018-11-19 16:25     ` Petr Machata
2018-11-20  2:00 ` [PATCH net-next 00/18] selftests: Add tests for VXLAN at an 802.1d bridge davem
2018-11-20  2:00   ` David Miller
2018-11-20  2:00   ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.