[dpdk-dev] [PATCH 0/2] fix missing dependencies

2015-12-02 Thread Thomas Monjalon
2015-12-02 17:09, Declan Doherty: > On 02/12/15 04:05, Stephen Hemminger wrote: > > Fix some issues found when doing parallel builds > > > > Stephen Hemminger (2): > >cmdline_test: add missing dependencies > >bonding: add depencency on cmdline library > > > > app/cmdline_test/Makefile

[dpdk-dev] [PATCH v4 0/2] disable CONFIG_RTE_SCHED_VECTOR for arm

2015-12-02 Thread Thomas Monjalon
2015-11-30 22:50, Jerin Jacob: > > v1..v2 > created common arm64 configs under common_arm64 file. > let each armv8 machine targets capture only the differences > between the common arm64 config. > > v2..v3 > Fix whitespace issue with git am > > v3..v4 > removed common_arm64 file and used

[dpdk-dev] [PATCH] mk: disable SCHED_VECTOR in the default config

2015-12-02 Thread Thomas Monjalon
Hi, 2015-12-01 16:13, Christian Ehrhardt: > As it causes issues when building with RTE_MACHINE=default due to SSE4.x > requirements and in other discussions was so far rated "lightly tested and > doesn't provide really significant performance improvement" let us disable > that in the default

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 05:57:10PM +0100, Thomas Monjalon wrote: > 2015-12-02 22:23, Jerin Jacob: > > On Wed, Dec 02, 2015 at 05:40:13PM +0100, Thomas Monjalon wrote: > > > 2015-12-02 20:04, Jerin Jacob: > > > > On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > > > > > On 2 December

[dpdk-dev] [PATCH v8 00/11] Add installation rules for dpdk files.

2015-12-02 Thread Arevalo, Mario Alfredo C
Thank you, I'm going to take note about it for a version number 9 :) Thanks. Mario. From: Panu Matilainen [pmati...@redhat.com] Sent: Wednesday, December 02, 2015 1:33 AM To: Arevalo, Mario Alfredo C; dev at dpdk.org Cc: Venegas Munoz, Jos C Subject: Re:

[dpdk-dev] [PATCH 1/5] vhost: refactor rte_vhost_dequeue_burst

2015-12-02 Thread Stephen Hemminger
On Thu, 3 Dec 2015 14:06:09 +0800 Yuanhan Liu wrote: > + rte_prefetch0((void *)(uintptr_t)desc_addr); Another unnecessary set of casts.

[dpdk-dev] [PATCH 1/5] vhost: refactor rte_vhost_dequeue_burst

2015-12-02 Thread Stephen Hemminger
On Thu, 3 Dec 2015 14:06:09 +0800 Yuanhan Liu wrote: > +#define COPY(dst, src) do { \ > + cpy_len = RTE_MIN(desc_avail, mbuf_avail); \ > + rte_memcpy((void *)(uintptr_t)(dst),\ > +

[dpdk-dev] Aligning net/ethernet.h and rte_ether.h

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:45, Stephen Hemminger: > I would like to just have rte_ether.h include netinet/ether.h > to get rid of the useless duplication, and fix all the code in DPDK. > But this will break out-of-tree source compatibility so best to > wait for DPDK 2.3. Is there a good place to put this in

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 03:53:01PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:11AM +0800, Yuanhan Liu wrote: > > Introduce vhost_log_write() helper function to log the dirty pages we > > touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each > > log is presented

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > Invoking vhost_log_write() to mark corresponding page as dirty while > > updating used vring. > > Looks good, thanks! > > I didn't find where you log the dirty

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:10:56PM +0200, Victor Kaplansky wrote: ... > > Note: this patch set has mostly been based on Victor Kaplansk's demo > > work (vhost-user-bridge) at QEMU project. I was thinking to add Victor > > as the co-author. Victor, what do you think of that? :) > > Thanks for

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 03:53:45PM +0200, Panu Matilainen wrote: > On 12/02/2015 05:43 AM, Yuanhan Liu wrote: > >VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk > >vhost-user) where we should log dirty pages, and how big the log > >buffer is. > > > >This request introduces a new

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 05:40:13PM +0100, Thomas Monjalon wrote: > 2015-12-02 20:04, Jerin Jacob: > > On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > > > On 2 December 2015 at 18:39, Jerin Jacob > > caviumnetworks.com> wrote: > > > > AND they include "rte_lpm.h"(it internally

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 18:39, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 16:03, Jerin Jacob >> wrote: >> > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> >> On 2 December 2015 at 00:41, Jerin Jacob > >>

[dpdk-dev] [PATCH 2/3] lpm: add support for NEON

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:40PM +0100, Jan Viktorin wrote: > On Mon, 30 Nov 2015 22:54:12 +0530 > Jerin Jacob wrote: > > > enabled CONFIG_RTE_LIBRTE_LPM, CONFIG_RTE_LIBRTE_TABLE, > > CONFIG_RTE_LIBRTE_PIPELINE libraries for arm64. > > > > TABLE, PIPELINE libraries were disabled due to LPM

[dpdk-dev] [PATCH 1/3] eal: introduce rte_vect_* abstractions

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:34PM +0100, Jan Viktorin wrote: > On Mon, 30 Nov 2015 22:54:11 +0530 > Jerin Jacob wrote: > > > introduce rte_vect_* abstractions to remove SSE/AVX specific > > code in the common code(i.e the test applications) > > > > The patch does not provide any functional

[dpdk-dev] [PATCH 0/3] add lpm support for NEON

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:12PM +0100, Jan Viktorin wrote: > Hello Jerin, > > thank you for this patch series. Please CC me next time when doing an > ARM-related changes. It took me a while to find the related e-mails on > the mail server. It's was my mistake. Sorry about that. > > On Mon,

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 18:39, Jerin Jacob > wrote: > > On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: > >> On 2 December 2015 at 16:03, Jerin Jacob >> caviumnetworks.com> wrote: > >> > On Wed, Dec 02, 2015 at 02:54:52PM

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2015 at 06:58:03PM +0200, Panu Matilainen wrote: > On 12/02/2015 05:09 PM, Yuanhan Liu wrote: > >On Wed, Dec 02, 2015 at 04:48:14PM +0200, Panu Matilainen wrote: > >... > >diff --git a/lib/librte_vhost/rte_virtio_net.h > >b/lib/librte_vhost/rte_virtio_net.h > >index

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:09 PM, Yuanhan Liu wrote: > On Wed, Dec 02, 2015 at 04:48:14PM +0200, Panu Matilainen wrote: > ... > diff --git a/lib/librte_vhost/rte_virtio_net.h > b/lib/librte_vhost/rte_virtio_net.h > index 5687452..416dac2 100644 > --- a/lib/librte_vhost/rte_virtio_net.h

[dpdk-dev] [PATCH] scripts: support any legal git revisions as abi validation range

2015-12-02 Thread Panu Matilainen
In addition to git tags, support validating abi between any legal gitrevisions(7) syntaxes, such as "validate-abi.sh . -1 " "validate-abi.sh master mybrach " etc in addition to validating between tags. Makes it easier to run the validator for in-development work. Signed-off-by: Panu Matilainen

[dpdk-dev] [PATCH] vfio: Include No-IOMMU mode

2015-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2015 at 05:19:18PM +0100, Thomas Monjalon wrote: > Hi, > > 2015-12-02 08:28, Alex Williamson: > > On Mon, 2015-11-16 at 19:12 +0200, Avi Kivity wrote: > > > On 11/16/2015 07:06 PM, Alex Williamson wrote: > > > > FYI, this is now in v4.4-rc1 (the slightly modified v2 version). I

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2015 at 05:58:24PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 10:38:02PM +0800, Yuanhan Liu wrote: > > On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > > > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > > > Invoking

[dpdk-dev] [PATCH v4 0/2] Add support for driver directories

2015-12-02 Thread Stephen Hemminger
On Thu, 12 Nov 2015 16:52:32 +0100 Thomas Monjalon wrote: > > > This mini-series adds support for driver directory concept > > > based on idea by Thomas Monjalon back in February: > > > http://dpdk.org/ml/archives/dev/2015-February/013285.html > > > > > > In the process FreeBSD also gains plugin

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 10:38:02PM +0800, Yuanhan Liu wrote: > On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > > Invoking vhost_log_write() to mark corresponding page as dirty while > > > updating used vring. >

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Thomas Monjalon
2015-12-02 22:23, Jerin Jacob: > On Wed, Dec 02, 2015 at 05:40:13PM +0100, Thomas Monjalon wrote: > > 2015-12-02 20:04, Jerin Jacob: > > > On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > > > > On 2 December 2015 at 18:39, Jerin Jacob > > > caviumnetworks.com> wrote: > > > > > AND

[dpdk-dev] [PATCH 2/3] rte_sched: introduce reciprocal divide

2015-12-02 Thread Hannes Frederic Sowa
Hello, On Wed, Dec 2, 2015, at 17:45, Dumitrescu, Cristian wrote: > > diff --git a/lib/librte_sched/rte_reciprocal.h > > b/lib/librte_sched/rte_reciprocal.h > > new file mode 100644 > > index 000..abd1525 > > --- /dev/null > > +++ b/lib/librte_sched/rte_reciprocal.h > > @@ -0,0 +1,39 @@ > >

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 16:03, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 00:41, Jerin Jacob >> wrote: >> > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> >> Adds ARM NEON support for lpm. >> >> And enables

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Thomas Monjalon
2015-12-02 20:04, Jerin Jacob: > On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > > On 2 December 2015 at 18:39, Jerin Jacob > caviumnetworks.com> wrote: > > > AND they include "rte_lpm.h"(it internally includes rte_vect.h) > > > that lead to multiple definition and its not good. > >

[dpdk-dev] [PATCH] l2fwd-crypto: fix behaviour of -t option

2015-12-02 Thread Declan Doherty
On 02/12/15 17:16, Declan Doherty wrote: > passing -t 0 as a command line argument causes the application > to exit with an "invalid refresh period specified" error which is > contrary to applications help text. > > This patch removes the unnecessary option "--no-stats" and fixes the > behaviour

[dpdk-dev] [PATCH] eal: don't crash if one pci device fails

2015-12-02 Thread Stephen Hemminger
If there is a failure to setup one pci device, there maybe other devices that can be initialized. Don't call rte_exit which is a forced crash, pass the error back to the application to decide what it wants to do. Might be good idea to return a positive value for the number of devices found, but

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Thomas Monjalon
2015-12-02 22:31, Yuanhan Liu: > Thomas, should I write an ABI deprecation note? Can I make it for > v2.2 release If I make one tomorrow? (Sorry that I'm not awared > of that it would be an ABI break). As Panu suggested, it would be better to reserve some room now in 2.2 which already breaks

[dpdk-dev] [PATCH] vfio: Include No-IOMMU mode

2015-12-02 Thread Thomas Monjalon
Hi, 2015-12-02 08:28, Alex Williamson: > On Mon, 2015-11-16 at 19:12 +0200, Avi Kivity wrote: > > On 11/16/2015 07:06 PM, Alex Williamson wrote: > > > FYI, this is now in v4.4-rc1 (the slightly modified v2 version). I want > > > to give fair warning though that while we seem to agree on this

[dpdk-dev] [PATCH] l2fwd-crypto: fix behaviour of -t option

2015-12-02 Thread Declan Doherty
passing -t 0 as a command line argument causes the application to exit with an "invalid refresh period specified" error which is contrary to applications help text. This patch removes the unnecessary option "--no-stats" and fixes the behaviour of the -t parameter. Reported-by: Min Cao

[dpdk-dev] [PATCH 0/2] fix missing dependencies

2015-12-02 Thread Declan Doherty
On 02/12/15 04:05, Stephen Hemminger wrote: > Fix some issues found when doing parallel builds > > Stephen Hemminger (2): >cmdline_test: add missing dependencies >bonding: add depencency on cmdline library > > app/cmdline_test/Makefile| 3 +++ > drivers/net/bonding/Makefile | 1 + >

[dpdk-dev] Does anybody know OpenDataPlane

2015-12-02 Thread Polehn, Mike A
A hint of the fundamental difference: One originated somewhat more from the embedded orientation and one originated somewhat more from the server orientation. Both efforts are driving each towards the other and have overlap. Mike -Original Message- From: dev

[dpdk-dev] [PATCH 3/3] rte_sched: eliminate floating point in calculating byte clock

2015-12-02 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Sunday, November 29, 2015 8:47 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 3/3] rte_sched: eliminate floating point in calculating byte > clock >

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Panu Matilainen
On 12/02/2015 04:31 PM, Yuanhan Liu wrote: > On Wed, Dec 02, 2015 at 03:53:45PM +0200, Panu Matilainen wrote: >> On 12/02/2015 05:43 AM, Yuanhan Liu wrote: >>> VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk >>> vhost-user) where we should log dirty pages, and how big the log >>>

