2017-01-20 5:59 GMT-08:00 Jan Scheurich :
>
>
> On 2017-01-18 17:32, Kevin Traynor wrote:
>>
>> On 01/18/2017 01:34 AM, Daniele Di Proietto wrote:
>>>
>>> 2017-01-17 11:43 GMT-08:00 Kevin Traynor :
On 01/17/2017 05:43 PM, Ciara Loftus wrote:
Add logic to detect whether datapath support clone.
Enhance the xlate logic to make use of it.
Added logic to turn on/off clone support for testing.
Signed-off-by: Andy Zhou
Acked-by: Jarno Rajahalme
---
ofproto/ofproto-dpif-xlate.c | 38
Add support for userspace datapath clone action. The clone action
provides an action envelope to enclose an action list.
For example, with actions A, B, C and D, and an action list:
A, clone(B, C), D
The clone action will ensure that:
- D will see the same packet, and any meta states,
On Fri, Jan 20, 2017 at 2:48 PM, Ben Pfaff wrote:
> This feature is useful for centralized gateways.
>
> Signed-off-by: Ben Pfaff
>
Acked-by: Mickey Spiegel
I think there is some missing functionality in ovn-trace.c.
It looks to me like
On Fri, Jan 20, 2017 at 2:48 PM, Ben Pfaff wrote:
> Until now, formatting the "next" action has always required including
> the table number, because the action struct didn't include enough context
> so that the formatter could decide whether the table number was the next
> table
On Fri, Jan 20, 2017 at 3:33 PM, Ben Pfaff wrote:
> On Fri, Jan 20, 2017 at 03:17:19PM -0800, Mickey Spiegel wrote:
> > On Fri, Jan 20, 2017 at 2:43 PM, Ben Pfaff wrote:
> >
> > > On Fri, Jan 20, 2017 at 12:29:49PM -0800, Mickey Spiegel wrote:
> > > > On Fri, Jan 20,
On Fri, Jan 20, 2017 at 03:17:19PM -0800, Mickey Spiegel wrote:
> On Fri, Jan 20, 2017 at 2:43 PM, Ben Pfaff wrote:
>
> > On Fri, Jan 20, 2017 at 12:29:49PM -0800, Mickey Spiegel wrote:
> > > On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
> > >
> > > > I believe
Previously, if a flow action that involves a tunnel metadata meta-flow
field is dumped from vswitchd, the replied field length in the OXM header
is filled with the maximum possible field length, instead of the length
configured in the tunnel TLV mapping table. To solve this issue, this patch
This feature is useful for centralized gateways.
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 63 --
ovn/controller/lflow.c| 7 +++--
ovn/lib/actions.c | 70 ---
This isn't used yet by the actions code, but an upcoming commit will
introduce a user. This commit just adjusts ovn-trace to use this common
type instead of its own local type.
Signed-off-by: Ben Pfaff
Acked-by: Mickey Spiegel
---
include/ovn/actions.h
These actions aren't very similar but until now they both had the same
action structure. These structures are going to diverge in an upcoming
commit, so separate them now.
Signed-off-by: Ben Pfaff
Acked-by: Mickey Spiegel
---
include/ovn/actions.h | 10
I believe that, with these patches, egress loopback as proposed by Mickey's
patches can be implemented with:
clone { inport = outport; outport = ""; flags = 0;
reg0 = 0; reg1 = 0; ... regN = 0;
next(pipeline=ingress, table=0); }
v1->v2:
- Patches 1, 2, and 3 applied
On Fri, Jan 20, 2017 at 12:29:49PM -0800, Mickey Spiegel wrote:
> On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
>
> > I believe that, with these patches, egress loopback as proposed by Mickey's
> > patches can be implemented with:
> > clone { inport = outport; outport = "";
On Fri, Jan 20, 2017 at 09:16:25AM -0800, Ben Pfaff wrote:
> Before this commit, the OVN action parser would accept "arp {};" and then
> the formatter would format it back as "arp { drop; };", but the parser
> didn't accept the latter. There were basically two choices: make the
> parser accept
I did a bad job on this patch. I've rewritten it and will repost.
On Fri, Jan 20, 2017 at 11:51:56AM -0800, Mickey Spiegel wrote:
> On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
>
> > Until now, formatting the "next" action has always required including
> > the table number,
On Fri, Jan 20, 2017 at 11:17:53AM -0800, Mickey Spiegel wrote:
> On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
>
> > Signed-off-by: Ben Pfaff
> >
>
> Acked-by: Mickey Spiegel
>
> One comment below, found a copy/paste error in
On Fri, Jan 20, 2017 at 11:06 AM, Jarno Rajahalme wrote:
>
> > On Jan 19, 2017, at 11:07 PM, Andy Zhou wrote:
> >
> > When ofproto probe for datapath features, no packets should actually
> > be sent to the network. This pactch fixes the userspace by dropping
> >
On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
> I believe that, with these patches, egress loopback as proposed by Mickey's
> patches can be implemented with:
> clone { inport = outport; outport = ""; flags.loopback = 0;
> reg0 = 0; reg1 = 0; ... regN = 0;
>
Estimado Cliente:
Le hacemos llegar el programa de capacitación correspondiente al mes de Febrero
del ao en curso.
- Auditorías para la adquisición de empresas: Due Diligence - 2 de Febrero
- Matemáticas Financieras y Evaluación de Proyectos de Inversión - 3 de Febrero
- Habilidades de
On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
> Until now, formatting the "next" action has always required including
> the table number, because the action struct didn't include enough context
> so that the formatter could decide whether the table number was the next
> table
On Fri, Jan 20, 2017 at 9:16 AM, Ben Pfaff wrote:
> Signed-off-by: Ben Pfaff
>
Acked-by: Mickey Spiegel
One comment below, found a copy/paste error in ovn-sb.xml.
---
> include/ovn/actions.h | 5 ++--
> ovn/lib/actions.c | 61
Acked-by: Jarno Rajahalme
> On Jan 19, 2017, at 11:07 PM, Andy Zhou wrote:
>
> Add logic to detect whether datapath support clone.
> Enhance the xlate logic to make use of it.
> Added logic to turn on/off clone support for testing.
>
> Signed-off-by: Andy Zhou
> On Jan 19, 2017, at 11:07 PM, Andy Zhou wrote:
>
> Add support for userspace datapath clone action. The clone action
> provides an action envelope to enclose an action list.
> For example, with actions A, B, C and D, and an action list:
> A, clone(B, C), D
>
> The clone
> On Jan 19, 2017, at 11:07 PM, Andy Zhou wrote:
>
> When ofproto probe for datapath features, no packets should actually
> be sent to the network. This pactch fixes the userspace by dropping
> probe packets before action execution.
>
> Signed-off-by: Andy Zhou
>
On Fri, Jan 20, 2017 at 03:38:11PM +, László Sürü wrote:
> Thanks! It looks working for the first tests.
Thanks. I applied this to master and the branches back to 2.5.x.
> In plus I propose to add some more printouts to the error cases in
> build_tunnel_send() which helped me to understand
On Tue, Jan 17, 2017 at 01:45:05AM -0800, Mickey Spiegel wrote:
> This patch adds an action that loops a clone of the packet back to the
> beginning of the ingress pipeline with logical inport equal to the value
> of the current logical outport. The following actions are executed on
> the clone:
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 1 +
ovn/lib/actions.c | 16
ovn/ovn-sb.xml| 4
ovn/utilities/ovn-trace.c | 1 +
tests/ovn.at | 4
5 files changed, 26 insertions(+)
diff --git
This feature is useful for centralized gateways.
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 63 +++--
ovn/controller/lflow.c| 7 +++--
ovn/lib/actions.c | 72 ---
This isn't used yet by the actions code, but an upcoming commit will
introduce a user. This commit just adjusts ovn-trace to use this common
type instead of its own local type.
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 6 ++
ovn/utilities/ovn-trace.c | 42
Until now, formatting the "next" action has always required including
the table number, because the action struct didn't include enough context
so that the formatter could decide whether the table number was the next
table or some other table. This is more or less OK, but an upcoming commit
will
These actions aren't very similar but until now they both had the same
action structure. These structures are going to diverge in an upcoming
commit, so separate them now.
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 10 --
ovn/lib/actions.c | 11 ---
Signed-off-by: Ben Pfaff
---
include/ovn/actions.h | 5 ++--
ovn/lib/actions.c | 61 ---
ovn/ovn-sb.xml| 10
ovn/utilities/ovn-trace.c | 21 +++-
tests/ovn.at | 5
5 files
In some cases multiple kinds of OVN action share the same structure. In
all of these cases, a given kind of structure is freed one particular way
(it would be confusing if this were not the case), so there's no benefit
in having per-action free functions. Therefore, this commit switches to
a
Without this change, lexer_force_match(lex, LEX_T_END) mostly works, except
that in the failure case it emits an error that says "expecting `$'",
which is a surprising error message.
Arguably, lexer_force_end() could be removed entirely, but I don't see a
real problem with the existing
Before this commit, the OVN action parser would accept "arp {};" and then
the formatter would format it back as "arp { drop; };", but the parser
didn't accept the latter. There were basically two choices: make the
parser accept "arp { drop; };" or make the formatter output "arp {};"
(or both).
I believe that, with these patches, egress loopback as proposed by Mickey's
patches can be implemented with:
clone { inport = outport; outport = ""; flags.loopback = 0;
reg0 = 0; reg1 = 0; ... regN = 0;
next(pipeline=ingress, table=0); }
Ben Pfaff (10):
actions: Fix
OVN logical actions are supposed to be padded to a multiple of 8 bytes,
but the code for parsing "arp" and "nd_na" actions didn't do this properly.
The result was that it worked OK if one of these actions was the last one
in a sequence of logical actions, but failed badly if they were in the
Thanks! It looks working for the first tests.
In plus I propose to add some more printouts to the error cases in
build_tunnel_send() which helped me to understand the root cause.
What would be the next step for the correction?
Best regards
Laszlo
-Original Message-
From: Ben Pfaff
>
> On 01/12/2017 04:49 PM, Ciara Loftus wrote:
> > This patch is part of the OVS-DPDK performance optimizations presented
> > on the OVS fall conference
> > (http://openvswitch.org/support/ovscon2016/8/1400-gray.pdf)
> >
> > The Exact Match Cache does not perform well in use cases with a high
>
From: Sugesh Chandran
Openvswitch datapath recirculates packets for tunneling, i.e.
the incoming packets are encapsulated at first pass. Further actions are
applied on encapsulated packets on the second pass after recirculating.
The proposed patch compute and append
From: Sugesh Chandran
Following tunneling specific test cases are failing due to the introduction of
new CLONE action for the tunnel push.
769: tunnel_push_pop_ipv6 - action FAILED
(tunnel-push-pop-ipv6.at:92)
767: tunnel_push_pop - action
From: Sugesh Chandran
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This patch set removes the recirculation of encapsulated tunnel packets by
computing the post tunnel actions at the time of translation.
42 matches
Mail list logo