[ovs-dev] Why I can't get max line speed using ovs-dpdk and vhost-user port?

2017-11-09 Thread Sam
Hi all, I'm using ovs-dpdk with vhost-user port and 10 VM started by qemu, topology is: VM1 ~ VM10 | | -OVS | dpdk-bond the start command of ovs-dpdk is: root 8969 200 0.1 107748696 231284 ?S ovs-vswitchd --dpdk -c 0x40004 -n 4 --socket-mem 10240

[ovs-dev] [PATCH] odp-execute: Bug Fix - missing break statement for CLONE action

2017-11-09 Thread Vishal Deep Ajmera
Adding the break statement for CLONE action case. Signed-off-by: Vishal Deep Ajmera --- lib/odp-execute.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/odp-execute.c b/lib/odp-execute.c index 3011479..2d20cd5 100644 --- a/lib/odp-execute.c +++

[ovs-dev] [PATCH] openvswitch: add null pointer check on upcall

2017-11-09 Thread Colin King
From: Colin Ian King upcall may be assigned a NULL pointer as genlmsg_put can potentially return a NULL. Add a null check to avoid a null pointer dereference on upcall. Detected by CoverityScan, CID#728404 ("Dereference null return value") Fixes: commit ccb1352e76cf

Re: [ovs-dev] [PATCH 3/2] vswitchd: Document netdev-dpdk commands.

2017-11-09 Thread Flavio Leitner
Hi Ilya, This patch is doing two things. If we need to revert the mempool stuff, it will impact on everything on top of the documentation refactoring. I think the refactoring looks easier for Ian to get in. I could ack just the refactoring because I haven't reviewed the mempool change. fbl

Re: [ovs-dev] [PATCH] openvswitch: add null pointer check on upcall

2017-11-09 Thread Pravin Shelar
On Thu, Nov 9, 2017 at 7:29 PM, Colin King wrote: > From: Colin Ian King > > upcall may be assigned a NULL pointer as genlmsg_put can potentially > return a NULL. Add a null check to avoid a null pointer dereference > on upcall. > > Detected

[ovs-dev] [PATCH] netdev: Remove EOPNOTSUPP related comment for netdev_send().

2017-11-09 Thread Ilya Maximets
Since 57eebbb4c315, the caller must make sure that 'netdev' supports sending. This mentioned at the start of the comment. Fixes: 57eebbb4c315 ("dpif-netdev: Don't try to output on a device without txqs.") Signed-off-by: Ilya Maximets --- lib/netdev.c | 5 + 1 file

[ovs-dev] GOD BLESS YOU!!

2017-11-09 Thread MARIA DAVIDSON
Greetings in the name of the lord.Sorry to say if i intruded into your privacy, l'm Mrs Maria Davidson, a born again christian, also .God Fearing Woman, With due respect to you my dear in Christ. Am here for a message from the Lord to you which will change the life of people round you. Am

[ovs-dev] [PATCH v2 7/8] nlmon: added netns support.

