Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-14 Thread Yi-Hung Wei
On Wed, Mar 14, 2018 at 2:59 PM, Ben Pfaff wrote: > I posted an alternative proposal: > https://patchwork.ozlabs.org/patch/886052/ > > I haven't checked that this solves the problem, so I would appreciate > testing. Thanks for this fix. With your patch, eth() is printed with

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-14 Thread Ben Pfaff
On Sat, Mar 10, 2018 at 09:30:34AM -0800, Yi-Hung Wei wrote: > Currently, using ofproto/trace to trace a datapath flow with eth_type() > but without eth() may hit unexpected behavior because OVS sets > the packet_type to be (1, eth_type) when decoding the odp flow key. > This patch updates the

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-14 Thread Jiri Benc
On Tue, 13 Mar 2018 09:36:23 -0700, Darrell Ball wrote: > [Darrell] There was no suggestion otherwise in general. We were discussing > for one the difference b/w kernel and userspace DP for handling packet type > aware support. Specifically, the difference is here is as fundamental as it > gets -

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-14 Thread Ben Pfaff
On Tue, Mar 13, 2018 at 09:36:23AM -0700, Darrell Ball wrote: > On Tue, Mar 13, 2018 at 1:24 AM, Jiri Benc wrote: > > > Darell, please fix your email client configuration to conform to > > RFC 3676 (https://tools.ietf.org/html/rfc3676#section-4.5). Your > > replies are

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-13 Thread Darrell Ball
On Tue, Mar 13, 2018 at 1:24 AM, Jiri Benc wrote: > Darell, please fix your email client configuration to conform to > RFC 3676 (https://tools.ietf.org/html/rfc3676#section-4.5). Your > replies are unreadable. In particular, the text you're replying to must > be quoted by ">"

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-13 Thread Jiri Benc
Darell, please fix your email client configuration to conform to RFC 3676 (https://tools.ietf.org/html/rfc3676#section-4.5). Your replies are unreadable. In particular, the text you're replying to must be quoted by ">" character, clearly separating your reply from the original email. Also, wrap

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-12 Thread Darrell Ball
8 21:10 > To: Jan Scheurich <jan.scheur...@ericsson.com>; Darrell Ball <dlu...@gmail.com>; Yi-Hung Wei <yihung@gmail.com> > Cc: ovs dev <d...@openvswitch.org>; Jiri Benc (jb...@redhat.com) <jb...@redhat.com> > Subject: Re: [ovs-dev] [PATCH]

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-12 Thread Jan Scheurich
on.com>; Darrell Ball > <dlu...@gmail.com>; Yi-Hung Wei <yihung@gmail.com> > Cc: ovs dev <d...@openvswitch.org>; Jiri Benc (jb...@redhat.com) > <jb...@redhat.com> > Subject: Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow > > ovs

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-12 Thread Darrell Ball
.org] On Behalf Of Darrell Ball > Sent: Sunday, 11 March, 2018 17:51 > To: Yi-Hung Wei <yihung@gmail.com> > Cc: ovs dev <d...@openvswitch.org> > Subject: Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace wit

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-12 Thread Darrell Ball
ng Wei <yihung@gmail.com> > Cc: ovs dev <d...@openvswitch.org> > Subject: Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow > > Thanks Yi-hung > One minor comment inline. > > > On Sat, Mar 10, 2018 at 9:30 AM,

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-12 Thread Jan Scheurich
v <d...@openvswitch.org> > Subject: Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow > > Thanks Yi-hung > One minor comment inline. > > > On Sat, Mar 10, 2018 at 9:30 AM, Yi-Hung Wei <yihung@gmail.com> wrote: > > > Currently, using ofpr

Re: [ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-11 Thread Darrell Ball
Thanks Yi-hung One minor comment inline. On Sat, Mar 10, 2018 at 9:30 AM, Yi-Hung Wei wrote: > Currently, using ofproto/trace to trace a datapath flow with eth_type() > but without eth() may hit unexpected behavior because OVS sets > the packet_type to be (1, eth_type)

[ovs-dev] [PATCH] odp-util: Fix ofproto/trace with odp flow

2018-03-10 Thread Yi-Hung Wei
Currently, using ofproto/trace to trace a datapath flow with eth_type() but without eth() may hit unexpected behavior because OVS sets the packet_type to be (1, eth_type) when decoding the odp flow key. This patch updates the logic of odp flow key decoding so that the packet_type defaults to (0,0)