Re: [ovs-discuss] VMs can't ping each between two physical hosts within same subnet

2017-12-24 Thread Hui Xiang
:88 config: 0 state: LIVE current:10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max On Sun, Dec 24, 2017 at 9:55 AM, Hui Xiang <xiangh...@gmail.com> wrote: > My other question is does ovs/ovn support pre-population of tunnel's info > in the fdb/arp table

Re: [ovs-discuss] VMs can't ping each between two physical hosts within same subnet

2017-12-23 Thread Hui Xiang
My other question is does ovs/ovn support pre-population of tunnel's info in the fdb/arp table. On Sat, Dec 23, 2017 at 11:20 AM, Hui Xiang <xiangh...@gmail.com> wrote: > Hi folks, > > > I have a problem on vms spawned between twp physical hosts within same > subnet.

Re: [ovs-discuss] What is the best way to set a Geneve tunnel based on dpdk device

2017-12-21 Thread Hui Xiang
Thank you very much Sara! On Thu, Dec 21, 2017 at 5:37 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > take a look at vxlan setup - it is similar > http://docs.openvswitch.org/en/latest/howto/userspace-tunneling/ > --Sara > > On Thu, Dec 21, 2017 at 10:51 AM, Hui Xiang

[ovs-discuss] What is the best way to set a Geneve tunnel based on dpdk device

2017-12-21 Thread Hui Xiang
Hi folks, I have added a dpdk device in ovs bridge 'br-dpdk' in the compute host, and expect the Geneve tunnel can send packets throught this bridge, my question is what is the best way to make it work and do not affect dpdk performance? Is it enough to just assign an ip to interface

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-12-04 Thread Hui Xiang
Thanks Numan, so sorry for occupying your much time on it. I have fixed the problem, but not with very clear reason, after the cloud completed deployment with puppet(not TrippleO), no matter what I am using, either 'pcs' or 'crm', the resource just could not start as it is expected. but if I use

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-30 Thread Hui Xiang
com> > wrote: > >> >> >> On Thu, Nov 30, 2017 at 1:15 PM, Hui Xiang <xiangh...@gmail.com> wrote: >> >>> Hi Numan, >>> >>> Thanks for helping, I am following your pcs example, but still with no >>> lucky, >>> >>&

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-29 Thread Hui Xiang
_SUCCESS} Please take a look, thank you very much. Hui. On Wed, Nov 29, 2017 at 11:03 PM, Numan Siddique <nusid...@redhat.com> wrote: > > > On Wed, Nov 29, 2017 at 4:16 PM, Hui Xiang <xiangh...@gmail.com> wrote: > >> FYI, If I have configured a good ovndb-server

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-29 Thread Hui Xiang
FYI, If I have configured a good ovndb-server cluster with one active two slaves, then start pacemaker ovn-servers resource agents, they are all becoming slaves... On Tue, Nov 28, 2017 at 10:48 PM, Numan Siddique <nusid...@redhat.com> wrote: > > > On Tue, Nov 28, 2017 at 2:2

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-28 Thread Hui Xiang
ch/839022/ On Fri, Nov 24, 2017 at 10:54 PM, Numan Siddique <nusid...@redhat.com> wrote: > Hi Hui Xiang, > > Can you please try with this patch [1] and see if it works for you ? > Please let me know how it goes. But I am not sure, if the patch would fix > the issue. &g

Re: [ovs-discuss] ovndb_servers can't be promoted

2017-11-27 Thread Hui Xiang
sid...@redhat.com> wrote: > Hi Hui Xiang, > > Can you please try with this patch [1] and see if it works for you ? > Please let me know how it goes. But I am not sure, if the patch would fix > the issue. > > To brief, the OVN OCF script doesn't add monitor action for &q

[ovs-discuss] ovndb_servers can't be promoted

2017-11-24 Thread Hui Xiang
Hi folks, I am following what suggested on doc[1] to configure the ovndb_servers HA, however, it's so unluck with upgrading pacemaker packages from 1.12 to 1.16, do almost every kind of changes, there still not a ovndb_servers master promoted, is there any special recipe for it to run? so

Re: [ovs-discuss] OVN Logical Router Port ARP response

2017-11-14 Thread Hui Xiang
t;. Since > these fields are used for setting the correct eth.dst in the ARP reply > (eth.src and eth.dst are swapped from the actual ARP request), it won't > know where the deliver the packet, as "00:00:00:00:00:00" is not valid, > and hence the output="_MC_unknow

[ovs-discuss] OVN Logical Router Port ARP response

2017-11-13 Thread Hui Xiang
Hi folks, I am a bit confused of the OVN logical router port arp flow process if arping it from external side. When I am tracing the logical router port arp, it always seems there would be no response from the flow procedure, however, I do can get the arp response and reach it. My trace inport

Re: [ovs-discuss] Debugging ct dnat openflow action

2017-11-13 Thread Hui Xiang
-archive.com/netdev@vger.kernel.org/msg101556.html Cause the NAT doesn't work in my environment, I am trying to debug why, please see previous email, thanks much for your help. Hui. On Tue, Nov 14, 2017 at 4:53 AM, Guru Shetty <g...@ovn.org> wrote: > > > On 12 November 2017 at 2

