Re: [ovs-dev] 答复: Re: 答复: [spam可疑邮件]Re: 答复: Re: [PATCH 2/2] ovn-northd: Fix ping failure of vlan networks.

2017-06-29 Thread Mickey Spiegel
On Thu, Jun 29, 2017 at 2:19 PM, Han Zhou wrote: > I learned that this use case is kind of Hierarchical scenario: > https://specs.openstack.org/openstack/neutron-specs/specs/ > kilo/ml2-hierarchical-port-binding.html > > In such scenario, user wants to use OVN to manage vlan networks, and the > v

[ovs-dev] [PATCH v3 6/6] dpif-netdev: Flush the packets in intermediate queue.

2017-06-29 Thread Bhanuprakash Bodireddy
Under low rate traffic conditions, there can be 2 issues. (1) Packets potentially can get stuck in the intermediate queue. (2) Latency of the packets can increase significantly due to buffering in intermediate queue. This commit handles the (1) issue by flushing the tx port queues from

[ovs-dev] [PATCH v3 5/6] netdev-dpdk: Enable intermediate queue for vHost User port.

2017-06-29 Thread Bhanuprakash Bodireddy
This commit refactors the __netdev_dpdk_vhost_send() and enables intermediate queue where in the packets are buffered till the threshold 'INTERIM_QUEUE_BURST_THRESHOLD[32] is hit and eventually gets transmitted. This commit improves the throughput as reported below in simple Physical to virtual te

[ovs-dev] [PATCH v3 4/6] netdev-dpdk: Add intermediate queue support.

2017-06-29 Thread Bhanuprakash Bodireddy
This commit introduces netdev_dpdk_eth_tx_queue() function that implements intermediate queue and packet buffering. The packets get buffered till the threshold 'INTERIM_QUEUE_BURST_THRESHOLD[32] is reached and eventually gets transmitted. To handle the case(eg: ping) where packets are sent at low

[ovs-dev] [PATCH v3 1/6] netdev: Add netdev_txq_flush function.

2017-06-29 Thread Bhanuprakash Bodireddy
Add netdev_txq_flush(), that flush packets on a queue. This is needed to transmit packets on the intermediate queue. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti Co-authored-by: Antonio Fischetti Signed-off-by: Markus Magnusson Co-authored-by: Markus Magnusson Acked-

[ovs-dev] [PATCH v3 3/6] netdev-dpdk: Add netdev_dpdk_vhost_txq_flush function.

2017-06-29 Thread Bhanuprakash Bodireddy
Add netdev_dpdk_vhost_txq_flush(), that flushes packets on vHost User port queues. Also add netdev_dpdk_vhost_tx_burst() function that uses rte_vhost_enqueue_burst() to enqueue burst of packets on vHost User ports. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by: Antonio Fischetti Co-authore

[ovs-dev] [PATCH v3 2/6] netdev-dpdk: Add netdev_dpdk_txq_flush function.

2017-06-29 Thread Bhanuprakash Bodireddy
This commit adds netdev_dpdk_txq_flush() function. If there are any packets waiting in the queue, they are transmitted instantly using the rte_eth_tx_burst function. In XPS enabled case, lock is taken on the tx queue before flushing the queue. Signed-off-by: Bhanuprakash Bodireddy Signed-off-by:

[ovs-dev] [PATCH v3 0/6] netdev-dpdk: Use intermediate queue during packet transmission.

2017-06-29 Thread Bhanuprakash Bodireddy
After packet classification, packets are queued in to batches depending on the matching netdev flow. Thereafter each batch is processed to execute the related actions. This becomes particularly inefficient if there are few packets in each batch as rte_eth_tx_burst() incurs expensive MMIO writes. T

Re: [ovs-dev] 答复: Re: 答复: [spam可疑邮件]Re: 答复: Re: [PATCH 2/2] ovn-northd: Fix ping failure of vlan networks.

2017-06-29 Thread Han Zhou
I learned that this use case is kind of Hierarchical scenario: https://specs.openstack.org/openstack/neutron-specs/specs/kilo/ml2-hierarchical-port-binding.html In such scenario, user wants to use OVN to manage vlan networks, and the vlan networks is connected via VTEP overlay, which is not manage

Re: [ovs-dev] [PATCH] ctags: include symbols with locking annotations.

2017-06-29 Thread Aaron Conole
Flavio Leitner writes: > OVS uses extensively clang annotations for thread safety > checks. The ctags tool can't parse them, so they are not > included in the tag file. > > This patch improves the configure script to generate a list > of identifiers from the header compiler.h to be ignored by > c

Re: [ovs-dev] [PATCH] ovs-ctl: Fix typo in a comment

2017-06-29 Thread Russell Bryant
On Thu, Jun 29, 2017 at 11:28 AM, Timothy Redaelli wrote: > s/conenct/connect/ > > Signed-off-by: Timothy Redaelli > --- > utilities/ovs-ctl.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to master. -- Russell Bryant ___

