Re: [ovs-dev] Wildcard Matching optimization idea

2016-01-13 Thread Wei Li
insert a rule to "mirror" and swap "mirror" and "real" then real does not contain the new inserted rule how to sync? take the "long" time as inserting to "mirror"? 在 2016/1/12 18:37, Fischetti, Antonio 写道: Thanks Zoltan for your questions. Anyone else has any new feedback? -Original Me

Re: [ovs-dev] [ovs] ovn-nbctl:add db commands help (#93)

2015-12-09 Thread Wei Li
在 2015/12/8 22:57, Russell Bryant 写道: On 12/08/2015 01:06 AM, Wei Li wrote: 在 2015/12/7 23:30, Russell Bryant 写道: Can you update the man page, as well? I would like to do this,but have a question There is a reference to /db-ctl-base.man/ in /ovn-sbctl.8.in/ implement by "/.so lib/d

Re: [ovs-dev] [ovs] ovn-nbctl:add db commands help (#93)

2015-12-07 Thread Wei Li
在 2015/12/7 23:30, Russell Bryant 写道: Can you update the man page, as well? I would like to do this,but have a question There is a reference to /db-ctl-base.man/ in /ovn-sbctl.8.in/ implement by "/.so lib/db-ctl-base.man/" but ovn-nbctl`s manpage is xml format How to add a reference to

Re: [ovs-dev] ovn-nbctl:What are router commands like?

2015-12-03 Thread Wei Li
BL [REC]/" for specified one is ok? 在 2015/12/3 22:24, Russell Bryant 写道: On 12/03/2015 03:54 AM, Wei Li wrote: ovn-nbctl -h General commands: show print overview of database contents show LSWITCH print overview of database contents for LSWITCH How

[ovs-dev] ovn-nbctl:What are router commands like?

2015-12-03 Thread Wei Li
ovn-nbctl -h General commands: show print overview of database contents show LSWITCH print overview of database contents for LSWITCH How to show LROUTER? Add a keywork like "ovn-nbctl show /router /LROUTER"? and "lport-add LSWITCH LPORT" has same problem, i

[ovs-dev] Fwd: Re: [ovs] ovn-northd: The traffic form gateway port not need to be followed (#92)

2015-12-02 Thread Wei Li
Bryant is right topo: vm1(1.1.1.2/24)--lswitch--(1.1.1.1)lrouter(2.2.2.1)--lswitch--vm2(2.2.2.2/24) vm1 and vm2 is on2 different host, vm1 on host1 vm2 on host2 When ping from vm1 to vm2 , the result of ovs-dpctl dump-flows on host2: ingress: recirc_id(0),tunnel(tun_id=0x3,src=10.160.1.122,d

Re: [ovs-dev] [PATCH] netdev-dpdk: update installation document for correct ovs commands

2015-06-15 Thread Wei Li
On 2015/6/15 22:33, Gowrishankar wrote: From: Gowrishankar M For the first time while creating OVS db, ovsdb-tool has to be given schema file existing in source (and not the one installed in distro or not even existing if not installed earlier). Another correction is on right command to use to

[ovs-dev] [PATCH] fix wrong cmd for create dpdkvhostuser in INSTALL.DPDK.md

2015-06-15 Thread Wei li
Signed-off-by: Wei li --- INSTALL.DPDK.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index cdef6cf..1287fea 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.DPDK.md @@ -355,7 +355,7 @@ have arbitrary names. - For vhost-user, the name

[ovs-dev] [PATCH v2] Do not flush tx queue which is shared among CPUs since it is always flushed

2015-06-08 Thread Wei li
When tx queue is shared among CPUS,the pkts always be flush in 'netdev_dpdk_eth_send' So it is unnecessarily for flushing in netdev_dpdk_rxq_recv Otherwise tx will be accessed without locking Signed-off-by: Wei li --- v1->v2: fix typo lib/netdev-dpdk.c | 7 +-- 1 fi

[ovs-dev] [PATCH] netdev-dpdk: Do not flush tx queue which is shared among CPUs since it is always flushed

2015-06-04 Thread Wei li
When tx queue is shared among CPUS,the pkts always be flush in 'netdev_dpdk_eth_send' So it is unnecessarily for flushing in netdev_dpdk_rxq_recv Otherwise tx will be accessed without locking Signed-off-by: Wei li --- lib/netdev-dpdk.c | 7 +-- 1 file changed, 5 insertions(+), 2

[ovs-dev] [PATCH] Do not flush tx queue which is shared among CPUs since it is always flushed

2015-06-04 Thread Wei li
When tx queue is shared among CPUS,the pkts always be flush in 'netdev_dpdk_eth_send' So it is unnecessarily for flushing in netdev_dpdk_rxq_recv Otherwise tx will be accessed without locking Signed-off-by: Wei li --- lib/netdev-dpdk.c | 7 +-- 1 file changed, 5 insertions(+), 2