Re: [ovs-discuss] Debugging ct dnat openflow action

2017-11-12 Thread Hui Xiang
aster/NEWS [2] https://www.mail-archive.com/netdev@vger.kernel.org/msg101556.html [3] http://docs.openvswitch.org/en/latest/faq/releases/ Hui. On Fri, Nov 10, 2017 at 6:41 PM, Hui Xiang <xiangh...@gmail.com> wrote: > Hi Folks, > > > I am now debugging OVN NAT with openstack, networki

[ovs-discuss] Debugging ct dnat openflow action

2017-11-10 Thread Hui Xiang
Hi Folks, I am now debugging OVN NAT with openstack, networking-ovn. now I am blocked at the dnat action step, if anyone can give a help or hint would be really appreciated. VM instance has fixedip 20.0.0.2 and floatingip 172.16.0.131 Below are the lflow-trace, openflow-trace and related

Re: [ovs-discuss] OVN patch port for localnet can't be created

2017-11-10 Thread Hui Xiang
By manually adding nat-addresses=router for logical router type switch port make it go further, above are not the problem now, thanks all. On Thu, Nov 9, 2017 at 5:54 PM, Hui Xiang <xiangh...@gmail.com> wrote: > The ovn-trace target to vm floatingip is finally identified as MC_unknown

Re: [ovs-discuss] OVN patch port for localnet can't be created

2017-11-09 Thread Hui Xiang
0, uuid 83de4750 outport = "_MC_unknown"; output; multicast(dp="public", mcgroup="_MC_unknown") - egress(dp="public", inport="provnet-668bf1", outport="provnet-668bf1")

Re: [ovs-discuss] OVN patch port for localnet can't be created

2017-11-09 Thread Hui Xiang
Wed, Nov 8, 2017 at 11:11 AM, Ben Pfaff <b...@ovn.org> wrote: > Is update_sb_monitors() in ovn-controller.c not doing the right thing to > ensure that localnet ports are present? That is the first place to > look, I think. > > On Tue, Nov 07, 2017 at 04:36:12PM +0800

Re: [ovs-discuss] OVN patch port for localnet can't be created

2017-11-07 Thread Hui Xiang
} parent_port : [] tag : [] tunnel_key : 3 type: "" On Tue, Nov 7, 2017 at 4:36 PM, Hui Xiang <xiangh...@gmail.com> wrote: > Hi folks, > > When I am running ovn in one of my node having the gateway port > connected external network via localnet,

[ovs-discuss] OVN patch port for localnet can't be created

2017-11-07 Thread Hui Xiang
Hi folks, When I am running ovn in one of my node having the gateway port connected external network via localnet, the patch port can't be created between br-ex(set by ovn-bridge-mappings) with br-int, after gdb, it seems the result get from SBREC_PORT_BINDING_FOR_EACH (binding, ctx->ovnsb_idl)

Re: [ovs-discuss] About the 'clone' action

