]> www.infradead.org Git - nvme.git/commit
selftests: openvswitch: add psample test
authorAdrian Moreno <amorenoz@redhat.com>
Thu, 4 Jul 2024 08:57:01 +0000 (10:57 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Jul 2024 00:45:48 +0000 (17:45 -0700)
commit30d772a03582bd10447af1bcdd1c731c89b54174
treeaa262e31790be385daa6e5845f0e60c1e4fb0d16
parentb192bf12dbb015d37bb904d61751cad431ceb578
selftests: openvswitch: add psample test

Add a test to verify sampling packets via psample works.

In order to do that, create a subcommand in ovs-dpctl.py to listen to
on the psample multicast group and print samples.

Reviewed-by: Aaron Conole <aconole@redhat.com>
Tested-by: Ilya Maximets <i.maximets@ovn.org>
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Link: https://patch.msgid.link/20240704085710.353845-11-amorenoz@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/openvswitch/openvswitch.sh
tools/testing/selftests/net/openvswitch/ovs-dpctl.py