On Thu, Jul 30, 2015 at 12:02 AM, Wenyu Zhang <wen...@vmware.com> wrote: > When sampling rate is 1, the sampling probability is UINT32_MAX. The packet > should be sampled even the prandom32() generate the number of UINT32_MAX. > And no packet need be sampled when the probability is 0. > > Signed-off-by: Wenyu Zhang <wen...@vmware.com>
Two things: * Can you also fix the implementation of sampling in userspace in lib/odp-execute.c? * Can you send a patch against the upstream Linux kernel to the netdev mailing list? That is the place that kernel code is landing first now. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev