[ovs-dev] [PATCH v2] doc: fix duplicated colons in rst documents

2016-10-31 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- FAQ.rst | 106 +- INSTALL.DPDK.rst | 74 +-- INSTALL.Debian.rst| 10 ++--- INSTALL.Docker.rst| 38 +- INSTALL.KVM.rst | 12

Re: [ovs-dev] [PATCH v7] netdev-dpdk: add hotplug support

2016-10-26 Thread Mauricio Vásquez
to work?, should it be an appctl to detach or should we implement some logic two automatically detach the port when it is removed from ovs? Thanks, Mauricio On Wed, Oct 26, 2016 at 8:36 PM, Daniele Di Proietto wrote: > Hi Flavio, > > I was thinking that instead of having a separate

[ovs-dev] [PATCH v2] doc: v2: fix bad link to dpdk advance installation guide

2016-10-20 Thread Mauricio Vasquez B
Previous fix was also wrong. Fixes: 167703d ("doc: Convert INSTALL.DPDK to rST") Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL.DPDK.rst b/INSTALL.DPDK.rst index 5780909..4ca9b27 10

[ovs-dev] [PATCH] doc: fix duplicated colons in rst documents

2016-10-20 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.rst | 148 +- INSTALL.Debian.rst| 20 +-- INSTALL.Docker.rst| 76 +++--- INSTALL.KVM.rst | 24 ++-- INSTALL.Windows.rst | 136

[ovs-dev] [PATCH] doc: fix bad link to dpdk advance installation guide

2016-10-18 Thread Mauricio Vasquez B
The link was pointing to a wrong place after the file was converted to rst. Fixes: 167703d664fc ("doc: Convert INSTALL.DPDK to rST") Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL.

Re: [ovs-dev] Documentation for DPDK-ivshmem library

2016-10-18 Thread Mauricio Vasquez
[5]https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK-ADVANCED.md#52-phy-vm-phy-ivshmem If you have any other questions don't hesitate in writing them here, Mauricio Vasquez. On 10/18/2016 02:43 PM, abhishekb wrote: Hello, I'm a student at IIT Bombay pursuing my Masters, I have

Re: [ovs-dev] Setting pmd-cpu-mask in cluster-on-die mode

2016-09-20 Thread Mauricio Vasquez
On 09/19/2016 10:28 AM, Jeremias Blendin wrote: Hello Mauricio, thank you for the pointer to the bin-to-hex conversion, I knew it looked strange but I could not see why m) In any case, it was just an example, the actual configuration for testing is correct. 2016-09-18 18:25 GMT+02:00

Re: [ovs-dev] Setting pmd-cpu-mask in cluster-on-die mode

2016-09-18 Thread Mauricio Vasquez
y creates pmd threads in sockets where there are ports, in the case of physical ports the numa node is defined by where the ports are connected on the server, in the case of dpdkvhostuser ports, it is defined by where memory of the virtio device is allocated. Probably in your case physical

Re: [ovs-dev] Question about other_config : pmd-cpu-mask options

2016-09-08 Thread Mauricio Vasquez
://openvswitch.org/mailman/listinfo/dev Mauricio V, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] netdev-dpdk: Use rte_eth_is_valid_port instead of manual check

2016-08-12 Thread Mauricio Vasquez
On 08/12/2016 05:57 PM, Ciara Loftus wrote: Signed-off-by: Ciara Loftus It is a necessary fix, specially if hotplug will be introduced. Acked-by: Mauricio Vásquez B --- lib/netdev-dpdk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib

[ovs-dev] [PATCH] ovn: make external_ids naming uniform

2016-08-11 Thread Mauricio Vasquez B
In some places it is called "external-ids" while in others "external_ids" is used. This commit changes it to external_ids in all of them. Signed-off-by: Mauricio Vasquez B --- ovn/controller/ovn-controller.8.xml | 12 ++-- ovn/ovn-architecture.7.xml |

[ovs-dev] [PATCH 1/2] README: add missing reference to INSTALL.SELinux.md

2016-07-28 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 69c4912..13a132a 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ b...@openvswitch.org [INSTALL.KVM.md]:INSTALL.KVM.md [INSTALL.Libvirt.md

[ovs-dev] [PATCH 2/2] README: add referente to DPDK installation

2016-07-28 Thread Mauricio Vasquez B
there was not any reference to the DPDK installation in the main README file. Signed-off-by: Mauricio Vasquez B --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 13a132a..cf53437 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ To use Open

Re: [ovs-dev] [RFC PATCH v2 1/1] netdev-dpdk: Arbitrary 'dpdk' port naming

2016-07-15 Thread Mauricio Vásquez
gt; confusing. > > I was not able to test the patch, it does not apply and I didn't have > the time > > to apply it manually. > > Thanks for the review Mauricio! > The latest hotplug patch fails to apply also. Do you plan to submit a new > version soon? Once you d

[ovs-dev] [PATCH v7] netdev-dpdk: add hotplug support

2016-07-15 Thread Mauricio Vasquez B
-detach After the user attaches a new device, it has to be added to a bridge using the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- v7: - rebase to master v6: - add explicit comment about supporting

Re: [ovs-dev] [RFC PATCH v2 1/1] netdev-dpdk: Arbitrary 'dpdk' port naming

2016-07-14 Thread Mauricio Vásquez
hed", argv[1]); > goto error; > } > > snprintf(response, sizeof(response), > - "Port '%s' has been detached", argv[1]); > + "Device '%s' has been detached", argv[1]); > +VLOG_INFO("DPDK PCI device %i:%i:%i.%i no longer available", > + addr.domain, addr.bus, > + addr.devid, addr.function); > + > +/* Remove PCI address from list of available devices */ > +pci_devs[port_id].domain = 0; > +pci_devs[port_id].bus = 0; > +pci_devs[port_id].devid = 0; > +pci_devs[port_id].function = 0; > > ovs_mutex_unlock(&dpdk_mutex); > unixctl_command_reply(conn, response); > @@ -3387,6 +3472,8 @@ dpdk_init__(const struct smap *ovs_other_config) > int argc, argc_tmp; > bool auto_determine = true; > int err = 0; > +int i = 0; > +struct rte_eth_dev_info info; > cpu_set_t cpuset; > #ifndef VHOST_CUSE > char *sock_dir_subcomponent; > @@ -3509,6 +3596,15 @@ dpdk_init__(const struct smap *ovs_other_config) > > atexit(deferred_argv_release); > > +memset(pci_devs, 0x0, sizeof(pci_devs)); > +nb_ports = rte_eth_dev_count(); > +for (i = 0; i < nb_ports; i++) { > +rte_eth_dev_info_get(i, &info); > +pci_devs[i] = info.pci_dev->addr; > +VLOG_INFO("DPDK PCI device %i:%i:%i.%i available", > pci_devs[i].domain, > + pci_devs[i].bus, pci_devs[i].devid, > pci_devs[i].function); > +} > + > rte_memzone_dump(stdout); > rte_eal_init_ret = 0; > > -- > 2.4.3 > > Mauricio V, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] The beautiful work in crisis!

2016-06-29 Thread mauricio bang
Hello! We are looking for employees working remotely. My name is Glenda, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best regards!___

Re: [ovs-dev] [dpdk-ovs] Memory allocation error while trying to add a dpdk mode port to ovs bridge

2016-06-20 Thread Mauricio Vásquez
. other_config:dpdk-socket-mem="1024,1024" Mauricio V, On Mon, Jun 20, 2016 at 9:25 AM, gowrishankar < gowrishanka...@linux.vnet.ibm.com> wrote: > On Monday 20 June 2016 08:21 AM, Wang, Alex wrote: > >> Hi There, >> >> I downloaded the master branch from github and tr

Re: [ovs-dev] [PATCH RFC 0/1] netdev-dpdk: Arbitrary 'dpdk' port naming

2016-06-16 Thread Mauricio Vásquez
. [1] https://patchwork.ozlabs.org/patch/626897/ Mauricio V, On Thu, Jun 16, 2016 at 1:54 PM, Jan Scheurich wrote: > I very much support the proposal to make configuration of "physical" DPDK > ports more explicit and flexible. Both the ability to specify the port by > its PCI

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-09 Thread Mauricio Vásquez
On Thu, Jun 9, 2016 at 4:42 AM, Flavio Leitner wrote: > On Tue, Jun 07, 2016 at 11:42:11PM +0200, Mauricio Vásquez wrote: > > On Tue, Jun 7, 2016 at 10:52 PM, Bodireddy, Bhanuprakash < > > bhanuprakash.bodire...@intel.com> wrote: > > > > > Thanks Mauricio f

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Mauricio Vásquez
On Tue, Jun 7, 2016 at 10:52 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > Thanks Mauricio for your comments, My comments inline. > > >+ it has to be configured with DPDK support and is done by './configure > -- > >with-dpdk'. >

Re: [ovs-dev] [PATCH v6 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-06-07 Thread Mauricio Vásquez
sections of all network devices used by DPDK. Parameter > 'N' > + determines how many queues can be used by the guest.This may not work > with > + old versions of QEMU found in some distros and need Qemu version >= 2.2. > + > +## 7. QOS > + > +Here is an example on QOS usage. > +Assuming you have a vhost-user port transmitting traffic consisting of > +packets of size 64 bytes, the following command would limit the egress > +transmission rate of the port to ~1,000,000 packets per second > + > +`ovs-vsctl set port vhost-user0 qos=@newqos -- --id=@newqos create qos > +type=egress-policer other-config:cir=4600 other-config:cbs=2048` > + > +To examine the QoS configuration of the port: > + > +`ovs-appctl -t ovs-vswitchd qos/show vhost-user0` > + > +To clear the QoS configuration from the port and ovsdb use the following: > + > +`ovs-vsctl destroy QoS vhost-user0 -- clear Port vhost-user0 qos` > + > +For more details regarding egress-policer parameters please refer to the > +vswitch.xml. > + > +## 8. Rate Limiting > + > +Here is an example on Ingress Policing usage. > +Assuming you have a vhost-user port receiving traffic consisting of > +packets of size 64 bytes, the following command would limit the reception > +rate of the port to ~1,000,000 packets per second: > + > +`ovs-vsctl set interface vhost-user0 ingress_policing_rate=368000 > + ingress_policing_burst=1000` > + > +To examine the ingress policer configuration of the port: > + > +`ovs-vsctl list interface vhost-user0` > + > +To clear the ingress policer configuration from the port use the > following: > + > +`ovs-vsctl set interface vhost-user0 ingress_policing_rate=0` > + > +For more details regarding ingress-policer see the vswitch.xml. > + > +## 9. Static Code Analysis > + > +Static Analysis is method of debugging SW by examining the code rather > than > +actually executing it. Many third party Software is available to carry > +Static analysis, few being open source and rest commercial. > + > +Below are the steps to run clang static analyzer on OVS codebase. > + > + ``` > + apt-get install clang [ On Ubuntu] > + dnf install clang clang-analyzer -y [ On fedora] > + > + cd $OVS_DIR > + ./boot.sh > + ./configure --with-dpdk > + make clean > + scan-build make CFLAGS="-std=gnu99" > + scan-view --host= --port 8183 > /tmp/scan-build--mm-dd-114251-1027-1 --allow-all-hosts > + ``` > + > + The results can be viewed on the browser using ip address and port no. > + > + `http://:8183/` > + > +## 10. Vsperf > + > +Vsperf project goal is to develop vSwitch test framework that can be used > to > +validate the suitability of different vSwitch implementations in a Telco > deployment > +environment. More information can be found in below link. > + > +https://wiki.opnfv.org/display/vsperf/VSperf+Home > + > + > +Bug Reporting: > +-- > + > +Please report problems to b...@openvswitch.org. > + > + > +[INSTALL.userspace.md]:INSTALL.userspace.md > +[INSTALL.md]:INSTALL.md > +[DPDK Linux GSG]: > http://www.dpdk.org/doc/guides/linux_gsg/build_dpdk.html#binding-and-unbinding-network-ports-to-from-the-igb-uioor-vfio-modules > +[DPDK Docs]: http://dpdk.org/doc > +[libvirt]: http://libvirt.org/formatdomain.html > +[Guest VM using libvirt]: INSTALL.DPDK.md#ovstc > +[INSTALL DPDK]: INSTALL.DPDK.md#build > +[INSTALL OVS]: INSTALL.DPDK.md#build > -- > 2.4.11 > > Best Regards, Mauricio V ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v6 1/2] doc: Refactor DPDK install documentation

2016-06-07 Thread Mauricio Vásquez
Hi Bhanuprakash, Comments inline. On Tue, Jun 7, 2016 at 6:45 PM, Bhanuprakash Bodireddy < bhanuprakash.bodire...@intel.com> wrote: > Refactor the INSTALL.DPDK in to two documents named INSTALL.DPDK and > INSTALL.DPDK-ADVANCED. While INSTALL.DPDK document shall facilitate the > novice user in se

Re: [ovs-dev] [PATCH] acinclude: fix issue when configuring with --with-dpdk

2016-06-01 Thread Mauricio Vásquez
Hi Ben, On Wed, Jun 1, 2016 at 7:38 PM, Ben Pfaff wrote: > On Wed, Jun 01, 2016 at 06:48:07PM +0200, Mauricio Vasquez B wrote: > > when an empty path is given to the --with-dpdk option > > (--with-dpdk="" or --width-dpdk=$NON_SET_ENV_VARIABLE) the configure > >

[ovs-dev] [PATCH] acinclude: fix issue when configuring with --with-dpdk

2016-06-01 Thread Mauricio Vasquez B
or in that case. Signed-off-by: Mauricio Vasquez B --- acinclude.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index f3de855..0a14856 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -161,10 +161,11 @@ dnl Configure DPDK source tree

Re: [ovs-dev] --with-dpdk configure option issue

2016-06-01 Thread Mauricio Vásquez
On Wed, Jun 1, 2016 at 5:14 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > >-Original Message----- > >From: Mauricio Vásquez [mailto:mauriciovasquezber...@gmail.com] > >Sent: Wednesday, June 1, 2016 3:37 PM > >To: Bodireddy, Bhanupraka

Re: [ovs-dev] --with-dpdk configure option issue

2016-06-01 Thread Mauricio Vásquez
On Wed, Jun 1, 2016 at 3:29 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > >-Original Message----- > >From: Mauricio Vásquez [mailto:mauriciovasquezber...@gmail.com] > >Sent: Wednesday, June 1, 2016 11:17 AM > >To: ovs dev > >Cc:

[ovs-dev] --with-dpdk configure option issue

2016-06-01 Thread Mauricio Vásquez
icit error should be printed to avoid any possible confusion, as for example when DPDK_BUILD is not set. Bhanuprakash, I CC'ed you because you are author of 40b5ea86319f ("acinclude: Autodetect DPDK location when configuring OVS"), then I think you know ho

Re: [ovs-dev] OVS is failing while starting with DPDK

2016-06-01 Thread Mauricio Vásquez
gt; supported > > in this copy of Open vSwitch.* > > [RW] This error message means that dpdk-init has not "true" value in db. > > I am not pretty sure that the error message means that, according to my understanding it means that the dpdk-init is true but ovs was not built with DPDK support. You can look at the dpdk_init() function in lib/netdev-nodpdk.c, this is a stub used when there is not DPDK support. > > > > Please anyone can help, after executing step 22 getting error "DPDK not > > supported in this copy of Open vSwitch" > > > > Thanks and Regards > > S Pratap > > Br, > Robert > ___ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev > Mauricio V, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] OVS is failing while starting with DPDK

2016-06-01 Thread Mauricio Vásquez
h/db.sock: > connecting... > > 2016-06-01T08:25:32Z|4|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: > connected2016-06-01T08:25:32Z|5|dpdk|ERR|DPDK not supported > in this copy of Open vSwitch.* > > Please

Re: [ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-05-27 Thread Mauricio Vásquez
Hi Bhanuprakash, On Tue, May 24, 2016 at 12:22 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > Thanks Mauricio for the review, my comments inline. > > > > *From:* Mauricio Vásquez [mailto:mauricio.vasquezber...@studenti.polito.it] > > *Sent:*

Re: [ovs-dev] [PATCH v5] netdev-dpdk: add hotplug support

2016-05-26 Thread Mauricio Vásquez
Hi, I just sent v6: http://openvswitch.org/pipermail/dev/2016-May/071786.html On Thu, May 19, 2016 at 9:30 AM, Mauricio Vásquez < mauricio.vasquezber...@studenti.polito.it> wrote: > > > On Tue, May 17, 2016 at 12:44 AM, Flavio Leitner wrote: > >> On Fri, May 13,

[ovs-dev] [PATCH v6] netdev-dpdk: add hotplug support

2016-05-26 Thread Mauricio Vasquez B
-detach After the user attaches a new device, it has to be added to a bridge using the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B Tested-by: ian.sto...@intel.com --- v6: - add explicit comment about

Re: [ovs-dev] [PATCH 2/2] doc: Refactor DPDK install guide, add ADVANCED doc

2016-05-23 Thread Mauricio Vásquez
## 6.3 DPDK backend inside VM > + > + Please note that additional configuration is required if you want to run > + ovs-vswitchd with DPDK backend inside a QEMU virtual machine. > Ovs-vswitchd > + creates separate DPDK TX queues for each CPU core available. This > operatio

Re: [ovs-dev] [PATCH 1/2] doc: Refactor DPDK install documentation

2016-05-23 Thread Mauricio Vásquez
Hi Bhanuprakash, Some comments inline. On Tue, May 17, 2016 at 4:49 PM, Bhanuprakash Bodireddy < bhanuprakash.bodire...@intel.com> wrote: > Refactor the INSTALL.DPDK in to two documents named INSTALL.DPDK and > INSTALL.DPDK-ADVANCED. While INSTALL.DPDK document shall facilitate the > novice use

Re: [ovs-dev] PMD threads starting/stopping strategy

2016-05-23 Thread Mauricio Vásquez
Thanks Ilya for your answer, I'll try to give a look to your patch-set this week. On Fri, May 20, 2016 at 11:55 AM, Ilya Maximets wrote: > Hi, Mauricio. > > My thoughts about TX queue management described in patch-set > "[PATCH RFC 0/6] dpif-netdev: Manual pinnig of RX q

[ovs-dev] PMD threads starting/stopping strategy

2016-05-20 Thread Mauricio Vásquez
the system. I think it is not common to have all cpu cores are assigned to ovs, then many of those queues will be not used. Does it make sense to create the number of tx queues based on the core_mask, in a way that all of the queues are actually used? Thank you very much for the attention,

Re: [ovs-dev] [PATCH v5] netdev-dpdk: add hotplug support

2016-05-19 Thread Mauricio Vásquez
On Tue, May 17, 2016 at 12:44 AM, Flavio Leitner wrote: > On Fri, May 13, 2016 at 10:25:41PM +0200, Mauricio Vasquez B wrote: > > In order to use dpdk ports in ovs they have to be bound to a DPDK > > compatible driver before ovs is started. > > > > This patch adds the

Re: [ovs-dev] [PATCH v5] netdev-dpdk: add hotplug support

2016-05-19 Thread Mauricio Vásquez
On Mon, May 16, 2016 at 7:13 PM, Stokes, Ian wrote: > > -Original Message- > > From: Mauricio Vasquez B > > [mailto:mauricio.vasquezber...@studenti.polito.it] > > Sent: Friday, May 13, 2016 9:26 PM > > To: dev@openvswitch.org > > Cc: acon...@red

Re: [ovs-dev] [PATCH v4] netdev-dpdk: add hotplug support

2016-05-13 Thread Mauricio Vásquez
Hello, I sent v5: http://openvswitch.org/pipermail/dev/2016-May/070953.html Mauricio V, On Wed, May 11, 2016 at 6:53 PM, Mauricio Vásquez < mauricio.vasquezber...@studenti.polito.it> wrote: > Hi Flavio, > > On Tue, May 10, 2016 at 10:11 PM, Flavio Leitner wrote: > >>

[ovs-dev] [PATCH v5] netdev-dpdk: add hotplug support

2016-05-13 Thread Mauricio Vasquez B
-detach After the user attaches a new device, it has to be added to a bridge using the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- v5: - use two appctl commands instead of a single one - rebase to

Re: [ovs-dev] [PATCH v4] netdev-dpdk: add hotplug support

2016-05-11 Thread Mauricio Vásquez
Hi Flavio, On Tue, May 10, 2016 at 10:11 PM, Flavio Leitner wrote: > > Thanks for this patch, Mauricio. > More inline. > > On Tue, May 10, 2016 at 09:47:12PM +0200, Mauricio Vásquez wrote: > > Adding in CC all the people involved. > > (I don't know why git just t

Re: [ovs-dev] [PATCH v4] netdev-dpdk: add hotplug support

2016-05-10 Thread Mauricio Vásquez
Adding in CC all the people involved. (I don't know why git just takes two) On Tue, May 10, 2016 at 9:11 PM, Mauricio Vasquez B < mauricio.vasquezber...@studenti.polito.it> wrote: > In order to use dpdk ports in ovs they have to be bound to a DPDK > compatible driver befo

Re: [ovs-dev] [PATCH v3] netdev-dpdk: add hotplug support

2016-05-10 Thread Mauricio Vásquez
Hi Markos, I sent a new version: http://openvswitch.org/pipermail/dev/2016-May/070795.html Thank you for your feedback. On Tue, May 3, 2016 at 5:27 PM, Markos Chandras wrote: > Hello, > > (a couple of minor things I noticed whilst looking at your patch) > On 04/13/2016 03:08

[ovs-dev] [PATCH v4] netdev-dpdk: add hotplug support

2016-05-10 Thread Mauricio Vasquez B
device, it has to be added to a bridge using the add-port command, similarly, before detaching a device it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- v4: - fix typo in commit message - remove unnecessary whitespace change in INSTALL.DPDK.md v3: - create

[ovs-dev] scan

2016-05-06 Thread Mauricio
Sent from my Samsung device ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] 答复: Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-21 Thread Mauricio Vásquez
Unfortunately I am not able to give you a more precise help in this case. As this problem is not directly related to OvS, I recommend you to write to the DPDK mailing list, hopefully someone will help you. Best Regards, Mauricio Vasquez, On Thu, Apr 21, 2016 at 10:26 AM, lifuqiong wrote: >

Re: [ovs-dev] Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-20 Thread Mauricio Vásquez
) application to test your card. Once again, please let me know the results. Mauricio Vasquez, On Wed, Apr 20, 2016 at 1:01 PM, lifuqiong wrote: > Hi Mauricio Vasquez: > > Thank you for your good advice. > > I changed my environment as you metioned, And try to ping from VM to

Re: [ovs-dev] 答复: Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-20 Thread Mauricio Vásquez
ters, Please let me know the results of that test. Mauricio Vasquez, On Wed, Apr 20, 2016 at 2:30 AM, lifuqiong wrote: > Hi Mauricio Vasquez: > > > > root@host52:~# ovs-vsctl show > > f2664a74-7523-4240-812a-4f022051346a > > Bridge "ovsbr0" > >

Re: [ovs-dev] Reply: ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-19 Thread Mauricio Vásquez
Hi lifuqiong, Could you provide the output of the following commands in your setup?: ovs-vsctl show ovs-ofctl dump-flows ovs-ofctl dump-ports Mauricio Vasquez, On Sat, Apr 16, 2016 at 10:23 AM, lifuqiong wrote: > Hi Mauricio: > > I changed my qemu version from 2.2.1 to 2.5.

Re: [ovs-dev] how does bug fix back-porting work in ovs?

2016-04-15 Thread Mauricio Vásquez
Now it is clear for me, Thanks Ben. On Fri, Apr 15, 2016 at 6:47 PM, Ben Pfaff wrote: > On Fri, Apr 15, 2016 at 03:11:42PM +0200, Mauricio Vásquez wrote: > > I would like to know how is the methodology to back-port bug fixes in > ovs, > > I ask it because with [1] I notice

[ovs-dev] how does bug fix back-porting work in ovs?

2016-04-15 Thread Mauricio Vásquez
advance Mauricio Vasquez, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] ovs + dpdk vhost-user match flows but cannot execute actions

2016-04-13 Thread Mauricio Vásquez
.tar.gz, please download ovs from git and switch to branch-2.5. Mauricio Vasquez, On Thu, Apr 14, 2016 at 4:28 AM, lifuqiong wrote: > I want to test dpdk vhost-user port on ovs to follow > https://software.intel.com/en-us/blogs/2015/06/09/building-vhost-user-for-ovs-today-using-dpdk-200 > ; &

[ovs-dev] [PATCH v3] netdev-dpdk: add hotplug support

2016-04-13 Thread Mauricio Vasquez B
device, it has to be added to a bridge using the to use the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.md | 26 +- NEWS | 1 + lib/netdev-dpdk.c | 102

Re: [ovs-dev] [PATCH 1/3] netdev-dpdk: add hotplug support

2016-04-01 Thread Mauricio Vásquez
Hello Li, On Fri, Apr 1, 2016 at 11:08 AM, Li Wei wrote: > Hello, > > On 03/28/2016 04:52 PM, Mauricio Vasquez B wrote: > > In order to use dpdk ports in ovs they have to be bound to a DPDK > > compatible driver before ovs is started. > > > > This patc

[ovs-dev] [PATCH v2] netdev-dpdk: add hotplug support

2016-04-01 Thread Mauricio Vasquez B
device, it has to be added to a bridge using the to use the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.md | 26 +++- NEWS | 1 + lib/netdev-dpdk.c | 88

Re: [ovs-dev] [PATCH 1/3] netdev-dpdk: add hotplug support

2016-04-01 Thread Mauricio Vásquez
Hi Ian, On Thu, Mar 31, 2016 at 2:02 PM, Stokes, Ian wrote: > Hi Mauricio, > > This patch is quite useful. Some minor comments inline. I've also tested > the patch and can confirm it works without issue. > Great! > > Thanks > Ian > > > -Original

Re: [ovs-dev] [PATCH 3/3] NEWS: dpdk port hotplug is now supported

2016-03-29 Thread Mauricio Vásquez
Right, I'll wait for a review and then I'll send a V2 with all the patches in one. On Mon, Mar 28, 2016 at 11:43 PM, Justin Pettit wrote: > > > On Mar 28, 2016, at 1:52 AM, Mauricio Vasquez B < > mauricio.vasquezber...@studenti.polito.it> wrote: > > >

Re: [ovs-dev] [RFC] lib/netdev-dpdk: add hotplug support

2016-03-28 Thread Mauricio Vásquez
I sent a proper patch: http://openvswitch.org/pipermail/dev/2016-March/068600.html On Thu, Mar 24, 2016 at 11:57 AM, Mauricio Vásquez < mauricio.vasquezber...@studenti.polito.it> wrote: > Hi Aaron, > > First of all thank you very much for your feedback. > > I didn't

[ovs-dev] [PATCH 3/3] NEWS: dpdk port hotplug is now supported

2016-03-28 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index ea7f3a1..2ba8659 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,7 @@ Post-v2.5.0 assignment. * Type of log messages from PMD threads changed from INFO to DBG. * QoS

[ovs-dev] [PATCH 1/3] netdev-dpdk: add hotplug support

2016-03-28 Thread Mauricio Vasquez B
device, it has to be added to a bridge using the to use the add-port command, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- lib/netdev-dpdk.c | 73 +++ 1 file

[ovs-dev] [PATCH 2/3] INSTALL.DPDK: add port hotplug documentation

2016-03-28 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.md | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index 9ec8bf6..4095402 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.DPDK.md @@ -81,7 +81,7 @@ Using the DPDK with

Re: [ovs-dev] [PATCH v2] netdev-dpdk: vhost: Fix txq enabling in the absence of notifications.

2016-03-26 Thread Mauricio Vásquez
n vhost-cuse support in OVS. > > Fixes: 585a5beaa2a4 ("netdev-dpdk: vhost-user: Fix sending packets to > queues not enabled by guest.") > Reported-by: Mauricio Vasquez B > > Signed-off-by: Ilya Maximets > --- Thanks you very much for the fix Il

Re: [ovs-dev] [PATCH 2/2] INSTALL.DPDK: Update DPDK build instructions

2016-03-24 Thread Mauricio Vásquez
Chandras wrote: > On 03/24/2016 02:32 PM, Mauricio Vásquez wrote: > > Hi Markos, > > > > Currently DPDK 2.2.0 is required to build OVS master, DPDK 2.2.0 still > > requires setting the CONFIG_RTE_BUILD_COMBINE_LIBS option. > > > > I think we need to wait

Re: [ovs-dev] [PATCH 2/2] INSTALL.DPDK: Update DPDK build instructions

2016-03-24 Thread Mauricio Vásquez
Hi Markos, Currently DPDK 2.2.0 is required to build OVS master, DPDK 2.2.0 still requires setting the CONFIG_RTE_BUILD_COMBINE_LIBS option. I think we need to wait until we move to a new DPDK version to change the documentation. Mauricio V, On Thu, Mar 24, 2016 at 2:13 PM, Markos Chandras

Re: [ovs-dev] [RFC] lib/netdev-dpdk: add hotplug support

2016-03-24 Thread Mauricio Vásquez
6 at 11:42 AM, Aaron Conole wrote: > Hi Mauricio, > > Mauricio Vasquez B writes: > > > In order to use dpdk ports in ovs they have to be bound to a DPDK > > compatible driver before ovs is started. > > > > This patch adds the possibility to hotplug (or hot-u

Re: [ovs-dev] vhost-user: port is dropping packets in transmission

2016-03-23 Thread Mauricio Vásquez
, Mar 23, 2016 at 10:21 AM, Ilya Maximets wrote: > On 23.03.2016 12:19, Mauricio Vásquez wrote: > > Hi IIya, > > > > I'm using DPDK 2.2.0 and QEMU 2.2.1. > > You should use QEMU 2.5. > > > On Wed, Mar 23, 2016 at 10:18 AM, Ilya Maximets <mailto:i.ma

Re: [ovs-dev] vhost-user: port is dropping packets in transmission

2016-03-23 Thread Mauricio Vásquez
Hi IIya, I'm using DPDK 2.2.0 and QEMU 2.2.1. On Wed, Mar 23, 2016 at 10:18 AM, Ilya Maximets wrote: > What version of DPDK and QEMU you're using with OVS 2.5? > > On 23.03.2016 12:11, Mauricio Vásquez wrote: > > Dear all, > > > > I am testing a setup wh

Re: [ovs-dev] [RFC] lib/netdev-dpdk: add hotplug support

2016-03-23 Thread Mauricio Vásquez
Somebody wants to have at look at this? Thanks, On Wed, Mar 16, 2016 at 3:40 PM, Mauricio Vasquez B < mauricio.vasquezber...@studenti.polito.it> wrote: > In order to use dpdk ports in ovs they have to be bound to a DPDK > compatible driver before ovs is started. > > T

[ovs-dev] vhost-user: port is dropping packets in transmission

2016-03-23 Thread Mauricio Vásquez
br0 (tap) port 3: vhost-user-2 (dpdkvhostuser: configured_rx_queues=1, configured_tx_queues=1, requested_rx_queues=1, requested_tx_queues=9) ovs-appctl dpif-netdev/pmd-rxq-show pmd thread numa_id 0 core_id 0: port: vhost-user-1 queue-id: 0 port: vhost-user-2 queue-id: 0 Thank you very much, Mauricio V

[ovs-dev] [RFC] lib/netdev-dpdk: add hotplug support

2016-03-19 Thread Mauricio Vasquez B
the user attaches a new device, it can use the add-port command to use it in a switch, similarly, before detaching a device, it has to be removed using the del-port command. Signed-off-by: Mauricio Vasquez B --- lib/netdev-dpdk.c | 79 +++ 1

[ovs-dev] [PATCH] INSTALL.DPDK: remove issue with QEMU v2.4.0 and dpdkvhostuser

2016-03-09 Thread Mauricio Vasquez B
The patch mentioned in the commit e73b7508fb58 ("INSTALL.DPDK: Mention issue with QEMU v2.4.0 & dpdkvhostuser") is present in DPDK v2.2.0, then this issue is not valid anymore. Signed-off-by: Mauricio Vasquez B --- INSTALL.DPDK.md | 12 1 file changed, 12 deletions(-)

Re: [ovs-dev] [PATCH v2 2/2] tests/dpdk/ring_client: extend range of supported dpdkr ports

2016-02-23 Thread Mauricio Vásquez
wrote: > Apologies for the delay in the review. > > I think this and the previous patch could benefit from using str_to_uint(). > > Would you mind making that change and resubmitting? I'll be happy to apply > it then. > > Thanks, > > Daniele > > On 25/01/20

[ovs-dev] [PATCH 1/2] lib/netdev-dpdk: make device name parsing more robust

2016-02-23 Thread Mauricio Vasquez B
Current implementation of dpdk_dev_parse_name does not perform a robust error handling, port names as "dpdkr" and "dpdkr1x" are considered valid. With this patch only positive port numbers in decimal notation are considered valid. Signed-off-by: Mauricio Vasquez B --- v

[ovs-dev] [PATCH 2/2] tests/dpdk/ring_client: extend range of supported dpdkr ports

2016-02-23 Thread Mauricio Vasquez B
Current implementation of the ring_client test only supports until the dpdkr255 port, this patch extends it to support the full range of possible dpdkr ports. Signed-off-by: Mauricio Vasquez B --- v3: use str_to_uint tests/dpdk/ring_client.c | 46

Re: [ovs-dev] [PATCH] Update relevant artifacts to add support for DPDK v2.2.0.

2016-01-26 Thread Mauricio Vásquez
Dear All, I think this change should be announce in the NEWS file, Shouldn't it? Thanks, On 25 January 2016 at 21:53, Daniele Di Proietto wrote: > Apologies for the delay. > > I applied this to master and branch-2.5 with the following incremental, > to remove a deprecation warning: > > diff --

[ovs-dev] [PATCH v2 1/2] lib/netdev-dpdk: make device name parsing more robust

2016-01-25 Thread Mauricio Vasquez B
Current implementation of dpdk_dev_parse_name does not perform a robust error handling, port names as "dpdkr", "dpdkr1x", "dpdkr 5" are considered valid. With this path only positive port numbers in decimal notation are considered valid. Signed-off-by: Maurici

[ovs-dev] [PATCH v2 2/2] tests/dpdk/ring_client: extend range of supported dpdkr ports

2016-01-25 Thread Mauricio Vasquez B
Current implementation of the ring_client test only supports up to the dpdkr255 port, this patch extends it to support the full range of possible dpdkr ports. Signed-off-by: Mauricio Vasquez B --- v2: - replace strtol by strtoul Thanks to Aaron Conole! tests/dpdk/ring_client.c | 44

Re: [ovs-dev] [PATCH 2/3] tests/dpdk/ring_client: extend range of supported dpdkr ports

2016-01-25 Thread Mauricio Vásquez
On 25 January 2016 at 10:42, Aaron Conole wrote: > Mauricio Vasquez B writes: > > > Current implementation allows to support only until the dpdkr255 port, > > this patch extends it to support the full range of possible dpdkr ports. > > I think this commit message is not

Re: [ovs-dev] [PATCH 1/3] lib/netdev-dpdk: make device name parsing more robust

2016-01-25 Thread Mauricio Vásquez
Hello Aaron, On 25 January 2016 at 10:28, Aaron Conole wrote: > Mauricio Vasquez B writes: > > > Current implementation of dpdk_dev_parse_name does not perform a robust > > error handling, port names as "dpdkr" or "dpdkr1x" are considered valid. > >

Re: [ovs-dev] [PATCH v2] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-23 Thread Mauricio Vásquez
I sent this patch as part of a patch series: http://openvswitch.org/pipermail/dev/2016-January/064968.html. Thank you very much. On 15 January 2016 at 10:17, Traynor, Kevin wrote: > > > -Original Message- > > From: Mauricio Vásquez [mailto:mauricio.vasquezber...@stu

[ovs-dev] [PATCH 2/3] tests/dpdk/ring_client: extend range of supported dpdkr ports

2016-01-23 Thread Mauricio Vasquez B
Current implementation allows to support only until the dpdkr255 port, this patch extends it to support the full range of possible dpdkr ports. Signed-off-by: Mauricio Vasquez B --- tests/dpdk/ring_client.c | 43 ++- 1 file changed, 26 insertions(+), 17

[ovs-dev] [PATCH 1/3] lib/netdev-dpdk: make device name parsing more robust

2016-01-23 Thread Mauricio Vasquez B
Current implementation of dpdk_dev_parse_name does not perform a robust error handling, port names as "dpdkr" or "dpdkr1x" are considered valid. Signed-off-by: Mauricio Vasquez B --- lib/netdev-dpdk.c | 22 -- 1 file changed, 20 insertions(+), 2 deleti

[ovs-dev] [PATCH 3/3] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-23 Thread Mauricio Vasquez B
A ring name length of 10 characters is not enough for dpdkr ports starting from dpdkr10, then it is increased to RTE_RING_NAMESIZE characters. Signed-off-by: Mauricio Vasquez B --- lib/netdev-dpdk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/netdev-dpdk.c b

Re: [ovs-dev] [PATCH v2] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-14 Thread Mauricio Vásquez
From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Mauricio >> Vasquez >> B >> Sent: Sunday, January 10, 2016 6:28 PM >> To: dev@openvswitch.org >> Cc: acon...@bytheb.org >> Subject: [ovs-dev] [PATCH v2] lib/netdev-dpdk: increase ring name length >&g

Re: [ovs-dev] [PATCH] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-10 Thread Mauricio Vásquez
Dear Aaron, I completely agree with you, I've sent a second version: http://openvswitch.org/pipermail/dev/2016-January/064228.html Thank you very much, Mauricio Vasquez B On 10 January 2016 at 12:17, Aaron Conole wrote: > Greetings Mauricio, > > Mauricio Vasquez B writes: &

[ovs-dev] [PATCH v2] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-10 Thread Mauricio Vasquez B
A ring name length of 10 characters is not enough for dpdkr ports starting from dpdkr10, then it is increased to RTE_RING_NAMESIZE characters. Signed-off-by: Mauricio Vasquez B --- v2: - Use RTE_RING_NAMESIZE instead of a numerical constant. lib/netdev-dpdk.c | 6 +++--- 1 file changed, 3

[ovs-dev] [PATCH] lib/netdev-dpdk: increase ring name length for dpdkr ports

2016-01-09 Thread Mauricio Vasquez B
A ring name length of 10 characters is not enough for dpdkr ports starting from dpdkr10, then it is increased to 20 characters. Signed-off-by: Mauricio Vasquez B --- lib/netdev-dpdk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c

Re: [ovs-dev] How to setup IVSHM in OVS-DPDK

2016-01-08 Thread Mauricio Vásquez
Hello Furong, Unfortunately it is not well documented, I'm going to explain what you need to start: - The ivshmem mechanism of DPDK does not work with a standard version of QEMU, then you need a patched version. It could be found at the dpdk-ovs project: https://github.com/01org/dpdk-ovs. You can

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2016-01-07 Thread Mauricio Vásquez
December 2015 at 09:20, Mauricio Vásquez < mauricio.vasquezber...@studenti.polito.it> wrote: > I updated to the last git version and then applied your patch. The issue > is still present. > > The ovs log still shows the message > "2015-12-31T14:18:04Z|1|dpif_netdev(pmd

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-31 Thread Mauricio Vásquez
e. > Please try my new patch "[PATCH RFC] dpif-netdev: Rework of rx queue > management." > http://openvswitch.org/pipermail/dev/2015-December/063920.html > > May be it will help. > > Best regards, Ilya Maximets. > > On 30.12.2015 18:25, Mauricio Vásquez wrote: > &

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-30 Thread Mauricio Vásquez
pmd_thread *pmd; > - > -CMAP_FOR_EACH (pmd, node, &dp->poll_threads) { > -dp_netdev_reload_pmd__(pmd); > -} > +dp_netdev_destroy_all_pmds(dp); > +dp_netdev_set_nonpmd(dp); > +dp_netdev_reset_pmd_threads(dp); > } > > static uint32_t > --- > > I'll try to

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-30 Thread Mauricio Vásquez
packet: 18642.59 (37229257/1997) avg processing cycles per packet: 15023.85 (30002635/1997) Other threads continue to show a high number of miss packets, throughput is still 700 kpps. On 30 December 2015 at 09:36, Ilya Maximets wrote: > On 30.12.2015 17:32, Mauricio Vásquez wrote: &g

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-30 Thread Mauricio Vásquez
I just checked and the traffic is generated after everything is already set up, ports and flows. On 30 December 2015 at 08:50, Ilya Maximets wrote: > The transmission starts before the addition of dpdkr4 to ovs? > > On 30.12.2015 16:31, Mauricio Vásquez wrote: > > Dear Il

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-30 Thread Mauricio Vásquez
08:05, Ilya Maximets wrote: > On 30.12.2015 15:51, Mauricio Vásquez wrote: > > Hello Ilya, > > > > The dpdkr ports involved have just one TX queue, so it should not be the > reason in this case. > > > > Please, provide output of: > ovs-appctl dpif-netde

Re: [ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-30 Thread Mauricio Vásquez
eues. That's why most of pmd threads can't install a ukey > and always executes a misses instead of emc hits. > > Fix your 'Source'. > > Best regards, Ilya Maximets. > > On 29.12.2015 22:19, Mauricio Vásquez wrote: > > Hello to all, > > >

[ovs-dev] Performance Issue when using netdev-dpdk and multiple PMD threads

2015-12-29 Thread Mauricio Vásquez
Hello to all, I am performing some performance testing using OVS with DPDK and I am having some issues when I change the number of PMD cores that ovs uses. The testing architecture consists of a source and sink processes, the source allocates some packets from the memory pool at the beginning and

Re: [ovs-dev] [RFC 1/2] dpdk: Convert initialization from cmdline to db

2015-12-03 Thread Mauricio Vásquez
Dear Aaron, The general idea looks good to me. Just some comments inline On 3 December 2015 at 05:23, Aaron Conole wrote: > Existing DPDK integration is provided by use of command line options which > must be split out and passed to librte in a special manner. However, this > forces any confi

Re: [ovs-dev] Problems to remove hidden flows in ovs-dpdk

2015-11-23 Thread Mauricio Vásquez
Dear Ben, You are right, now it works. Thank you very much! On 20 November 2015 at 18:48, Ben Pfaff wrote: > On Fri, Nov 20, 2015 at 05:39:37PM +0100, Mauricio Vásquez wrote: > > Dear all, > > according to [1] by default ovs inserts some hidden flows that can create > >

[ovs-dev] Problems to remove hidden flows in ovs-dpdk

2015-11-20 Thread Mauricio Vásquez
ng? When I do not use the DPDK datapath, everything works fine and with the previous commands I am able to remove the hidden flows. Thank you very much in advance. Regards, Mauricio V, Ivano C, [1] http://openvswitch.org/pipermail/discuss/2015-March/017029.html ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

  1   2   >