Skip to content

selftests: openvswitch: add flow programming cases

Aaron Conole linux-kselftest lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 3 repliesApplied 5/5
  2. v25 patches 6 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

1. Dropped support for ipv6 in nat() case
2. Fixed a spelling mistake in 2/5 commit message.

Patches in v3 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests: openvswitch: add an initial flow programming casetools/testing/selftests/net/openvswitch/openvswitch.sh tools/testing/selftests/net/openvswitch/ovs-dpctl.py+458 -00 repliesApplied
2/5selftests: openvswitch: support key maskstools/testing/selftests/net/openvswitch/ovs-dpctl.py+64 -320 repliesApplied
3/5selftests: openvswitch: add a test for ipv4 forwardingtools/testing/selftests/net/openvswitch/openvswitch.sh+40 -00 repliesApplied
4/5selftests: openvswitch: add basic ct test case parsingtools/testing/selftests/net/openvswitch/openvswitch.sh tools/testing/selftests/net/openvswitch/ovs-dpctl.py+107 -00 repliesApplied
5/5selftests: openvswitch: add ct-nat test case with ipv4tools/testing/selftests/net/openvswitch/openvswitch.sh tools/testing/selftests/net/openvswitch/ovs-dpctl.py+126 -00 repliesApplied

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAdrian MorenoAaron ConoleSimon Horman
SeriesR-b
1/5R-b
2/5A-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 net-next 0/5] selftests: openvswitch: add flow programming cases

The openvswitch selftests currently contain a few cases for managing the datapath, which includes creating datapath instances, adding interfaces, and doing some basic feature / upcall tests. This is useful to validate the control path.

Add the ability to program some of the more common flows with actions. This can be improved overtime to include regression testing, etc.

v2->v3:
1. Dropped support for ipv6 in nat() case
2. Fixed a spelling mistake in 2/5 commit message.

v1->v2:
1. Fix issue when parsing ipv6 in the NAT action
2. Fix issue calculating length during ctact parsing
3. Fix error message when invalid bridge is passed
4. Fold in Adrian's patch to support key masks

Aaron Conole (4):
selftests: openvswitch: add an initial flow programming case
selftests: openvswitch: add a test for ipv4 forwarding
selftests: openvswitch: add basic ct test case parsing
selftests: openvswitch: add ct-nat test case with ipv4

Adrian Moreno (1):
selftests: openvswitch: support key masks

 .../selftests/net/openvswitch/openvswitch.sh  | 223 +++++++
 .../selftests/net/openvswitch/ovs-dpctl.py    | 588 +++++++++++++++++-
 2 files changed, 787 insertions(+), 24 deletions(-)
Signature · 1 line
2.40.1