Re: [PATCH net-next v5 06/10] net: openvswitch: store sampling probability in cb.
From: Eelco Chaudron
Date: Wed Jun 26 2024 - 10:30:39 EST
On 25 Jun 2024, at 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 <amorenoz@xxxxxxxxxx>
Acked-by: Eelco Chaudron <echaudro@xxxxxxxxxx>