[dpdk-dev] [PATCH 2/3] rte_sched: introduce reciprocal divide

2015-12-02 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Sunday, November 29, 2015 8:47 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger ; > Hannes Frederic Sowa > Subject: [PATCH 2/3] rte_sched: introduce reciprocal divide >

[dpdk-dev] Does anybody know OpenDataPlane

2015-12-02 Thread Polehn, Mike A
I don't think you have researched this enough. Asking this questions shows that you are just beginning your research or do not understand how this fits into current telco NFV/SDN efforts. Why does this exist: "OpenDataPlane using DPDK for Intel NIC", listed below? Why would competing

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 10:33:44AM +, Ananyev, Konstantin wrote: > Hi everyone, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu > > Sent: Wednesday, December 02, 2015 9:50 AM > > To: Jerin Jacob > > Cc: dev at dpdk.org > > Subject: Re:

[dpdk-dev] Bond port with multiple queues

2015-12-02 Thread Sergey Balabanov
Hello, I configured a bond port with 2 rx queues on it and added 2 slaves into the bond port. When I run traffic I get all packets on queue #0. This is quite expected when RSS turned off. When I turn on RSS all packets are distributed between two rx queues. There is no guarantee that I will

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:09AM +0800, Yuanhan Liu wrote: > This patch set adds the initial vhost-user live migration support. > > The major task behind that is to log pages we touched during > live migration. So, this patch is basically about adding vhost > log support, and using it. > >

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 16:03, Jerin Jacob > wrote: > > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: > >> On 2 December 2015 at 00:41, Jerin Jacob >> caviumnetworks.com> wrote: > >> > On Tue, Dec 01, 2015 at 01:41:15PM

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > Invoking vhost_log_write() to mark corresponding page as dirty while > updating used vring. Looks good, thanks! I didn't find where you log the dirty pages in result of data written to the buffers pointed by the descriptors in RX

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:43 AM, Yuanhan Liu wrote: > VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk > vhost-user) where we should log dirty pages, and how big the log > buffer is. > > This request introduces a new payload: > > typedef struct VhostUserLog { > uint64_t

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:11AM +0800, Yuanhan Liu wrote: > Introduce vhost_log_write() helper function to log the dirty pages we > touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each > log is presented by 1 bit. > > Therefore, vhost_log_write() simply finds the right bit for

[dpdk-dev] Bond port with multiple queues

2015-12-02 Thread Declan Doherty
On 02/12/15 13:11, Sergey Balabanov wrote: > Hello, > > I configured a bond port with 2 rx queues on it and added 2 slaves into the > bond port. When I run traffic I get all packets on queue #0. This is quite > expected when RSS turned off. When I turn on RSS all packets are distributed > between

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 03:05 PM, Thomas Monjalon wrote: > 2015-12-02 14:54, Panu Matilainen: >> On 12/02/2015 01:25 PM, Thomas Monjalon wrote: >>> 2015-12-02 12:27, Panu Matilainen: $(prefix)/share is supposed to be shareable across different architectures. Most of the content here is, but at

[dpdk-dev] building LIBRTE_PMD_XENVIRT in 32bit triggers some errors

2015-12-02 Thread Christian Ehrhardt
Hi, just FYI - building LIBRTE_PMD_XENVIRT in 32bit triggers some errors. I don't know if that part of the tree is actively maintained - It is default off, in the config template config/common_linuxapp. I'm not even entirely sure if LIBRTE_PMD_XENVIRT is still required. I guess in the Dom0 you

[dpdk-dev] [dpdk-dev, v2] igb_uio: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3

2015-12-02 Thread De Lara Guarch, Pablo
Hi, Sorry about the spam, I was testing my mail server and sent it accidentally to the mailing list. Pablo > -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, December 02, 2015 3:03 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Cc: David Hunfdsfst; Davidfsdf Hunt

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 00:41, Jerin Jacob wrote: > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> Adds ARM NEON support for lpm. >> And enables table/pipeline libraries which depend on lpm. > > I already sent the patch on the same yesterday. > We can converge the patches after the

[dpdk-dev] [dpdk-dev, v2] igb_uio: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3

2015-12-02 Thread Pablo de Lara
From: David Hunfdsfst Fix to take this change into account: https://lkml.org/lkml/2015/7/9/101 Has been applied to Kernel 4.3.0-rc6 Linux: 4a7cc831 ("genirq/MSI: Move msi_list from struct pci_dev to struct device") Signed-off-by: Davidfsdf Hunt

[dpdk-dev] [PATCH v4 2/2] examples: add pthread-shim in performance-thread sample app

2015-12-02 Thread ibetts
From: Ian Betts This commit adds a simple pthread_shim example for the cooperative scheduler included with this patchset. The shim demonstrates a way in which legacy code writtem for pthreads could be adapted to lighweight threads. Signed-off-by: Ian Betts ---

[dpdk-dev] [PATCH v4 1/2] examples: add performance thread sample application

2015-12-02 Thread ibetts
From: Ian Betts This example comprises a layer 3 forwarding derivative intended to facilitate characterization of performance with different threading models, specifically:- 1. EAL threads running on different physical cores 2. EAL threads running on the same physical core

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 01:25 PM, Thomas Monjalon wrote: > 2015-12-02 12:27, Panu Matilainen: >> On 12/02/2015 05:57 AM, Thomas Monjalon wrote: >>> The old installed tree was static and always had .config, includes and >>> libs in a RTE_TARGET subdirectory. There is no such directory anymore in >>> an

[dpdk-dev] DPDK OVS on Ubuntu 14.04

2015-12-02 Thread Gray, Mark D
+ discuss at openvswitch.org one comment below: > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Polehn, Mike A > Sent: Tuesday, December 1, 2015 2:46 PM > To: Abhijeet Karve; dev at dpdk.org > Cc: bhavya.addep at gmail.com > Subject: Re: [dpdk-dev] DPDK

[dpdk-dev] [PATCH v4 2/2] examples: add pthread-shim in performance-thread sample app

2015-12-02 Thread ibetts
From: Ian Betts This commit adds a simple pthread_shim example for the cooperative scheduler included with this patchset. The shim demonstrates a way in which legacy code writtem for pthreads could be adapted to lighweight threads. Signed-off-by: Ian Betts ---

[dpdk-dev] [PATCH 3/3] maintainers: claim responsibility for arm64 specific files of hash and lpm

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:13 +0530 Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > --- > MAINTAINERS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4478862..dc8f80a 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -130,6 +130,9 @@ ARM v8 >

[dpdk-dev] [PATCH 2/3] lpm: add support for NEON

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:12 +0530 Jerin Jacob wrote: > enabled CONFIG_RTE_LIBRTE_LPM, CONFIG_RTE_LIBRTE_TABLE, > CONFIG_RTE_LIBRTE_PIPELINE libraries for arm64. > > TABLE, PIPELINE libraries were disabled due to LPM library dependency. > > Signed-off-by: Jerin Jacob > --- >

[dpdk-dev] [PATCH 1/3] eal: introduce rte_vect_* abstractions

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:11 +0530 Jerin Jacob wrote: > introduce rte_vect_* abstractions to remove SSE/AVX specific > code in the common code(i.e the test applications) > > The patch does not provide any functional change for IA, the goal is to Does IA mean Intel Architecture? > have

[dpdk-dev] [PATCH 0/3] add lpm support for NEON

2015-12-02 Thread Jan Viktorin
Hello Jerin, thank you for this patch series. Please CC me next time when doing an ARM-related changes. It took me a while to find the related e-mails on the mail server. On Mon, 30 Nov 2015 22:54:10 +0530 Jerin Jacob wrote: > - Introduce new rte_vect_* abstractions in eal > - This patch set

[dpdk-dev] [PATCH] maintainers: claim responsability

2015-12-02 Thread Bruce Richardson
On Wed, Dec 02, 2015 at 01:06:20PM +, Sergio Gonzalez Monroy wrote: > Claim responsability for: > - Secondary Process as maintainer. > - FreeBSD EAL, FreeBSD contigmem and FreeBSD UIO as co-maintainer. > > Signed-off-by: Sergio Gonzalez Monroy Acked-by: Bruce Richardson

[dpdk-dev] Does anybody know OpenDataPlane

2015-12-02 Thread Kury Nicolas
Hi! Does anybody know OpenDataPlane ? http://www.opendataplane.org/ It is a framework designed to enable software portability between networking SoCs, regardless of the underlying instruction set architecture. There are several implementations. * OpenDataPlane using DPDK for Intel NIC

[dpdk-dev] [PATCH] cxgbe: explictly mark this as pci_driver

2015-12-02 Thread Stephen Hemminger
The upcoming Hyper-V driver converts the pci_drv element in struct eth_driver to a union. When vmbus is added the pci_drv needs to be explicit. Easier to fix the issue ahead of time. This is backwards compatiable with previous code. Signed-off-by: Stephen Hemminger ---

[dpdk-dev] [PATCH 2/4] eal/acl: enable acl for armv7-a

2015-12-02 Thread Jianbo Liu
On 1 December 2015 at 22:46, Jan Viktorin wrote: > On Tue, 1 Dec 2015 20:13:49 +0530 > Jerin Jacob wrote: > >> > enum rte_acl_classify_alg alg = RTE_ACL_CLASSIFY_DEFAULT; >> > >> > -#ifdef RTE_ARCH_ARM64 >> > +#if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) >> > alg =

[dpdk-dev] [PATCH v3] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Thomas Monjalon
2015-12-02 10:39, Michael Qiu: > gcc 4.3.4 does not include "immintrin.h", and will post below error: > lib/librte_sched/rte_sched.c:56:23: error: > immintrin.h: No such file or directory > > This compiler issue is fixed with rte_vect.h > > There is another issue, need SSE2 support > >

[dpdk-dev] [PATCH 3/3] rte_sched: eliminate floating point in calculating byte clock

2015-12-02 Thread Stephen Hemminger
On Wed, 2 Dec 2015 16:48:17 + "Dumitrescu, Cristian" wrote: > > > > -Original Message- > > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > Sent: Sunday, November 29, 2015 8:47 PM > > To: Dumitrescu, Cristian > > Cc: dev at dpdk.org; Stephen Hemminger > >

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jan Viktorin
On Wed, 2 Dec 2015 16:18:13 +0530 Jerin Jacob wrote: > > > [snip] > > > > My preference would also be to put architecture dependent implementation > > into different files. > > Might be create lib/librte_lpm/arch/(arm|x86)/... here? > > Konstantin > > +1 > > my existing patch creates

[dpdk-dev] [PATCH 2/3] rte_sched: introduce reciprocal divide

2015-12-02 Thread Stephen Hemminger
On Wed, 2 Dec 2015 16:45:01 + "Dumitrescu, Cristian" wrote: > + * * Neither the name of Intel Corporation nor the names of its > > Why is Intel mentioned here, as according to this license header Intel is not > the copyright holder? Copy/paste from other code. > > +#ifndef

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Thomas Monjalon
2015-12-02 14:54, Panu Matilainen: > On 12/02/2015 01:25 PM, Thomas Monjalon wrote: > > 2015-12-02 12:27, Panu Matilainen: > >> $(prefix)/share is supposed to be shareable across different > >> architectures. Most of the content here is, but at least the lib symlink > >> and .config file are not.

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jan Viktorin
On Wed, 2 Dec 2015 16:09:06 +0530 Jerin Jacob wrote: > > > [snip] > > > IMO, it's not always good to emulate GCC defined intrinsics of > > > other architecture. What if a legacy DPDK application has such mappings > > > then BOOM, multiple definition, which one is correct? which one > > > to

[dpdk-dev] [PATCH] examples/vhost: add rate statistics for rx/tx and core

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 06:32:54AM +0800, Jianfeng Tan wrote: > Currently, we only have aggregated statistics. This seems not > obvious to show how fast rx/tx and how busy of each core. > > This patch adds rx/tx rate of each period of option --stat. > And also a simple core busy rate is added to

[dpdk-dev] [PATCH] mk: Make XEN_PMD build in combined library mode

2015-12-02 Thread Christian Ehrhardt
Building RTE_LIBRTE_PMD_XENVIRT was broken when RTE_BUILD_COMBINE_LIBS was enabled (http://dpdk.org/ml/archives/dev/2015-November/028660.html). Now the underlying issue is rather simple, the xen code needs libxenstore. But rte.app.mk so far only considered that when RTE_BUILD_COMBINE_LIBS was

[dpdk-dev] Query on Filtering Support in DPDK

2015-12-02 Thread Rahul Lakkireddy
Hi Thomas, On Monday, November 11/30/15, 2015 at 05:43:18 -0800, Thomas Monjalon wrote: > Hi, > > 2015-11-30 18:19, Rahul Lakkireddy: > > 1. Add a new action 'switch' that will: > >* Allow re-direction to different ports in hardware. > > > >Also, for such a rule, additionally support

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 00:41, Jerin Jacob > wrote: > > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: > >> Adds ARM NEON support for lpm. > >> And enables table/pipeline libraries which depend on lpm. > > > > I already

[dpdk-dev] [PATCH] scripts: support any legal git revisions as abi validation range

2015-12-02 Thread Neil Horman
On Wed, Dec 02, 2015 at 06:50:47PM +0200, Panu Matilainen wrote: > In addition to git tags, support validating abi between any legal > gitrevisions(7) syntaxes, such as "validate-abi.sh . -1 " > "validate-abi.sh master mybrach " etc in addition to > validating between tags. Makes it easier to run

[dpdk-dev] [PATCH] maintainers: claim responsability

2015-12-02 Thread Sergio Gonzalez Monroy
Claim responsability for: - Secondary Process as maintainer. - FreeBSD EAL, FreeBSD contigmem and FreeBSD UIO as co-maintainer. Signed-off-by: Sergio Gonzalez Monroy --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4478862..51da877 100644

[dpdk-dev] [PATCH] remove double semicolons

2015-12-02 Thread Stephen Hemminger
Trivial cleanup Signed-off-by: Stephen Hemminger --- drivers/net/e1000/igb_pf.c| 2 +- drivers/net/xenvirt/rte_xen_lib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_pf.c b/drivers/net/e1000/igb_pf.c index 26c2960..1d00dda 100644 ---

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Bruce Richardson
On Tue, Dec 01, 2015 at 02:49:46PM -0500, Matthew Hall wrote: > On Tue, Dec 01, 2015 at 01:57:39PM +, Bruce Richardson wrote: > > Hi Matthew, > > > > Couple of follow-up questions on this: > > * do you need the exact same number of bits in both implementations? If we > > support > > 21 bits

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > The rule "install" follows these conventions: > https://www.gnu.org/prep/standards/html_node/Directory-Variables.html > https://www.gnu.org/prep/standards/html_node/DESTDIR.html > > The variable sdkdir has been added to the more standards ones, > to

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Thomas Monjalon
2015-12-02 12:27, Panu Matilainen: > On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > > The old installed tree was static and always had .config, includes and > > libs in a RTE_TARGET subdirectory. There is no such directory anymore in > > an installed SDK. So the top directory is checked. > > But

[dpdk-dev] [PATCH] remove blank lines at end-of-file

2015-12-02 Thread Stephen Hemminger
This is one of those trivial things git and other tools complain about. Signed-off-by: Stephen Hemminger --- drivers/net/i40e/i40e_rxtx.c| 1 - drivers/net/vmxnet3/base/includeCheck.h | 1 - lib/librte_pipeline/rte_pipeline.c | 1 - 3 files changed, 3 deletions(-) diff --git

[dpdk-dev] [PATCH 07/10] mk: install binding tool in sbin directory

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > sbin/dpdk_nic_bind is a symbolic link to tools/dpdk_nic_bind.py > where some python objects may be generated. > > Signed-off-by: Thomas Monjalon > --- > mk/rte.sdkinstall.mk | 4 > 1 file changed, 4 insertions(+) > > diff --git

[dpdk-dev] [PATCH 06/10] mk: install kernel modules

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > Add kernel modules to "make install". > Nothing is done if there is no kernel module compiled. > > On native Linux, this path is suggested: > kerneldir=/lib/modules/$(uname -r)/extra/dpdk > > Suggested-by: Mario Carrillo > Signed-off-by:

[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-12-02 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Tuesday, November 17, 2015 3:39 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] app/test: fix memory_autotest integer > overflow/wraparound > > memory_autotest loops

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Panu Matilainen
On 12/02/2015 11:25 AM, Thomas Monjalon wrote: > 2015-12-02 09:44, Panu Matilainen: >> That aside, a bigger problem is that it doesn't seem to work. >> >> make clean >> make config T=x86_64-native-linuxapp-gcc >> make >> make install DESTDIR=/tmp/dpdk-root > > Oh, I forgot to test the simple case

[dpdk-dev] Aligning net/ethernet.h and rte_ether.h

2015-12-02 Thread Stephen Hemminger
The two header files net/ethenet.h and rte_ether.h are source incompatiable right now. They both define a bunch of constants and struct ether_addr; the effective values are the same but the structure element name is different. /usr/include/net/ether.h /* This is a name for the 48 bit ethernet

[dpdk-dev] [PATCH] bnx2x: tx_start_bd->vlan_or_ethertype is le16

2015-12-02 Thread Thomas Monjalon
2015-12-02 05:18, Charles Williams: > On Wed, 2015-12-02 at 02:04 +0100, Thomas Monjalon wrote: > > 2015-12-01 18:58, Charles Williams: > > > On Wed, 2015-12-02 at 00:34 +0100, Thomas Monjalon wrote: > > > > 2015-12-01 14:37, Stephen Hemminger: > > > > > Harish Patil wrote: > > > > > >

[dpdk-dev] [PATCH 4/4] vhost: enable log_shmfd protocol feature

2015-12-02 Thread Yuanhan Liu
To claim that we support vhost-user live migration support: SET_LOG_BASE request will be send only when this feature flag is set. Besides this flag, we actually need another feature flag set to make vhost-user live migration work: VHOST_F_LOG_ALL. Which, however, has been enabled long time ago.

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
Invoking vhost_log_write() to mark corresponding page as dirty while updating used vring. Signed-off-by: Yuanhan Liu --- lib/librte_vhost/vhost_rxtx.c | 74 +-- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Yuanhan Liu
Introduce vhost_log_write() helper function to log the dirty pages we touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each log is presented by 1 bit. Therefore, vhost_log_write() simply finds the right bit for related page we are gonna change, and set it to 1. dev->log_base

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Yuanhan Liu
VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk vhost-user) where we should log dirty pages, and how big the log buffer is. This request introduces a new payload: typedef struct VhostUserLog { uint64_t mmap_size; uint64_t mmap_offset;

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Yuanhan Liu
This patch set adds the initial vhost-user live migration support. The major task behind that is to log pages we touched during live migration. So, this patch is basically about adding vhost log support, and using it. Patchset - Patch 1 handles VHOST_USER_SET_LOG_BASE, which tells us

[dpdk-dev] [PATCH 06/10] mk: install kernel modules

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:53, Panu Matilainen: > On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > > Add kernel modules to "make install". > > Nothing is done if there is no kernel module compiled. > > > > On native Linux, this path is suggested: > > kerneldir=/lib/modules/$(uname -r)/extra/dpdk [...] > >

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:47, Panu Matilainen: > On 12/02/2015 11:25 AM, Thomas Monjalon wrote: > > 2015-12-02 09:44, Panu Matilainen: > >> That aside, a bigger problem is that it doesn't seem to work. > >> > >> make clean > >> make config T=x86_64-native-linuxapp-gcc > >> make > >> make install

[dpdk-dev] [PATCH v2] examples/bond: fix bsd compile error

2015-12-02 Thread Yigit, Ferruh
On Thu, Nov 26, 2015 at 09:52:15AM +, Mrzyglod, DanielX T wrote: > >-Original Message- > >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > >Sent: Wednesday, November 25, 2015 6:41 PM > >To: dev at dpdk.org > >Subject: [dpdk-dev] [PATCH v2] examples/bond: fix bsd

[dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation

2015-12-02 Thread Ferruh Yigit
On Thu, Nov 26, 2015 at 09:55:17AM +, Mrzyglod, DanielX T wrote: > > > >-Original Message- > >From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > >Sent: Wednesday, November 25, 2015 7:08 PM > > > >2015-11-25 19:03, Daniel Mrzyglod: > >> definition of 'AF_INET' enum was

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Matthew Hall
On Wed, Dec 02, 2015 at 12:35:16PM +, Bruce Richardson wrote: > Hi Matthew, > > thanks for the info, but I'm not sure I understand it correctly. It seems to > me that you are mostly referring to the depths/sizes of the tables being used, > rather than to the "data-size" being stored in each

[dpdk-dev] [PATCH v3] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Michael Qiu
gcc 4.3.4 does not include "immintrin.h", and will post below error: lib/librte_sched/rte_sched.c:56:23: error: immintrin.h: No such file or directory This compiler issue is fixed with rte_vect.h There is another issue, need SSE2 support Fixes: 42ec27a0178a ("sched: enable SSE

  1   2   >