Re: [ovs-dev] [PATCH] rhel-systemd: start vswitchd after udev

2017-06-29 Thread Aaron Conole
Russell Bryant writes: > On Mon, May 29, 2017 at 7:30 AM, Karthik Sundaravel > wrote: >> Hi >> >> Tested-by: ksund...@redhat.com >> I've tested the patch. Please see https://bugzilla.redhat. >> com/show_bug.cgi?id=1397299#c17. > > Thanks for testing and reporting back! > > Sorry for the slow re

Re: [ovs-dev] [PATCH] rhel-systemd: start vswitchd after udev

2017-06-29 Thread Russell Bryant
On Mon, May 29, 2017 at 7:30 AM, Karthik Sundaravel wrote: > Hi > > Tested-by: ksund...@redhat.com > I've tested the patch. Please see https://bugzilla.redhat. > com/show_bug.cgi?id=1397299#c17. Thanks for testing and reporting back! Sorry for the slow review. I've applied this to master and br

[ovs-dev] OVS-DPDK public meeting

2017-06-29 Thread Kevin Traynor
29th June 2017 Next meeting planned for 13th July. ATTENDEES: Darrell, Jan, Jason, Mechthild, Peter H., Peter S., Finn, Michael, Mark K, Niaz, Billy, Zoltan, Eelco, Bhanu, Ian, Olga, Thomas M., Johan, Frikkie, Kevin. I missed some people also. === GENERAL === - Test coverage -- Request f

Re: [ovs-dev] 答复: 答复: 答复: [PATCH] pkt reassemble: fix kernel panic for ovs reassemble

2017-06-29 Thread Greg Rose
On 06/28/2017 05:53 PM, 王志克 wrote: Hi Greg, I just download offical tar bar: wget http://openvswitch.org/releases/openvswitch-2.6.0.tar.gz Then compiling as below: ( I do not see any compiling issue) ./configure --with-linux=/lib/modules/$(uname -r)/build make make install make modules_install

[ovs-dev] Invitation: CONTACT WESTERN UNION VERY URGENT

2017-06-29 Thread Mrs.Lucein Ovia via dev
___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] [PATCH] ovs-ctl: Fix typo in a comment

2017-06-29 Thread Timothy Redaelli
s/conenct/connect/ Signed-off-by: Timothy Redaelli --- utilities/ovs-ctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 575ffa039..85ce6baef 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -201,7 +201,7 @@

Re: [ovs-dev] [PATCH v2] process: Consolidate process related APIs.

2017-06-29 Thread Bodireddy, Bhanuprakash
Hello Ben, Can you please check if the changes look good and apply this patch to the master. The Keepalive patch series has a dependency on this patch (using few of the below APIs). I can send the first non-RFC version of KA patch series only if this patch is in. Regards, Bhanuprakash. >---

Re: [ovs-dev] [ovs-dev, 4/6] dpif-netdev: Flush the packets in intermediate queue.

2017-06-29 Thread Bodireddy, Bhanuprakash
>I found another issue while testing w.r.t vhostuser ports. > >When non-pmd thread tries to send packets to vHostUser port below is the >call patch > dp_execute_cb() > netdev_dpdk_vhost_send() [(may_steal == true) and (Pkt src type == >DPBUF_MALLOC)] >dpdk_do_tx_copy() >

[ovs-dev] [PATCH v9] dpif-netdev: Assign ports to pmds on non-local numa node.

2017-06-29 Thread Billy O'Mahony
Previously if there is no available (non-isolated) pmd on the numa node for a port then the port is not polled at all. This can result in a non-operational system until such time as nics are physically repositioned. It is preferable to operate with a pmd on the 'wrong' numa node albeit with lower p

[ovs-dev] [RFC PATCH v2] Update relevant artifacts to add support for DPDK 17.05.1.

2017-06-29 Thread mweglicx
Patch is marked as RFC because DPDK 17.05.1 is not yet published. Upgrading to DPDK 17.05.1 stable release adds new significant features relevant to OVS, including, but not limited to: - tun/tap PMD, - VFIO hotplug support, - Generic flow API. Following changes are applied: - netdev-dpdk: Changes

[ovs-dev] [PATCH] bridge: Filter all zero mac when use ovs-vsctl to set mac

2017-06-29 Thread zhongbaisong
Signed-off-by: zhongbaisong --- vswitchd/bridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 71f73d6..925edfc 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -4432,6 +4432,9 @@ iface_set_mac(const struct bridge *br, const struct po

[ovs-dev] [PATCH] bridge: Add support to set mtu by ovs-vsctl command

2017-06-29 Thread zhongbaisong
This commit add the support to set mtu with ovs-vsctl command like: ovs-vsctl set interface port mtu=2000 Signed-off-by: zhongbaisong diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 8336d70..71f73d6 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -307,6 +307,7 @@ stati