RE: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc action

2017-02-05 Thread Yotam Gigi
>>> netdev@vger.kernel.org; Jiri Pirko ; Elad Raz >>> >>> Subject: Re: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc >action >>> >>> On 02/04/2017 11:58 PM, Yotam Gigi wrote: >>>> The sample tc action allows sampling pa

Re: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc action

2017-02-05 Thread Florian Fainelli
Raz >> >> Subject: Re: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc >> action >> >> On 02/04/2017 11:58 PM, Yotam Gigi wrote: >>> The sample tc action allows sampling packets matching a classifier. It >>> peeks randomly packets, an

RE: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc action

2017-02-05 Thread Yotam Gigi
>-Original Message- >From: Florian Fainelli [mailto:f.faine...@gmail.com] >Sent: Sunday, February 05, 2017 8:37 PM >To: Yotam Gigi ; step...@networkplumber.org; >netdev@vger.kernel.org; Jiri Pirko ; Elad Raz > >Subject: Re: [PATCH iproute2/net-next 1/3] tc: Add supp

Re: [PATCH iproute2/net-next 1/3] tc: Add support for the sample tc action

2017-02-05 Thread Florian Fainelli
On 02/04/2017 11:58 PM, Yotam Gigi wrote: > The sample tc action allows sampling packets matching a classifier. It > peeks randomly packets, and samples them using the psample netlink > channel. The user can specify the psample group, which the packet will be > sampled to, the sampling rate and the

[PATCH iproute2/net-next 1/3] tc: Add support for the sample tc action

2017-02-04 Thread Yotam Gigi
The sample tc action allows sampling packets matching a classifier. It peeks randomly packets, and samples them using the psample netlink channel. The user can specify the psample group, which the packet will be sampled to, the sampling rate and the packet truncation (to save kernel-user traffic).