mbox series

[net-next,0/3] selftests: openvswitch: add support for testing upcall interface

Message ID 20230414131750.4185160-1-aconole@redhat.com (mailing list archive)
Headers show
Series selftests: openvswitch: add support for testing upcall interface | expand

Message

Aaron Conole April 14, 2023, 1:17 p.m. UTC
The existing selftest suite for openvswitch will work for regression
testing the datapath feature bits, but won't test things like adding
interfaces, or the upcall interface.  Here, we add some additional
test facilities.

First, extend the ovs-dpctl.py python module to support the OVS_FLOW
and OVS_PACKET netlink families, with some associated messages.  These
can be extended over time, but the initial support is for more well
known cases (output, userspace, and CT).

Next, extend the test suite to test upcalls by adding a datapath,
monitoring the upcall socket associated with the datapath, and then
dumping any upcalls that are received.  Compare with expected ARP
upcall via arping.

Aaron Conole (3):
  selftests: openvswitch: add interface support
  selftests: openvswitch: add flow dump support
  selftests: openvswitch: add support for upcall testing

 .../selftests/net/openvswitch/openvswitch.sh  |   89 +-
 .../selftests/net/openvswitch/ovs-dpctl.py    | 1276 ++++++++++++++++-
 2 files changed, 1349 insertions(+), 16 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 17, 2023, 7:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri, 14 Apr 2023 09:17:47 -0400 you wrote:
> The existing selftest suite for openvswitch will work for regression
> testing the datapath feature bits, but won't test things like adding
> interfaces, or the upcall interface.  Here, we add some additional
> test facilities.
> 
> First, extend the ovs-dpctl.py python module to support the OVS_FLOW
> and OVS_PACKET netlink families, with some associated messages.  These
> can be extended over time, but the initial support is for more well
> known cases (output, userspace, and CT).
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] selftests: openvswitch: add interface support
    https://git.kernel.org/netdev/net-next/c/74cc26f416b9
  - [net-next,2/3] selftests: openvswitch: add flow dump support
    https://git.kernel.org/netdev/net-next/c/e52b07aa1a54
  - [net-next,3/3] selftests: openvswitch: add support for upcall testing
    https://git.kernel.org/netdev/net-next/c/9feac87b673c

You are awesome, thank you!