[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140422.212926.1630952101567041636.davem@davemloft.net>
Date: Tue, 22 Apr 2014 21:29:26 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: chema@...gle.com
Cc: edumazet@...gle.com, dborkman@...hat.com, ast@...mgrid.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] filter: added BPF random opcode
From: Chema Gonzalez <chema@...gle.com>
Date: Mon, 21 Apr 2014 09:21:24 -0700
> Added a new ancillary load (bpf call in eBPF parlance) that produces
> a 32-bit random number. We are implementing it as an ancillary load
> (instead of an ISA opcode) because (a) it is simpler, (b) allows easy
> JITing, and (c) seems more in line with generic ISAs that do not have
> "get a random number" as a instruction, but as an OS call.
>
> The main use for this ancillary load is to perform random packet sampling.
>
> Signed-off-by: Chema Gonzalez <chema@...gle.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