On 6/25/24 22:51, Adrian Moreno wrote: > 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 emit_sample to pass it down to psample. > > Signed-off-by: Adrian Moreno <[email protected]> > --- > include/uapi/linux/openvswitch.h | 3 ++- > net/openvswitch/actions.c | 20 +++++++++++++++++--- > net/openvswitch/datapath.h | 3 +++ > net/openvswitch/vport.c | 1 + > 4 files changed, 23 insertions(+), 4 deletions(-)
Reviewed-by: Ilya Maximets <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
