Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-28 Thread Jesse Gross
On Wed, May 27, 2015 at 10:57 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 27, 2015 at 9:16 PM, Jesse Gross je...@nicira.com wrote: On Wed, May 27, 2015 at 7:46 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 27, 2015 at 2:10 PM, Jesse Gross je...@nicira.com wrote: On Fri,

Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-27 Thread Jesse Gross
On Fri, May 22, 2015 at 10:53 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 20, 2015 at 12:32 PM, Neil McKee neil.mc...@inmon.com wrote: diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index b491c1c..ee5760d 100644 --- a/net/openvswitch/actions.c +++

Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-27 Thread Pravin Shelar
On Wed, May 27, 2015 at 2:10 PM, Jesse Gross je...@nicira.com wrote: On Fri, May 22, 2015 at 10:53 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 20, 2015 at 12:32 PM, Neil McKee neil.mc...@inmon.com wrote: diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index

Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-27 Thread Jesse Gross
On Wed, May 27, 2015 at 7:46 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 27, 2015 at 2:10 PM, Jesse Gross je...@nicira.com wrote: On Fri, May 22, 2015 at 10:53 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 20, 2015 at 12:32 PM, Neil McKee neil.mc...@inmon.com wrote: diff

Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-27 Thread Pravin Shelar
On Wed, May 27, 2015 at 9:16 PM, Jesse Gross je...@nicira.com wrote: On Wed, May 27, 2015 at 7:46 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 27, 2015 at 2:10 PM, Jesse Gross je...@nicira.com wrote: On Fri, May 22, 2015 at 10:53 AM, Pravin Shelar pshe...@nicira.com wrote: On Wed,

[PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-22 Thread Neil McKee
If new optional attribute OVS_USERSPACE_ATTR_ACTIONS is added to an OVS_ACTION_ATTR_USERSPACE action, then include the datapath actions in the upcall. This Directly associates the sampled packet with the path it takes through the virtual switch. Path information currently includes mangling,

Re: [PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-22 Thread Pravin Shelar
On Wed, May 20, 2015 at 12:32 PM, Neil McKee neil.mc...@inmon.com wrote: Directly associate a sampled packet with the path it takes through the virtual switch. Path information currently includes mangling, encapsulation and decapsulation actions for tunneling protocols GRE, VXLAN, Geneve,

[PATCH net-next] openvswitch: include datapath actions with sampled-packet upcall to userspace

2015-05-20 Thread Neil McKee
Directly associate a sampled packet with the path it takes through the virtual switch. Path information currently includes mangling, encapsulation and decapsulation actions for tunneling protocols GRE, VXLAN, Geneve, MPLS and QinQ, but this extension requires no further changes to accommodate