Re: [ovs-dev] [PATCH] ofp-actions: Correct execution of encap/decap actions in action set

2018-05-07 Thread Yang, Yi Y
jan.scheur...@ericsson.com] Sent: Monday, April 9, 2018 3:12 PM To: Yang, Yi Y ; d...@openvswitch.org Subject: RE: [PATCH] ofp-actions: Correct execution of encap/decap actions in action set Hi Yi, The assertion failure is indeed caused by the incorrect implementation of double encap() and should be fi

Re: [ovs-dev] [PATCH] ofp-actions: Correct execution of encap/decap actions in action set

2018-04-08 Thread Yang, Yi Y
ssage- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Monday, March 26, 2018 3:36 PM To: d...@openvswitch.org Cc: Yang, Yi Y ; Jan Scheurich Subject: [PATCH] ofp-actions: Correct execution of encap/decap actions in action set The actions encap, decap and dec_nsh_ttl were wrongly flagg

Re: [ovs-dev] OVS will hit an assert if encap(nsh) is done in bucket of group

2018-03-25 Thread Yang, Yi Y
Jan, thank you so much, very exhaustive analysis :), I'll double check your fix patch. From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Sunday, March 25, 2018 9:09 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Zoltán Balogh Subject: RE: OVS will hit an assert if encap(nsh) is

Re: [ovs-dev] when the physical compute receive vxlan-gpe-nsh packet whose size>256, the ovs flow table not match and ovs crash.

2018-03-15 Thread Yang, Yi Y
Ovs 2.8 can't support kernel data path for NSH, are you sure you're using OVS-DPDK. -Original Message- From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-boun...@openvswitch.org] On Behalf Of Glend REN Sent: Friday, March 9, 2018 7:33 PM To: ovs-dev@openvswitch.org Subject: [ovs-dev]

