[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150807.120102.2012908835607201190.davem@davemloft.net>
Date: Fri, 07 Aug 2015 12:01:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wenyuz@...are.com
Cc: jgross@...are.com, netdev@...r.kernel.org, dev@...nvswitch.org
Subject: Re: [PATCH net-next v3] openvswitch: Make 100 percents packets
sampled when sampling rate is 1.
From: Wenyu Zhang <wenyuz@...are.com>
Date: Wed, 5 Aug 2015 00:30:47 -0700
> 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 none packet need be sampled when the probability is 0.
>
> Signed-off-by: Wenyu Zhang <wenyuz@...are.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists