[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170124.134453.806828323728185014.davem@davemloft.net>
Date: Tue, 24 Jan 2017 13:44:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, yotamg@...lanox.com, idosch@...lanox.com,
eladr@...lanox.com, nogahf@...lanox.com, ogerlitz@...lanox.com,
jhs@...atatu.com, geert+renesas@...der.be,
stephen@...workplumber.org, xiyou.wangcong@...il.com,
linux@...ck-us.net, roopa@...ulusnetworks.com,
john.fastabend@...il.com, simon.horman@...ronome.com,
mrv@...atatu.com
Subject: Re: [patch net-next v2 0/4] Add support for offloading
packet-sampling
From: Jiri Pirko <jiri@...nulli.us>
Date: Mon, 23 Jan 2017 11:07:07 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> Yotam says:
>
> The first patch introduces the psample module, a netlink channel dedicated
> to packet sampling implemented using generic netlink. This module provides
> a generic way for kernel modules to sample packets, while not being tied
> to any specific subsystem like NFLOG.
>
> The second patch adds the sample tc action, which uses psample to randomly
> sample packets that match a classifier. The user can configure the psample
> group number, the sampling rate and the packet's truncation (to save
> kernel-user traffic).
>
> The last two patches add the support for offloading the matchall-sample
> tc command in the mlxsw driver, for ingress qdiscs.
>
> An example for psample usage can be found in the libpsample project at:
> https://github.com/Mellanox/libpsample
Series applied, thank you.
Powered by blists - more mailing lists