Re: [ovs-dev] [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode

2018-01-31 Thread Yang, Yi Y
ry 1, 2018 5:10 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode On Wed, Jan 31, 2018 at 02:12:14PM +0000, Yang, Yi Y wrote: > Hi, Eric > > My kernel is 4.13.0-rc6, so I'm very sure it can support

Re: [ovs-dev] [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode

2018-01-31 Thread Yang, Yi Y
vironment has two vagrant VMs, each one VM starts two containers which play SF roles, end-to-end ping and http are both ok. -Original Message- From: Eric Garver [mailto:e...@erig.me] Sent: Tuesday, January 30, 2018 9:53 PM To: Yang, Yi Y Cc: Gregory Rose ; d...@openvswitch.org Subject: Re

Re: [ovs-dev] [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode

2018-01-30 Thread Yang, Yi Y
00 dev at_vxlan1 “ failed, Eric, what linux distribution do you know I can run “ping over VXLAN-GPE” successfully, I’ll use it as baseline to add NSH unit test for kernel data path. From: Gregory Rose [mailto:gvrose8...@gmail.com] Sent: Tuesday, January 30, 2018 1:51 AM To: Yang, Yi Y ; d...@openvswitch.

Re: [ovs-dev] [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode

2018-01-29 Thread Yang, Yi Y
AM To: Yang, Yi Y ; d...@openvswitch.org Cc: b...@ovn.org; jan.scheur...@ericsson.com Subject: Re: [PATCH v1 0/5] datapath: enable NSH support in kernel compat mode On 1/10/2018 11:53 PM, Yi Yang wrote: This patch series is to backport NSH support patches in Linux net-next tree to OVS in order

[ovs-dev] FYI: NSH is an ITEF standard RFC 8300 now

2018-01-17 Thread Yang, Yi Y
NSH RFC: https://tools.ietf.org/html/rfc8300 ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] nsh: rework NSH netlink keys and actions

2017-08-17 Thread Yang, Yi Y
y. If other guys think your change is reasonable enough, I will send out next version with this, but now I don't think we have strong reason to change it. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Thursday, August 17, 2017 8:04 PM To: Yang,

Re: [ovs-dev] Compliance of NSH implementation with latest NSH draft

2017-08-16 Thread Yang, Yi Y
[mailto:jan.scheur...@ericsson.com] Sent: Thursday, August 17, 2017 12:22 AM To: Yang, Yi Y ; Zoltán Balogh Cc: Ben Pfaff (b...@ovn.org) ; Jiri Benc (jb...@redhat.com) ; 'ovs-dev@openvswitch.org' ; Eric Garver Subject: Compliance of NSH implementation with latest NSH draft I checked the IETF t

Re: [ovs-dev] [PATCH net-next v2] openvswitch: enable NSH support

2017-08-11 Thread Yang, Yi Y
SH is not tunnel, so it has to be changed to support both Geneve and NSH. Anyway, they won't be part of ovs_key_nsh. -Original Message- From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On Behalf Of Jiri Benc Sent: Friday, August 11, 2017 5:11 PM To: Yang, Yi

Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-09 Thread Yang, Yi Y
Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Thursday, August 10, 2017 4:54 AM To: Yang, Yi Y Cc: Jan Scheurich ; d...@openvswitch.org; net...@vger.kernel.org; Jiri Benc ; da...@davemloft.net; Zoltán Balogh Subject: Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

Re: [ovs-dev] [PATCH v1 1/2] nsh: enable struct ovs_action_encap_nsh to support variable length

2017-08-09 Thread Yang, Yi Y
Noticed, please check the reply for that one. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Thursday, August 10, 2017 4:04 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [PATCH v1 1/2] nsh: enable struct ovs_action_encap_nsh to support variable length I gave

Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-09 Thread Yang, Yi Y
struct ovs_action_encap_nsh? I mean how we handle the arguments for function encap_nsh. -Original Message- From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On Behalf Of Ben Pfaff Sent: Thursday, August 10, 2017 2:09 AM To: Yang, Yi Y Cc: Jan Scheurich ; d

Re: [ovs-dev] [PATCH v1 1/2] nsh: enable struct ovs_action_encap_nsh to support variable length

2017-08-09 Thread Yang, Yi Y
: Ben Pfaff [mailto:b...@ovn.org] Sent: Thursday, August 10, 2017 2:01 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [PATCH v1 1/2] nsh: enable struct ovs_action_encap_nsh to support variable length On Wed, Aug 09, 2017 at 07:45:13PM +0800, Yi Yang wrote: > In order to adapt to MD type

Re: [ovs-dev] [PATCH] nsh: enable struct ovs_action_encap_nsh to support variable length

2017-08-09 Thread Yang, Yi Y
Please ignore this one and use this series https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/337128.html which includes this one. -Original Message- From: Yang, Yi Y Sent: Wednesday, August 9, 2017 5:56 PM To: d...@openvswitch.org Cc: b...@ovn.org; Yang, Yi Y Subject: [PATCH

Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-09 Thread Yang, Yi Y
break; } -nl_msg_put_unspec(odp_actions, OVS_ACTION_ATTR_ENCAP_NSH, - &encap_nsh, sizeof(encap_nsh)); +size = sizeof(struct ovs_action_encap_nsh) + + ROUND_UP(encap_nsh->mdlen, 4); + pad_len = size - sizeof(struct ovs_action_encap_nsh) +

Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support

2017-08-08 Thread Yang, Yi Y
d to set the content of the header. Again, OVS userspace code must be consistent with here, so keeping it intact will be better because OVS userspace code was there. -Original Message- From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On Behalf Of Jiri Benc Sent: Tue

Re: [ovs-dev] [PATCH v4 0/5] Generic Encap & Decap based NSH implementation

2017-08-07 Thread Yang, Yi Y
Ben, thank you so much, we're done finally and hit ovs 2.8. Here is the patch for NEWS. https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/336952.html Is it ok? -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Tuesday, August 8, 2017 2:34 AM To: Yang, Yi Y

Re: [ovs-dev] [PATCH v3 5/6] Generic encap and decap support for NSH

2017-08-04 Thread Yang, Yi Y
- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Saturday, August 5, 2017 4:39 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich Subject: Re: [PATCH v3 5/6] Generic encap and decap support for NSH On Thu, Aug 03, 2017 at 09:14:59AM +0800, Yi Yang wrote: > From: Jan Scheurich >

Re: [ovs-dev] [PATCH v3 4/6] userspace: add NSH support to vxlan-gpe tunnels

2017-08-04 Thread Yang, Yi Y
Patch 5 in v4 (patch 6 in v3) has covered this. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Saturday, August 5, 2017 4:13 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich Subject: Re: [PATCH v3 4/6] userspace: add NSH support to vxlan-gpe tunnels On Thu

Re: [ovs-dev] [PATCH v3 3/6] Adding nsh.at for NSH unit tests

2017-08-04 Thread Yang, Yi Y
Fixed in the new version v4. https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/336864.html -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Saturday, August 5, 2017 4:11 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich Subject: Re: [PATCH v3 3/6

Re: [ovs-dev] [PATCH v3 2/6] userspace: enable set_field support for nsh fields

2017-08-04 Thread Yang, Yi Y
: Ben Pfaff [mailto:b...@ovn.org] Sent: Saturday, August 5, 2017 3:59 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich Subject: Re: [PATCH v3 2/6] userspace: enable set_field support for nsh fields On Thu, Aug 03, 2017 at 09:14:56AM +0800, Yi Yang wrote: > From: Jan Scheurich > &g

Re: [ovs-dev] [PATCH v3 1/6] userspace: Add support for NSH MD1 match fields

2017-08-04 Thread Yang, Yi Y
: Saturday, August 5, 2017 2:19 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich Subject: Re: [PATCH v3 1/6] userspace: Add support for NSH MD1 match fields On Thu, Aug 03, 2017 at 09:14:55AM +0800, Yi Yang wrote: > From: Jan Scheurich > > This patch adds support for NSH pack

Re: [ovs-dev] [PATCH v2 0/6] Generic Encap & Decap based NSH implementation

2017-08-02 Thread Yang, Yi Y
Hi, Ben I have fixed all the errors and warnings reported by checkpatch as well as a comment you mentioned and posted out v3, please use the new one for review or merge. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Thursday, August 3, 2017 6:40 AM To: Yang, Yi Y Cc

Re: [ovs-dev] RFC: Let's branch for 2.8 today

2017-08-02 Thread Yang, Yi Y
-Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, August 2, 2017 11:47 PM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] RFC: Let's branch for 2.8 today We'd very much like for 2.8 to include NSH support. We are already about a month late on

Re: [ovs-dev] [PATCH v4 1/2] OF support and translation of generic encap and decap

2017-08-02 Thread Yang, Yi Y
1, 2017 11:56 PM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich ; Zoltan Balogh Subject: Re: [PATCH v4 1/2] OF support and translation of generic encap and decap On Tue, Aug 01, 2017 at 08:06:59PM +0800, Yi Yang wrote: > From: Jan Scheurich > > This commit adds suppor

Re: [ovs-dev] RFC: Let's branch for 2.8 today

2017-08-01 Thread Yang, Yi Y
Hi, Ben Ericsson, Redhat and Intel has thought OVS 2.8 would include NSH support, there are some projects depending on this, for example, Opendaylight (Openflowplugin, SFC and NetVirt), OPNFV and Openstack (networking-sfc). This email is long and easy to make people misunderstand :-) my readout

Re: [ovs-dev] [PATCH v4 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
(0x2000,20,0xfedcba9876543210)) -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, August 2, 2017 7:17 AM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich ; Zoltan Balogh Subject: Re: [PATCH v4 1/2] OF support and translation of generic encap and decap encap(hdr=nsh

Re: [ovs-dev] [PATCH v4 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
...@ovn.org] Sent: Tuesday, August 1, 2017 11:56 PM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich ; Zoltan Balogh Subject: Re: [PATCH v4 1/2] OF support and translation of generic encap and decap On Tue, Aug 01, 2017 at 08:06:59PM +0800, Yi Yang wrote: > From: Jan Scheurich >

Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
Got it, thanks a lot. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, August 2, 2017 6:51 AM To: Yang, Yi Y Cc: Zoltán Balogh ; d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap I don't under

Re: [ovs-dev] [PATCH v4 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
ide a format you prefer to handle this use case? -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Tuesday, August 1, 2017 11:56 PM To: Yang, Yi Y Cc: d...@openvswitch.org; Jan Scheurich ; Zoltan Balogh Subject: Re: [PATCH v4 1/2] OF support and translation of generic enca

Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
Yang, Yi Y Cc: Zoltán Balogh ; d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap On Tue, Aug 01, 2017 at 12:32:20PM +0000, Yang, Yi Y wrote: > #2. > [Ben] I suspect that decode_NXAST_RAW_DECAP() should report an error if >

Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap

2017-08-01 Thread Yang, Yi Y
Hi, Ben I have posted v4, they are: https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/336504.html https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/336505.html https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/336506.html I have fixed most of issues you commented, I ne

Re: [ovs-dev] [PATCH v3 1/2] OF support and translation of generic encap and decap

2017-07-31 Thread Yang, Yi Y
Hi, Ben Thank you so much for your great review and great comments, I'll do changes per your comments and post next version because Zoltan and Jan are taking vacation. I explained your concerns [Ben] The string format of the encap actions seems rather user unfriendly. Is there a good reason

Re: [ovs-dev] [PATCH v3 0/2] basic encap/decap

2017-07-25 Thread Yang, Yi Y
Hi, folks It seems Ben is out of office in these days, can anybody help review or merge this patch series? I heard 2.8 branch would be created end of July, but we still have NSH patch series waiting for review except this series. -Original Message- From: ovs-dev-boun...@openvswitch.org

Re: [ovs-dev] [PATCH 5/6] Generic encap and decap support for NSH

2017-07-22 Thread Yang, Yi Y
ginal Message- From: Jiri Benc [mailto:jb...@redhat.com] Sent: Friday, July 21, 2017 8:08 PM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH 5/6] Generic encap and decap support for NSH My comments apply more to the yet to be submitted kernel part. Until then, I agr

Re: [ovs-dev] [PATCH 1/6] userspace: Add support for NSH MD1 match fields

2017-07-17 Thread Yang, Yi Y
Thanks Jan, I have folded it to my local branch and will include it in next version. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Tuesday, July 18, 2017 12:30 AM To: Yang, Yi Y ; d...@openvswitch.org Cc: Mengke Liu ; Li, Ricky ; Li, Johnson Subject

Re: [ovs-dev] [PATCH 5/6] Generic encap and decap support for NSH

2017-07-17 Thread Yang, Yi Y
Thanks Jan, I have folded it to my local branch and will include it in next version. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Tuesday, July 18, 2017 12:34 AM To: Yang, Yi Y ; d...@openvswitch.org Subject: RE: [PATCH 5/6] Generic encap and decap

Re: [ovs-dev] [PATCH v1 0/2] Add GTP vport based on upstream datapath

2017-07-17 Thread Yang, Yi Y
gtp_u; }; -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Tuesday, July 18, 2017 6:39 AM To: Yang, Yi Y ; Amar Padmanabhan ; Joe Stringer ; Wieger IJntema Cc: ovs dev ; Pablo Neira Ayuso ; Harald Welte Subject: RE: [ovs-dev] [PATCH v1 0/2] Add GTP vport bas

Re: [ovs-dev] [PATCH v1 0/2] Add GTP vport based on upstream datapath

2017-07-17 Thread Yang, Yi Y
Jan, for the use case you mentioned, outer IP destination of the GPT-u packet must be IP address of generic UDP tunnel port, but in the actual use case (especially for ETSI MEC use case), the destination IP of the GTP-u packet isn't ovs host node's IP, so this kind of use case needn't tunnel por

Re: [ovs-dev] [PATCH 5/6] Generic encap and decap support for NSH

2017-07-16 Thread Yang, Yi Y
Thanks Jan, I have folded it to next version. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Monday, July 17, 2017 2:57 AM To: Yang, Yi Y ; d...@openvswitch.org Subject: RE: [PATCH 5/6] Generic encap and decap support for NSH Hi Yi, The following

Re: [ovs-dev] [PATCH 0/6] Generic Encap & Decap based NSH implementation

2017-07-16 Thread Yang, Yi Y
Thanks Jan, I have folded it to next version. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Monday, July 17, 2017 2:52 AM To: Yang, Yi Y ; d...@openvswitch.org Subject: RE: [ovs-dev] [PATCH 0/6] Generic Encap & Decap based NSH implementation H

Re: [ovs-dev] [PATCH 5/6] Generic encap and decap support for NSH

2017-07-16 Thread Yang, Yi Y
Thanks Jan, I have folded it to next version. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Monday, July 17, 2017 2:49 AM To: Yang, Yi Y ; d...@openvswitch.org Subject: RE: [PATCH 5/6] Generic encap and decap support for NSH Hi Yi, The following

Re: [ovs-dev] [PATCH 1/4] Add OF actions for generic encap and decap

2017-07-13 Thread Yang, Yi Y
i Benc (jb...@redhat.com) ; Yang, Yi Y Subject: RE: [PATCH 1/4] Add OF actions for generic encap and decap The simple way out is to use ALIGNED_CAST instead. diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index 04dd048..cc19db4 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -4189

Re: [ovs-dev] [PATCH 1/4] Add OF actions for generic encap and decap

2017-07-13 Thread Yang, Yi Y
July 14, 2017 1:22 AM To: Zoltán Balogh Cc: 'd...@openvswitch.org' ; Jan Scheurich ; Georg Schmuecking ; Jiri Benc (jb...@redhat.com) ; Yang, Yi Y Subject: Re: [PATCH 1/4] Add OF actions for generic encap and decap On Thu, Jul 13, 2017 at 04:49:09PM +, Zoltán Balogh wro

Re: [ovs-dev] [PATCH 2/4] Translation of generic encap and decap actions

2017-07-11 Thread Yang, Yi Y
Zoltan will do that. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, July 12, 2017 11:59 AM To: Yang, Yi Y Cc: Zoltán Balogh ; 'd...@openvswitch.org' ; Jan Scheurich ; Georg Schmuecking ; Jiri Benc (jb...@redhat.com) Subject: Re: [PATCH 2/4] Tran

Re: [ovs-dev] [PATCH 2/4] Translation of generic encap and decap actions

2017-07-11 Thread Yang, Yi Y
, 2017 8:28 AM To: Zoltán Balogh Cc: 'd...@openvswitch.org' ; Jan Scheurich ; Georg Schmuecking ; Yang, Yi Y ; Jiri Benc (jb...@redhat.com) Subject: Re: [PATCH 2/4] Translation of generic encap and decap actions On Fri, Jun 30, 2017 at 03:29:32PM +, Zoltán Balogh wrote: > From:

Re: [ovs-dev] [PATCH 1/6] userspace: Add support for NSH MD1 match fields

2017-07-11 Thread Yang, Yi Y
Ok, will do. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Wednesday, July 12, 2017 2:29 AM To: Yang, Yi Y Cc: ovs dev ; Li, Ricky ; Mengke Liu Subject: Re: [ovs-dev] [PATCH 1/6] userspace: Add support for NSH MD1 match fields On 7 July 2017 at 16:44, Yang, Yi Y

Re: [ovs-dev] [PATCH 1/6] userspace: Add support for NSH MD1 match fields

2017-07-07 Thread Yang, Yi Y
Joe, NSH for kernel datapath will be coming once this series is merged, do we need to do so yet? -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Friday, July 7, 2017 6:04 PM To: Yang, Yi Y Cc: ovs dev ; Li, Ricky ; Mengke Liu Subject: Re: [ovs-dev] [PATCH 1/6

Re: [ovs-dev] [PATCH v2] dpif-netlink: convert packet_type netlink attribute

2017-07-06 Thread Yang, Yi Y
Eric, I verified this one, ptap unit tests and nsh tests passed without any change, so it seems it is better than the original one you did. -Original Message- From: Eric Garver [mailto:e...@erig.me] Sent: Friday, July 7, 2017 3:44 AM To: Zoltán Balogh Cc: Yang, Yi Y ; &#

Re: [ovs-dev] [PATCH v4 0/7] Packet type aware pipeline

2017-07-06 Thread Yang, Yi Y
I think it needs root privilege to run. -Original Message- From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-boun...@openvswitch.org] On Behalf Of Darrell Ball Sent: Friday, July 7, 2017 5:06 AM To: Eric Garver Cc: 'd...@openvswitch.org' ; simon.hor...@netronome.com; Jiri Benc Subj

Re: [ovs-dev] GTP support to OVS upstream

2017-07-06 Thread Yang, Yi Y
simplify ovs tunnel implementation and maintenance if we use generic encap & decap framework to do tunnel encap & decap and move such processing into OpenFlow pipeline. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Thursday, July 6, 2017 10:25 PM To: Yang, Yi Y Cc

Re: [ovs-dev] [PATCH v2] dpif-netlink: convert packet_type netlink attribute

2017-07-06 Thread Yang, Yi Y
(flow->dl_type)) { goto unencap; -Original Message- From: Zoltán Balogh [mailto:zoltan.bal...@ericsson.com] Sent: Thursday, July 6, 2017 6:12 PM To: Yang, Yi Y ; Eric Garver Cc: 'd...@openvswitch.org' ; Jan Scheurich Subject: RE: [ovs-dev] [PATCH v2] dpif-netlink:

Re: [ovs-dev] [PATCH v2] dpif-netlink: convert packet_type netlink attribute

2017-07-06 Thread Yang, Yi Y
July 5, 2017 11:14 PM To: Zoltán Balogh Cc: Yang, Yi Y ; 'd...@openvswitch.org' Subject: Re: [ovs-dev] [PATCH v2] dpif-netlink: convert packet_type netlink attribute Hi Zoltan, On Tue, Jul 04, 2017 at 09:23:17PM +, Zoltán Balogh wrote: > By introducing packet type-aware pipeline,

Re: [ovs-dev] [PATCH] dpif-netilnk: convert packet_type netlink attribute

2017-07-06 Thread Yang, Yi Y
h [mailto:zoltan.bal...@ericsson.com] Sent: Wednesday, July 5, 2017 5:25 AM To: Yang, Yi Y ; Eric Garver Cc: 'd...@openvswitch.org' ; Jan Scheurich Subject: RE: [ovs-dev] [PATCH] dpif-netilnk: convert packet_type netlink attribute Hi Eric and Yi, I tried to fix the issues. I

Re: [ovs-dev] GTP support to OVS upstream

2017-07-05 Thread Yang, Yi Y
You can register yourself in https://www.opennetworking.org/ then you can search any document. From: Wieger IJntema [mailto:wieger.ijntema@gmail.com] Sent: Wednesday, July 5, 2017 10:41 PM To: Yang, Yi Y ; d...@openvswitch.org Subject: Re: [ovs-dev] GTP support to OVS upstream Dear Yi, I&#

Re: [ovs-dev] GTP support to OVS upstream

2017-07-05 Thread Yang, Yi Y
I remember OpenFlow 1.6 spec (not finalized) proposes to use OpenFlow actions to do GTP-u encapsulation and decapsulation, current OvS tunnel implementation can't support the third kind of use case (don't encap & decap, just parse, match and forward), MEC (ETSI Molibe/Multi-access Edge Computing

Re: [ovs-dev] [PATCH] dpif-netilnk: convert packet_type netlink attribute

2017-07-03 Thread Yang, Yi Y
Zoltan, I tested this patch for net-next, it will result in failure by ovs_assert, in addition, we need to handle OVS_FLOW_ATTR_MASK and OVS_FLOW_ATTR_KEY differently, to be important, we need to verify it in kernel mode. From my test and verification, this patch can't work, instead, it can wo

Re: [ovs-dev] [PATCH v2 00/12] Packet type aware pipeline

2017-06-19 Thread Yang, Yi Y
Hi, guys I'm working on NSH patches for kernel path, I think we can change it with new NSH kernel patches together. You ovs guys have confirmed several times userspace part can be merged before kernel part isn't there. So I propose we review and merge userspace part first, kernel part will be p

Re: [ovs-dev] [PATCH v1 0/5] NSH userspace support

2017-06-06 Thread Yang, Yi Y
Yes, Zoltan and I are working on this, please stay tuned, Jan should talk this in the coming sync meeting with you guys. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, June 7, 2017 2:13 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH

Re: [ovs-dev] [RFC PATCH 0/2] Generic encap/decap actions implementation

2017-06-06 Thread Yang, Yi Y
high quality. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Wednesday, June 7, 2017 2:17 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [RFC PATCH 0/2] Generic encap/decap actions implementation On Thu, Apr 20, 2017 at 11:26:39AM +0800, Yi Yang

Re: [ovs-dev] [PATCH v6 5/5] userspace: add vxlan gpe support to vport

2017-05-25 Thread Yang, Yi Y
Zoltan has done that way. -Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Friday, May 26, 2017 5:00 AM To: Jan Scheurich Cc: Yang, Yi Y ; Zoltán Balogh ; 'd...@openvswitch.org' Subject: Re: [ovs-dev] [PATCH v6 5/5] userspace: add vxlan gpe support to vport O

Re: [ovs-dev] [PATCH v6 5/5] userspace: add vxlan gpe support to vport

2017-05-18 Thread Yang, Yi Y
Ben, vxlangpe.h is from Linux kernel header file, so style is Linux but not ovs, keeping these intact is to make sure there are same pieces in both userspace and kernel, so code is also almost same. We'll change it to ovs style per your comments. Zoltan, please let me know if you need any help f

Re: [ovs-dev] [PATCH v4 2/7] userspace: Support for push_eth and pop_eth actions

2017-05-04 Thread Yang, Yi Y
Zoltan, original l3 userspace patch set gets ether_type from packet->md. eh->eth_type = packet->md.packet_ethertype; I think we should keep struct ovs_action_push_eth consistent in both kernel and userspace, we can use the way in original l3 userspace patch set to get ether_type. -Original

Re: [ovs-dev] OVS installation issue with NSH patch

2017-04-24 Thread Yang, Yi Y
Hi, Kiruthiga As I told you, please check your kernel version. https://github.com/yyang13/ovs_nsh_patches also included patches for ovs 2.6.1, if you have kernel version higher than v4.3, please use patches for 2.6.1. ovs 2.5 only can be built on kernel 3.10 to 4.3. -Original Message-

Re: [ovs-dev] How do we set fields for selection_method=hash?

2017-03-20 Thread Yang, Yi Y
: Yang, Yi Y Cc: ovs-dev@openvswitch.org Subject: Re: How do we set fields for selection_method=hash? On Tue, Mar 14, 2017 at 06:32:30AM +, Yang, Yi Y wrote: > Hi, Simon > > I notice you Netronome implemented selection_method support in ovs, > now I just want to use the spe

[ovs-dev] How do we set fields for selection_method=hash?

2017-03-13 Thread Yang, Yi Y
Hi, Simon I notice you Netronome implemented selection_method support in ovs, now I just want to use the specified match fields as hash input, I checked ovs-ofctl man pages, for such use case, I must use "selection_method=hash fields=...", I'm not sure how I set fields I want, can you help give

Re: [ovs-dev] Why "ovs-appctl dpif/dump-flows br-int" can't show match fields I add?

2017-03-09 Thread Yang, Yi Y
Joe, thank for your detailed explanation, now I know what I should do :-) -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Friday, March 10, 2017 1:19 AM To: Yang, Yi Y Cc: ovs-dev@openvswitch.org Subject: Re: [ovs-dev] Why "ovs-appctl dpif/dump-flows br-int"

[ovs-dev] Why "ovs-appctl dpif/dump-flows br-int" can't show match fields I add?

2017-03-09 Thread Yang, Yi Y
Hi, all I'm testing GTP-U header parsing by adding pure userspace support code, now I can "ovs-ofctl -Oopenflow13 add-flows" and "ovs-ofctl -Oopenflow13 dump-flows" $ sudo ovs-ofctl -Oopenflow13 dump-flows br-int OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x0, duration=2930.079s, table=0, n_pack

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-03-01 Thread Yang, Yi Y
space l3 patches and vxlangpe patches and resubmit them based on your tree. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Thursday, March 2, 2017 11:43 AM To: Yang, Yi Y Cc: ovs dev ; Jarno Rajahalme Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 p

Re: [ovs-dev] Can we use ovs to implement load balancer by openflow?

2017-02-28 Thread Yang, Yi Y
tions=group:100" -Original Message- From: Jarno Rajahalme [mailto:ja...@ovn.org] Sent: Wednesday, March 1, 2017 3:02 AM To: Han Zhou Cc: Yang, Yi Y ; ovs-dev@openvswitch.org Subject: Re: [ovs-dev] Can we use ovs to implement load balancer by openflow? > On Feb 27, 2017, at 10

[ovs-dev] Can we use ovs to implement load balancer by openflow?

2017-02-27 Thread Yang, Yi Y
Hi, all Can we use ovs to implement load balancer? Our target is to let ovs distribute the traffic to different service VMs based on 5 tuple (src ip, dst ip, src port, dst port, transport protocol). ___ dev mailing list d...@openvswitch.org https://mai

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-12 Thread Yang, Yi Y
Joe, got it, thanks a lot. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Saturday, February 11, 2017 5:38 AM To: Yang, Yi Y Cc: Multanen, Eric W ; ovs dev ; Yi-Hung Wei Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 9 February

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-12 Thread Yang, Yi Y
Eric and Joe, thank you so much for your verification and fix, I'll resubmit a new version including this fix and missing part. -Original Message- From: Eric Garver [mailto:e...@erig.me] Sent: Saturday, February 11, 2017 9:22 PM To: Joe Stringer ; Yang, Yi Y Cc: ovs dev Subjec

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-09 Thread Yang, Yi Y
point out if I missed something. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Friday, February 10, 2017 8:01 AM To: Yang, Yi Y Cc: ovs dev ; Yi-Hung Wei Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 8 February 2017 at 18:50, Yang,

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-09 Thread Yang, Yi Y
Ok, let me push 802.1 ad backport patches first. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@web.de] Sent: Friday, February 10, 2017 7:04 AM To: Yang, Yi Y ; Jan Scheurich ; Joe Stringer ; Jiri Benc (jb...@redhat.com) ; Eric Garver ; 'ja...@ovn.org&#x

Re: [ovs-dev] [PATCH v2 3/4] datapath: backport: vlan: Check for vlan ethernet types for 8021.q or 802.1ad

2017-02-09 Thread Yang, Yi Y
Thanks Eric, I see, they were missing, I'll add them as you said. -Original Message- From: Eric Garver [mailto:e...@erig.me] Sent: Thursday, February 9, 2017 11:37 PM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 3/4] datapath: backport: vlan: Check for

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-09 Thread Yang, Yi Y
If rtnetlink user space patches aren't merged, I don't think you can use in-kernel data path correctly, yes there are some work to do, but that has to been done after Eric Garver's rtnetlink user space patches are merged. Maybe you can try RFC patches Eric Garver posted https://mail.openvswitch

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-09 Thread Yang, Yi Y
aintainers will merge them in. I can only focus on userspace support for vxlan-gpe if ovs maintainers really merge your patches first. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Thursday, February 9, 2017 5:50 PM To: Yang, Yi Y ; Joe Stringer ; Jiri

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-08 Thread Yang, Yi Y
Then, are you merging https://mail.openvswitch.org/pipermail/ovs-dev/2017-February/328492.html or do I need to do anything else for it? -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Thursday, February 9, 2017 9:44 AM To: Yang, Yi Y Cc: ovs dev ; Yi-Hung Wei

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-07 Thread Yang, Yi Y
x27;t nailed down to merge or not. Jan, let us have a sync by lync meeting. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@ericsson.com] Sent: Wednesday, February 8, 2017 7:19 AM To: Joe Stringer ; Yang, Yi Y ; Jiri Benc (jb...@redhat.com) ; Eric Garver Cc: d...@openvsw

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-07 Thread Yang, Yi Y
2017 6:31 AM To: Yang, Yi Y Cc: ovs dev ; Yi-Hung Wei Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 7 February 2017 at 09:44, Joe Stringer wrote: > On 6 February 2017 at 16:46, Yang, Yi Y wrote: >> Joe, I checked current ovs and net-next kernel, obviou

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-07 Thread Yang, Yi Y
..@ovn.org] Sent: Wednesday, February 8, 2017 1:55 AM To: Yang, Yi Y Cc: Jan Scheurich ; d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 7 February 2017 at 05:28, Yang, Yi Y wrote: > Jan, I know that, but per Joe's comments, it se

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-07 Thread Yang, Yi Y
Good point, I will add a following patch to do this. -Original Message- From: Joe Stringer [mailto:j...@ovn.org] Sent: Wednesday, February 8, 2017 1:44 AM To: Yang, Yi Y Cc: ovs dev ; Yi-Hung Wei Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 6 Feb

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-07 Thread Yang, Yi Y
ebruary 7, 2017 6:50 PM To: Yang, Yi Y ; d...@openvswitch.org Cc: Zoltán Balogh ; Jarno Rajahalme (ja...@ovn.org) Subject: RE: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs Hi Yi, Three of the user-space patches of your series have been superseded by our new patch series [

Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs

2017-02-06 Thread Yang, Yi Y
inger [mailto:j...@ovn.org] Sent: Tuesday, February 7, 2017 8:34 AM To: Yang, Yi Y Cc: ovs dev ; Yi-Hung Wei Subject: Re: [ovs-dev] [PATCH v3 00/16] port Jiri Benc's L3 patchset to ovs On 6 February 2017 at 05:04, Yi Yang wrote: > This patch set just ports Jiri Benc's L3 8 support p

Re: [ovs-dev] [PATCH 0/3] Backport 802.1ad patches

2017-02-06 Thread Yang, Yi Y
---- From: Yang, Yi Y Sent: Friday, February 3, 2017 11:12 PM To: d...@openvswitch.org Cc: pshe...@ovn.org; Yang, Yi Y Subject: [PATCH 0/3] Backport 802.1ad patches This patch set is to backport 802.1ad patches Eric Garver did to ovs, per discussion in ovs-dev mailing list, this fix patch "

Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames

2017-01-19 Thread Yang, Yi Y
-0800, Joe Stringer wrote: > >>> On 18 January 2017 at 11:54, Eric Garver wrote: > >>> > On Tue, Jan 17, 2017 at 12:37:19AM +, Yang, Yi Y wrote: > >>> >> What userspace do "802.1ad patches" depend on? Per Pravin's statement, > >>

Re: [ovs-dev] [PATCH v2 15/17] datapath: enable vxlangpe creation in compat mode

2017-01-17 Thread Yang, Yi Y
Make sense, will change it in v3. -Original Message- From: Jiri Benc [mailto:jb...@redhat.com] Sent: Wednesday, January 18, 2017 12:37 AM To: Yang, Yi Y Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 15/17] datapath: enable vxlangpe creation in compat mode On Wed, 28 Dec

Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames

2017-01-16 Thread Yang, Yi Y
ch: upcall: Fix vlan handling. -Original Message- From: Eric Garver [mailto:e...@erig.me] Sent: Monday, January 16, 2017 11:01 PM To: Yang, Yi Y Cc: Pravin Shelar ; Jan Scheurich ; ovs dev Subject: Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames On Mon,

Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames

2017-01-16 Thread Yang, Yi Y
es can be posted in ovs-dev, I can help with this if you have no time. -Original Message- From: Pravin Shelar [mailto:pshe...@ovn.org] Sent: Monday, January 9, 2017 5:33 PM To: Yang, Yi Y ; Eric Garver Cc: ovs dev ; Jarno Rajahalme Subject: Re: [PATCH v2 14/17] datapath: Fix skb->pr

Re: [ovs-dev] Sync on PTAP, EXT-382 and NSH

2017-01-09 Thread Yang, Yi Y
thinking about this, it seems only you and I are caring this :) From: Jan Scheurich [mailto:jan.scheur...@web.de] Sent: Monday, January 9, 2017 8:23 AM To: Yang, Yi Y ; Jan Scheurich ; Zoltán Balogh ; Jiri Benc (jb...@redhat.com) ; Pravin Shelar ; Simon Horman (simon.hor...@netronome.com) ;

