Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Roopa Prabhu
On Thu, Oct 13, 2016 at 5:45 AM, Jiri Pirko wrote: > Thu, Oct 13, 2016 at 02:30:19PM CEST, j...@mojatatu.com wrote: >>On 16-10-13 08:10 AM, Jiri Pirko wrote: >>> Thu, Oct 13, 2016 at 01:49:07PM CEST, j...@mojatatu.com wrote: >>> > On 16-10-13 04:48 AM, Jiri Pirko wrote: >> >>[..] >>> > Roopa, did

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Jamal Hadi Salim
On 16-10-13 04:48 AM, Jiri Pirko wrote: Thu, Oct 13, 2016 at 09:29:57AM CEST, ro...@cumulusnetworks.com wrote: On 10/12/16, 5:41 AM, Jiri Pirko wrote: From: Jiri Pirko [..] we spoke with yotam about this at netdev1.2. and also remember speaking about this on our switchdev calls: Today our

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Jiri Pirko
Thu, Oct 13, 2016 at 02:30:19PM CEST, j...@mojatatu.com wrote: >On 16-10-13 08:10 AM, Jiri Pirko wrote: >> Thu, Oct 13, 2016 at 01:49:07PM CEST, j...@mojatatu.com wrote: >> > On 16-10-13 04:48 AM, Jiri Pirko wrote: > >[..] >> > Roopa, did you mean eth1 as the new device or did you mean just in >> >

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Jamal Hadi Salim
On 16-10-13 08:10 AM, Jiri Pirko wrote: Thu, Oct 13, 2016 at 01:49:07PM CEST, j...@mojatatu.com wrote: On 16-10-13 04:48 AM, Jiri Pirko wrote: [..] Roopa, did you mean eth1 as the new device or did you mean just in general config requiring a device to be specified or did you mean a new cpu ne

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Jiri Pirko
Thu, Oct 13, 2016 at 01:49:07PM CEST, j...@mojatatu.com wrote: >On 16-10-13 04:48 AM, Jiri Pirko wrote: >> Thu, Oct 13, 2016 at 09:29:57AM CEST, ro...@cumulusnetworks.com wrote: >> > On 10/12/16, 5:41 AM, Jiri Pirko wrote: >> > > From: Jiri Pirko >> > > >[..] >> > >> > we spoke with yotam about

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Roopa Prabhu
On 10/12/16, 5:41 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Add the sample tc action, which allows to sample packet matching > a classifier. The sample action peeks randomly packets, duplicates them, > truncates them and adds informative metadata on the packet, for example, > the input interfac

Re: [patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-13 Thread Jiri Pirko
Thu, Oct 13, 2016 at 09:29:57AM CEST, ro...@cumulusnetworks.com wrote: >On 10/12/16, 5:41 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Add the sample tc action, which allows to sample packet matching >> a classifier. The sample action peeks randomly packets, duplicates them, >> truncates them a

[patch net-next RFC 0/6] Add support for offloading packet-sampling

2016-10-12 Thread Jiri Pirko
From: Jiri Pirko Add the sample tc action, which allows to sample packet matching a classifier. The sample action peeks randomly packets, duplicates them, truncates them and adds informative metadata on the packet, for example, the input interface and the original packet length. The sampled packe