2017-10-25 Thread Hui Xiang
rg/pipermail/ovs-dev/2017-January/327255.html On Tue, Oct 24, 2017 at 12:21 AM, Ben Pfaff <b...@ovn.org> wrote: > On Mon, Oct 23, 2017 at 04:28:53PM +0800, Hui Xiang wrote: > > I am trying to understand clone action deeply and checking the patch > > related with 'clone'[

[ovs-discuss] About the 'clone' action

2017-10-23 Thread Hui Xiang
Hi folks, I am trying to understand clone action deeply and checking the patch related with 'clone'[1], where said "The clone action provides an action envelope to enclose an action list." and "The clone action is very similar with the OpenFlow clone action recently added", but sorry I am not

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-13 Thread Hui Xiang
Thanks Ben, that is much helpful explanation. On Fri, Oct 13, 2017 at 11:42 PM, Ben Pfaff <b...@ovn.org> wrote: > On Fri, Oct 13, 2017 at 06:04:16PM +0800, Hui Xiang wrote: > > Is the patch port output logistic within function > apply_nested_clone_actions > > ? S

Re: [ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-13 Thread Hui Xiang
, Oct 12, 2017 at 11:48 PM, Ben Pfaff <b...@ovn.org> wrote: > On Thu, Oct 12, 2017 at 05:22:14PM +0800, Hui Xiang wrote: > >Seems it works with the same datapath type during the discussion in > [1] > > by finally done a flow of leaving two kernel netdev port

[ovs-discuss] Does it work if netdev datapath connect system datapath through patch ports

2017-10-12 Thread Hui Xiang
Hi folks, Seems it works with the same datapath type during the discussion in [1] by finally done a flow of leaving two kernel netdev port communicate together. But in my case I have a setup with two bridges has different datapath type, netdev and system, need to be connected, port_A(in

Re: [ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-28 Thread Hui Xiang
On Fri, Jul 28, 2017 at 12:52 PM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Thursday, July 27, 2017 at 8:10 PM > > *To: *Darrell Ball <db...@vmware.com> > *Cc: *"ovs-discuss@openvswitch.

Re: [ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-27 Thread Hui Xiang
On Fri, Jul 28, 2017 at 10:54 AM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Thursday, July 27, 2017 at 6:59 PM > *To: *Darrell Ball <db...@vmware.com> > *Cc: *"ovs-discuss@openvswitch.org"

Re: [ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-27 Thread Hui Xiang
On Fri, Jul 28, 2017 at 1:12 AM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Thursday, July 27, 2017 at 3:18 AM > *To: *Darrell Ball <db...@vmware.com> > *Cc: *"ovs-discuss@openvswitch.org"

Re: [ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-27 Thread Hui Xiang
. [image: Inline image 1] On Thu, Jul 27, 2017 at 2:49 PM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Wednesday, July 26, 2017 at 9:43 PM > *To: *Darrell Ball <db...@vmware.com> > *Cc: *"ovs-discus

Re: [ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-26 Thread Hui Xiang
Thanks Darrell, comment inline. On Thu, Jul 27, 2017 at 12:08 PM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *<ovs-discuss-boun...@openvswitch.org> on behalf of Hui Xiang < > xiangh...@gmail.com> > *Date: *Wednesday, July 26, 2017 at 7:47

[ovs-discuss] OVS-DPDK IP fragmentation require

2017-07-26 Thread Hui Xiang
Hi guys, Seems OVS-DPDK still missing IP fragmentation support, is there any schedule to have it? I'm transferring to use OVN, but for those nodes which have external network connection, they may face this problem, except to configure Jumbo frames, is there any other workaround? BR. Hui.

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Hui Xiang
Your help was greatly appreciated, thanks Bodireddy. On Mon, Jul 3, 2017 at 10:57 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > >>What is your use case(s) ? > >>My usecase might be setup a VBRAS VNF with OVS-DPDK as an NFV normal > >>case, and it requires a good

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-07-03 Thread Hui Xiang
Thanks much Bodireddy again! comment inline. On Mon, Jul 3, 2017 at 5:00 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > It’s a long weekend in US and will try answering some of your questions in > Darrell's absence. > > >Why do think having more than 64k per PMD would

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Hui Xiang
Thanks Darrell, comment inline. On Sat, Jul 1, 2017 at 1:02 AM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Thursday, June 29, 2017 at 6:57 PM > *To: *Darrell Ball <db...@vmware.com> > *Cc: *&quo

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-30 Thread Hui Xiang
ore so that there > is > >64k > >>flows per thread. > > > >AFAIK, the no. of flows here may not have to do anything with LLC. Also > there > >is EMC cache(8k entries) of ~4MB per PMD thread. > >Yes the performance will be nice with simple test cases

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
memory bound. > > > > BTW, on my DUT the LLC is 35MB and has 28 cores and so the assumption > of 2.5M/core isn't right. > > > > - Bhanuprakash. > > > > > > > >On Fri, Jun 23, 2017 at 11:15 AM, Hui Xiang <xiangh...@gmail.com> >

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
MB and has 28 cores and so the assumption of > 2.5M/core isn't right. > > - Bhanuprakash. > > > > >On Fri, Jun 23, 2017 at 11:15 AM, Hui Xiang <xiangh...@gmail.com> wrote: > >Thanks Darrell, > > > >More questions: > >Why not allocating 64k for eac

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-29 Thread Hui Xiang
I guess the answer is now the general LLC is 2.5M per core so that there is 64k flows per thread. On Fri, Jun 23, 2017 at 11:15 AM, Hui Xiang <xiangh...@gmail.com> wrote: > Thanks Darrell, > > More questions: > Why not allocating 64k for each dpcls? does the 64k ju

Re: [ovs-discuss] max mega flow 64k per pmd or per dpcls?

2017-06-22 Thread Hui Xiang
Anyone could help to answer it? On Tue, Jun 20, 2017 at 6:22 PM, Hui Xiang <xiangh...@gmail.com> wrote: > Hello guys, > > I have seen that there will be one dpcls instance for each port per pmd, > and seems flow table max entries num is 64k per pmd other than per dp

Re: [ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd

2017-06-14 Thread Hui Xiang
Thanks Darrell. On Tue, Jun 13, 2017 at 1:14 AM, Darrell Ball <db...@vmware.com> wrote: > > > > > *From: *Hui Xiang <xiangh...@gmail.com> > *Date: *Sunday, June 11, 2017 at 11:35 PM > *To: *Darrell Ball <db...@vmware.com> > *Cc: *"ovs-discus

Re: [ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd

2017-06-12 Thread Hui Xiang
I see, it is exactly what you said, thanks. So to analyze or enhance performance, the value of "avg processing cycles per packet" should be looked to evaluate ovs-dpdk, which gives the result of processsing cycles per packet for a specified pmd, right?

[ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd

2017-06-10 Thread Hui Xiang
Hi guys, I got below results on my environment, but confusing with the cycles percents, it looks like the polling plus processing cycles per pmd is 100%, but as I recalled there are some improvment document that showed their processing cycles are 100% percents which means 0 for polling cycles?