netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
To: wenyuz-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org
Cc: dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	jgross-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH net-next v3] openvswitch: Make 100 percents packets sampled when sampling rate is 1.
Date: Fri, 07 Aug 2015 12:01:02 -0700 (PDT)	[thread overview]
Message-ID: <20150807.120102.2012908835607201190.davem@davemloft.net> (raw)
In-Reply-To: <1438759847-27666-1-git-send-email-wenyuz-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>

From: Wenyu Zhang <wenyuz@vmware.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@vmware.com>

Applied.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

      parent reply	other threads:[~2015-08-07 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  7:30 [PATCH net-next v3] openvswitch: Make 100 percents packets sampled when sampling rate is 1 Wenyu Zhang
2015-08-05 18:06 ` [ovs-dev] " Pravin Shelar
     [not found] ` <1438759847-27666-1-git-send-email-wenyuz-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2015-08-07 19:01   ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150807.120102.2012908835607201190.davem@davemloft.net \
    --to=davem-ft/pcqaiutieiz0/mpfg9q@public.gmane.org \
    --cc=dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org \
    --cc=jgross-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=wenyuz-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).