netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] selftests: openvswitch: add support for testing upcall interface
@ 2023-04-14 13:17 Aaron Conole
  2023-04-14 13:17 ` [PATCH net-next 1/3] selftests: openvswitch: add interface support Aaron Conole
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Aaron Conole @ 2023-04-14 13:17 UTC (permalink / raw)
  To: netdev
  Cc: dev, Pravin Shelar, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Ilya Maximets, shuah,
	linux-kselftest

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(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-17  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 13:17 [PATCH net-next 0/3] selftests: openvswitch: add support for testing upcall interface Aaron Conole
2023-04-14 13:17 ` [PATCH net-next 1/3] selftests: openvswitch: add interface support Aaron Conole
2023-04-14 13:17 ` [PATCH net-next 2/3] selftests: openvswitch: add flow dump support Aaron Conole
2023-04-14 13:17 ` [PATCH net-next 3/3] selftests: openvswitch: add support for upcall testing Aaron Conole
2023-04-17  7:20 ` [PATCH net-next 0/3] selftests: openvswitch: add support for testing upcall interface patchwork-bot+netdevbpf

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).