2017-11-09 Thread Flavio Leitner
Signed-off-by: Flavio Leitner --- utilities/nlmon.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/utilities/nlmon.c b/utilities/nlmon.c index d38a70b6f..8d9d20f97 100644 --- a/utilities/nlmon.c +++ b/utilities/nlmon.c @@ -41,6 +41,7 @@ main(int argc

[ovs-dev] [PATCH v2 8/8] netdev-linux: fail ops not supporting remote netns.

2017-11-09 Thread Flavio Leitner
When the netdev is in another namespace and the operation doesn't support network namespaces, return the correct error. Signed-off-by: Flavio Leitner --- lib/netdev-linux.c | 134 +++-- 1 file changed, 120 insertions(+), 14

Re: [ovs-dev] ovs-tcpdump error

2017-11-09 Thread Aaron Conole
Aaron Conole writes: > Hi Bhanu, > > "Bodireddy, Bhanuprakash" writes: > >> Hi, >> >> >> >> ovs-tcpdump throws the below error when trying to capture packets on one of >> the >> vhostuserports. >> >> >> >> $ ovs-tcpdump -i

Re: [ovs-dev] [PATCH v2 2/2] OpenvSwitch logrotate: Use ctl file path as target in ovs-appctl to reset logs

2017-11-09 Thread Mark Michelson
I feel much better about this approach. On Wed, Nov 8, 2017 at 3:00 AM wrote: > From: Numan Siddique > > Presently, logrotate script, searches for the pid files in > /var/log/openvswitch > and passes the pid file name (without .pid) as target to

[ovs-dev] [PATCH v2 0/8] Add minimum network namespace support.

2017-11-09 Thread Flavio Leitner
Today Open vSwitch doesn't know about network namespaces (netns), but users are moving internal ports to other namespaces. Although packets are still flowing, the daemon fails to find out basic port information, like if it is UP or DOWN, for instance. This patchset rely on a new kernel vport API

[ovs-dev] [PATCH v2 3/8] vport: retrieve the netnsid if available.

2017-11-09 Thread Flavio Leitner
Recent kernels provide the network namespace ID of a port, so use that to discover where the port currently is. Signed-off-by: Flavio Leitner --- datapath/linux/compat/include/linux/openvswitch.h | 2 ++ lib/dpif-netlink.c| 6 ++

[ovs-dev] [PATCH v2 5/8] netdev-linux: use netlink to update netdev.

2017-11-09 Thread Flavio Leitner
The ioctl interface doesn't support network namespaces, so try updating the netdev using netlink message instead. To provide backwards compatibility, fall back to the previous method if netlink isn't supported or fails. Signed-off-by: Flavio Leitner --- lib/netdev-linux.c |

[ovs-dev] [PATCH v2 6/8] netlink linux: enable listening to all nsids

2017-11-09 Thread Flavio Leitner
Internal ports may be moved to another network namespace and when that happens, the vswitch stops receiving netlink notifications. This patch enables the vswitch to listen to all network namespaces that have a nsid assigned into the network namespace where the socket has been opened. It requires

[ovs-dev] [PATCH v2 2/8] netdev-linux: initialize netns as invalid.

2017-11-09 Thread Flavio Leitner
A port might be already in another netns, so initialize it as invalid to force a state update. Signed-off-by: Flavio Leitner --- lib/netdev-linux.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 184822816..c31334ce1 100644

[ovs-dev] CFDI de Nóminas

2017-11-09 Thread Conceptos obligatorios
Actualice sus conocimientos en materia fiscal y cumpla con las disposiciones del SAT CFDI de Nóminas 17 de noviembre - Mtro. David Lozada Martínez9am-8pm La Reforma Fiscal del año 2014 trajo consigo la modificación del artículo 99 en su fracción III de la Ley del Impuesto sobre la Renta,

Re: [ovs-dev] [PATCH v2] ovn: Add document describing new features in OVN added in version 2.8.

2017-11-09 Thread Ben Pfaff
On Wed, Nov 08, 2017 at 09:44:53PM +, Mark Michelson wrote: > Hi Ben, I gave this another read and found a couple of small issues. I > think once those are cleared up, I'll be ready to ack this. > > On Tue, Nov 7, 2017 at 8:50 PM Ben Pfaff wrote: > > > This is adapted from a

Re: [ovs-dev] [PATCH v2] ovn: Add document describing new features in OVN added in version 2.8.

2017-11-09 Thread Mark Michelson
Looks good by me! On Thu, Nov 9, 2017 at 4:03 PM Ben Pfaff wrote: > This is adapted from a talk I gave at OpenStack Summit Sydney on Nov. 6. > > Signed-off-by: Ben Pfaff > Acked-by: Mark Michelson > --- > v1->v2: Replace overview of OVN with

Re: [ovs-dev] (no subject)

2017-11-09 Thread Carlos Solis Monge
Hallo, ein SPÄTERER KUNDE, DER DEN GLEICHEN LETZTEN NAMEN MIT IHNEN TEILT, starb Intestate mit einem nicht beanspruchten Vermögenswert. Wir möchten Sie für den Anspruch präsentieren.Antwort für Details ___ dev mailing list d...@openvswitch.org

Re: [ovs-dev] [PATCH v2] ovn: Add document describing new features in OVN added in version 2.8.

2017-11-09 Thread Ben Pfaff
Oops, this is v3, not v2, sorry about that. On Thu, Nov 09, 2017 at 02:02:29PM -0800, Ben Pfaff wrote: > This is adapted from a talk I gave at OpenStack Summit Sydney on Nov. 6. > > Signed-off-by: Ben Pfaff > --- > v1->v2: Replace overview of OVN with reference to

Re: [ovs-dev] [PATCH] netdev: Remove EOPNOTSUPP related comment for netdev_send().

2017-11-09 Thread Ben Pfaff
On Fri, Nov 10, 2017 at 06:02:17AM +0900, Gregory Rose wrote: > > On 11/9/2017 9:34 PM, Ilya Maximets wrote: > >Since 57eebbb4c315, the caller must make sure that 'netdev' supports > >sending. This mentioned at the start of the comment. > > > >Fixes: 57eebbb4c315 ("dpif-netdev: Don't try to

[ovs-dev] Gastos de Viaje - En línea

2017-11-09 Thread Gastos que pueden Deducirse
En línea y en Vivo / Para todo su Equipo con una sola Conexión Gastos de Viaje, Viáticos y su Régimen Fiscal 17 de noviembre - Online en Vivo - 10:00 a 13:00 y de 15:00 a 18:00 Hrs Asista a esta completa capacitación y aprenda cuáles son los requisitos fiscales que deben cumplirse para que

[ovs-dev] [PATCH 2/2] Adding configuration option to whitelist DPDK physical ports.

2017-11-09 Thread Sugesh Chandran
Adding a OVS configuration option to whitelist DPDK physical ports. By default running multiple instances of DPDK on a single platform cannot use physical ports at the same time even though they are distinct. The eal init scans all the ports that are bound to DPDK and initialize the drivers

[ovs-dev] [PATCH 1/2] Adding DPDK configuration option to isolate rte-mempool allocation.

2017-11-09 Thread Sugesh Chandran
DPDK allocate memory regions at the time of vswitchd init. To run multiple primary instance of DPDK including OVS on a single platform, the memory map regions in the filesystem should be distinct. The new configuration option let user to enable the memory isolation in need. By default, OVS uses

[ovs-dev] [PATCH 0/2] Adding ovs configuration options to run multiple DPDK instances on a single platform.

2017-11-09 Thread Sugesh Chandran
The current OVS-DPDK implementation doesnt allow users to run another DPDK application simultaneously on the same platform. To avoid this limitation, the patch series offers two configuration options to isolate the OVS-DPDK process completely on a platform. 1) The configuration option is added

[ovs-dev] [PATCH v2 0/3] netdev-dpdk: Mempool creation failure + Appctl

2017-11-09 Thread Ilya Maximets
This series implemented on top of my previous patch-set: * [PATCH v2 0/4] netdev-dpdk: mempool management: Leaks & Refactoring. https://mail.openvswitch.org/pipermail/ovs-dev/2017-November/340657.html I can rebase it on top of current master easily if needed. First 2 patches are independent

[ovs-dev] [PATCH v2 3/3] netdev-dpdk: Fix mempool creation with large MTU.

2017-11-09 Thread Ilya Maximets
Currently mempool name size limited to 25 characters by RTE_MEMPOOL_NAMESIZE. netdev-dpdk tries to create mempool with the following name pattern: "ovs_%{hash}_%{socket}_%{mtu}_%{n_mbuf}". We have 3 chars for "ovs" + 4 chars for delimiters + 8 chars for hash (because it's the 32 bit integer

[ovs-dev] [PATCH v2 2/3] netdev-dpdk: Add debug appctl to get mempool information.

2017-11-09 Thread Ilya Maximets
New appctl 'netdev-dpdk/get-mempool-info' implemented to get result of 'rte_mempool_list_dump()' function if no arguments passed and 'rte_mempool_dump()' if DPDK netdev passed as argument. Could be used for debugging mbuf leaks and other mempool related issues. Most useful in pair with `grep -v

[ovs-dev] [PATCH v2 1/3] vswitchd: Document netdev-dpdk commands.

2017-11-09 Thread Ilya Maximets
Signed-off-by: Ilya Maximets Acked-by: Antonio Fischetti --- NEWS| 2 ++ lib/automake.mk | 1 + lib/netdev-dpdk-unixctl.man | 9 + manpages.mk | 2 ++ vswitchd/ovs-vswitchd.8.in | 1