Re: [ovs-dev] [PATCH v2 11/17] userspace: add non-tap (l3) support to GRE vports

2017-01-02 Thread Yang, Yi Y
on current patchset from user perspective. -Original Message- From: Jan Scheurich [mailto:jan.scheur...@web.de] Sent: Friday, December 30, 2016 6:59 PM To: Yang, Yi Y ; d...@openvswitch.org Cc: Simon Horman ; Jiri Benc Subject: Re: [ovs-dev] [PATCH v2 11/17] userspace: add non-tap (l3)

Re: [ovs-dev] Sync on PTAP, EXT-382 and NSH

2017-01-02 Thread Yang, Yi Y
t we go fats path instead take a from-a-scratch way? From: Jan Scheurich [mailto:jan.scheur...@web.de] Sent: Friday, December 30, 2016 6:34 PM To: Yang, Yi Y ; Jan Scheurich ; Zoltán Balogh ; Jiri Benc (jb...@redhat.com) ; Pravin Shelar ; Simon Horman (simon.hor...@netronome.com) ; 'j

Re: [ovs-dev] [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames

2017-01-02 Thread Yang, Yi Y
[mailto:pshe...@ovn.org] Sent: Sunday, January 1, 2017 3:45 PM To: Yang, Yi Y Cc: ovs dev ; Jarno Rajahalme Subject: Re: [PATCH v2 14/17] datapath: Fix skb->protocol for vlan frames On Wed, Dec 28, 2016 at 5:56 PM, Yi Yang wrote: > Do not always set skb->protocol to be the ethertype of the

Re: [ovs-dev] Sync on PTAP, EXT-382 and NSH

2016-12-22 Thread Yang, Yi Y
[mailto:jan.scheur...@ericsson.com] Sent: Thursday, December 22, 2016 6:51 PM To: Zoltán Balogh ; Yang, Yi Y ; Jiri Benc (jb...@redhat.com) ; Pravin Shelar ; Simon Horman (simon.hor...@netronome.com) ; 'jpet...@ovn.org' ; 'ja...@ovn.org' ; 'Ben Pfaff' ; 'ben

Re: [ovs-dev] [PATCH 0/8] port Jiri's 8 support patches for layer 3 encapsulated packets from net-next

2016-12-16 Thread Yang, Yi Y
: datapath - http between two ports FAILED (system-traffic.at:36) 3: datapath - ping between two ports on vlan FAILED (system-traffic.at:59) -Original Message- From: Pravin Shelar [mailto:pshe...@ovn.org] Sent: Friday, December 16, 2016 3:30 PM To: Joe Stringer Cc: Yang, Yi

Re: [ovs-dev] [RFC PATCH] datapath: allow tunnels to be created with rtnetlink

2016-12-05 Thread Yang, Yi Y
Hi, guys This patch isn't updated from June on, Cascardo said he/Eric is still working on this, but six months passed, we don't see any following patch for this, now I have time to revisit it, for case 3 Pravin mentioned, I can make it work by applying the below patch [1] against https://mail.

  1   2   >