summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/openvswitch/ovs-dpctl.py
diff options
context:
space:
mode:
authorAdrian Moreno <amorenoz@redhat.com>2024-07-04 11:56:57 +0300
committerJakub Kicinski <kuba@kernel.org>2024-07-06 03:45:47 +0300
commit71763d8a8203c28178d7be7f18af73d4dddb36ba (patch)
treeb9c506833f49b485c9730a4a19ab277afa92c8f5 /tools/testing/selftests/net/openvswitch/ovs-dpctl.py
parentaae0b82b46cb5004bdf82a000c004d69a0885c33 (diff)
downloadlinux-71763d8a8203c28178d7be7f18af73d4dddb36ba.tar.xz
net: openvswitch: store sampling probability in cb.
When a packet sample is observed, the sampling rate that was used is important to estimate the real frequency of such event. Store the probability of the parent sample action in the skb's cb area and use it in psample action to pass it down to psample module. Reviewed-by: Aaron Conole <aconole@redhat.com> Acked-by: Eelco Chaudron <echaudro@redhat.com> Reviewed-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Link: https://patch.msgid.link/20240704085710.353845-7-amorenoz@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/openvswitch/ovs-dpctl.py')
0 files changed, 0 insertions, 0 deletions