[ovs-dev] Sampling in datapath

Jesse Gross jesse at kernel.org
Wed Jun 29 19:43:24 UTC 2016


It's the same.

On Wed, Jun 29, 2016 at 11:34 AM, Marcelo Caggiani Luizelli
<mcluizelli at gmail.com> wrote:
> Hi,
>
> Thanks. What about the DPDK implementation? Is the datapath implementation
> the same? Just running in userspace?
>
> Marcelo.
>
> On Wed, Jun 29, 2016 at 6:09 PM, Jesse Gross <jesse at kernel.org> wrote:
>>
>> On Wed, Jun 29, 2016 at 7:45 AM, Marcelo Caggiani Luizelli
>> <mcluizelli at gmail.com> wrote:
>> > Hi,
>> >
>> > I've seen that there is an implementation of sampling function in the
>> > ovs
>> > linux datapath (in file datapath/actions.c). The issue is that this
>> > functions is sending the packet to userspace (usually used by ipix/sflow
>> > sampling). Is there a way to send a traffic sampling straight to a
>> > virtual
>> > port? It seems that the functions is generic enough to support other
>> > actions, but I couldn't make it work properly.
>>
>> The kernel implementation should be flexible enough but you'll need to
>> extend userspace to actually emit actions to do this since there's no
>> way to configure it currently. It's also possible that there are bugs
>> since it has only ever been used for sending packets to userspace.
>
>
>
>
> --
> Marcelo Caggiani Luizelli
> Phd Student in Computer Science
> +55 51 8289 2365
> www.inf.ufrgs.br/~mcluizelli



More information about the dev mailing list