[dpdk-dev] [PATCH] mk: mute build of test resources

2016-06-17 Thread Thomas Monjalon
The objcopy and tar commands were printed even in quiet mode. They are now replaced by a simple line and still visible in verbose mode. Fixes: ab64f5df8004 ("app/test: support resources externally linked") Fixes: 66819e6c11d8 ("app/test: support resources archived by tar") Signed-off-by: Thomas

[dpdk-dev] [PATCH v3] i40e: configure MTU

2016-06-17 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yong Wang > Sent: Thursday, June 16, 2016 6:52 PM > To: Olivier Matz; Xing, Beilei; Wu, Jingjing > Cc: dev at dpdk.org; Julien Meunier; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH v3] i40e: configure MTU

[dpdk-dev] [PATCH] bnx2x: Don't reset buf_len in RX mbufs

2016-06-17 Thread Harish Patil
> >Fixes: 540a211084a7 ("bnx2x: driver core") > >Signed-off-by: Chas Williams <3chas3 at gmail.com> >--- > drivers/net/bnx2x/bnx2x_rxtx.c | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c >b/drivers/net/bnx2x/bnx2x_rxtx.c >index 55d2bd7..c963194 100644 >---

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Hunt, David
A comment below: On 16/6/2016 1:30 PM, David Hunt wrote: > +/** > + * Set the ops of a mempool. > + * > + * This can only be done on a mempool that is not populated, i.e. just after > + * a call to rte_mempool_create_empty(). > + * > + * @param mp > + * Pointer to the memory pool. > + * @param

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Olivier Matz
Hi David, On 06/17/2016 08:58 AM, Hunt, David wrote: > A comment below: > > On 16/6/2016 1:30 PM, David Hunt wrote: >> +/** >> + * Set the ops of a mempool. >> + * >> + * This can only be done on a mempool that is not populated, i.e. >> just after >> + * a call to rte_mempool_create_empty(). >>

[dpdk-dev] [PATCH] qat: fix for VFs not getting recognized

2016-06-17 Thread Thomas Monjalon
2016-06-16 16:25, Jain, Deepak K: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-06-16 16:29, Jain, Deepak K: > > > Due to addition of CLASS_ID in EAL, class_id is amended into the code. > > > > Why the VF is not recognized? > > The class id should not be mandatory. > >

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Hunt, David
On 17/6/2016 9:08 AM, Olivier Matz wrote: > Hi David, > > On 06/17/2016 08:58 AM, Hunt, David wrote: >> A comment below: >> >> On 16/6/2016 1:30 PM, David Hunt wrote: >>> +/** >>> + * Set the ops of a mempool. >>> + * >>> + * This can only be done on a mempool that is not populated, i.e. >>>

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Thomas Monjalon
2016-06-17 09:42, Hunt, David: > > On 17/6/2016 9:08 AM, Olivier Matz wrote: > > Hi David, > > > > On 06/17/2016 08:58 AM, Hunt, David wrote: > >> A comment below: > >> > >> On 16/6/2016 1:30 PM, David Hunt wrote: > >>> +/** > >>> + * Set the ops of a mempool. > >>> + * > >>> + * This can only be

[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-06-17 Thread Ferruh Yigit
On 6/16/2016 4:45 PM, Martinx - ? wrote: > On 15 June 2016 at 11:59, Ferruh Yigit > wrote: > > On 6/15/2016 4:57 PM, Ferruh Yigit wrote: > > Following compile error observed with CentOS 6.8, which uses kernel > >

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Hunt, David
On 17/6/2016 10:09 AM, Thomas Monjalon wrote: > 2016-06-17 09:42, Hunt, David: >> On 17/6/2016 9:08 AM, Olivier Matz wrote: >>> Hi David, >>> >>> On 06/17/2016 08:58 AM, Hunt, David wrote: A comment below: On 16/6/2016 1:30 PM, David Hunt wrote: > +/** > + * Set the ops of

[dpdk-dev] [PATCH] qat: fix for VFs not getting recognized

2016-06-17 Thread Jerin Jacob
On Fri, Jun 17, 2016 at 10:18:30AM +0200, Thomas Monjalon wrote: > 2016-06-16 16:25, Jain, Deepak K: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2016-06-16 16:29, Jain, Deepak K: > > > > Due to addition of CLASS_ID in EAL, class_id is amended into the code. > > > > > >

[dpdk-dev] [PATCH] qat: fix for VFs not getting recognized

2016-06-17 Thread Jain, Deepak K
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, June 17, 2016 9:19 AM > To: Jain, Deepak K > Cc: dev at dpdk.org; Griffin, John ; De Lara > Guarch, > Pablo ; Doherty, Declan > > Subject: Re: [dpdk-dev] [PATCH] qat: fix for VFs not

[dpdk-dev] [PATCH] mk: mute build of test resources

2016-06-17 Thread Bruce Richardson
On Fri, Jun 17, 2016 at 12:01:09AM +0200, Thomas Monjalon wrote: > The objcopy and tar commands were printed even in quiet mode. > They are now replaced by a simple line and still visible in verbose mode. > > Fixes: ab64f5df8004 ("app/test: support resources externally linked") > Fixes:

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-06-17 Thread Bruce Richardson
On Mon, Mar 28, 2016 at 04:48:17PM +0800, Jianbo Liu wrote: > Hi Qian, > > On 28 March 2016 at 10:30, Xu, Qian Q wrote: > > Jianbo > > Could you tell me the case that can reproduce the issue? We can help > > evaluate the impact of performance on ixgbe, but I'm not sure how to check > > if your

[dpdk-dev] [PATCH] mk: mute build of test resources

2016-06-17 Thread Thomas Monjalon
> > The objcopy and tar commands were printed even in quiet mode. > > They are now replaced by a simple line and still visible in verbose mode. > > > > Fixes: ab64f5df8004 ("app/test: support resources externally linked") > > Fixes: 66819e6c11d8 ("app/test: support resources archived by tar") > >

[dpdk-dev] [PATCH] fm10k: fix VF cannot receive broadcast traffic

2016-06-17 Thread Bruce Richardson
On Mon, Jun 06, 2016 at 05:00:47PM +0800, Wang Xiao W wrote: > When app tries promisc/allmulti setting, fm10k will check if a valid glort > is acquired, if not then exit without doing anything. It's a long journey > for VF to acquire glort info from VF to PF mailbox, PF to switch mailbox. > It

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Olivier Matz
Hi David, While testing Lazaros' patch, I found an issue in this series. I the test application is started with --no-huge, it does not work, the mempool_autotest does not work. Please find the exaplanation below: On 06/16/2016 02:30 PM, David Hunt wrote: > @@ -386,9 +352,9 @@

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Olivier Matz
Hi David, If you plan to do a v14 for this API comment, I'm wondering if the documentation could be slightly modified too. I think "external mempool manager" was the legacy name for the feature, but maybe it could be changed in "alternative mempool handlers" or "changing the

[dpdk-dev] [PATCH v3 1/2] ethdev: add callback to get register size in bytes

2016-06-17 Thread Thomas Monjalon
2016-06-13 16:51, Remy Horton: > > On 12/06/2016 15:51, Zyta Szpak wrote: > > I would prefer having only one function rte_eth_dev_get_regs() > > which returns length and width if data is NULL. > > The first call is a parameter request before buffer allocation, > > and the second

[dpdk-dev] [PATCH] arm64: change rte_memcpy to inline function

2016-06-17 Thread Thomas Monjalon
2016-05-19 17:56, Thomas Monjalon: > 2016-05-19 21:48, Jianbo Liu: > > On 13 May 2016 at 23:49, Thomas Monjalon > > wrote: > > > 2016-05-10 14:01, Jianbo Liu: > > >> Other APP may call rte_memcpy by function pointer, > > >> so change it to an inline function. > > > > > > Any example in mind? > >

[dpdk-dev] [PATCH v2 1/3] kasumi: add new KASUMI PMD

2016-06-17 Thread Pablo de Lara
Added new SW PMD which makes use of the libsso_kasumi SW library, which provides wireless algorithms KASUMI F8 and F9 in software. This PMD supports cipher-only, hash-only and chained operations ("cipher then hash" and "hash then cipher") of the following algorithms: -

[dpdk-dev] [PATCH v2 2/3] test: add new buffer comparison macros

2016-06-17 Thread Pablo de Lara
In order to compare buffers with length and offset in bits, new macros have been created, which use the previous compare function to compare full bytes and then, compare first and last bytes of each buffer separately. Signed-off-by: Pablo de Lara --- app/test/test.h | 57

[dpdk-dev] [PATCH v2 3/3] test: add unit tests for KASUMI PMD

2016-06-17 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 995 +++-- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_kasumi_hash_test_vectors.h | 260 ++ app/test/test_cryptodev_kasumi_test_vectors.h | 308

[dpdk-dev] [PATCH] fm10k: fix VF cannot receive broadcast traffic

2016-06-17 Thread Bruce Richardson
On Tue, Jun 14, 2016 at 05:03:57AM +, Chen, Jing D wrote: > Hi, > > > -Original Message- > > From: Wang, Xiao W > > Sent: Monday, June 06, 2016 5:01 PM > > To: Chen, Jing D > > Cc: dev at dpdk.org; Wang, Xiao W > > Subject: [PATCH] fm10k: fix VF cannot receive broadcast traffic > >

[dpdk-dev] [PATCH v3 0/3] mempool: user-owned mempool caches

2016-06-17 Thread Olivier Matz
Hi Lazaros, On 06/16/2016 01:02 PM, Lazaros Koromilas wrote: > Updated version of the user-owned cache patchset. It applies on top of > the latest external mempool manager patches from David Hunt [1]. > > [1] http://dpdk.org/ml/archives/dev/2016-June/041479.html > > v3 changes: > > *

[dpdk-dev] [PATCH v3 2/3] mempool: use bit flags instead of is_mp and is_mc

2016-06-17 Thread Olivier Matz
On 06/16/2016 01:02 PM, Lazaros Koromilas wrote: > Re: [PATCH v3 2/3] mempool: use bit flags instead of is_mp and is_mc There is a script to check the format of title. The underscores are now forbidden, because it often reference function or variable names, which is not ideal in titles. $

[dpdk-dev] [PATCH v3 3/3] mempool: allow for user-owned mempool caches

2016-06-17 Thread Olivier Matz
On 06/16/2016 01:02 PM, Lazaros Koromilas wrote: > The mempool cache is only available to EAL threads as a per-lcore > resource. Change this so that the user can create and provide their own > cache on mempool get and put operations. This works with non-EAL threads > too. This commit introduces

[dpdk-dev] [PATCH v2] mempool: replace c memcpy code semantics with optimized rte_memcpy

2016-06-17 Thread Olivier Matz
Hi Jerin, On 06/03/2016 09:02 AM, Jerin Jacob wrote: > On Thu, Jun 02, 2016 at 11:16:16PM +0200, Olivier MATZ wrote: > Hi Olivier, > >> This is probably more a measure of the pure CPU cost of the mempool >> function, without considering the memory cache aspect. So, of course, >> a real use-case

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-17 Thread Hunt, David
On 17/6/2016 11:18 AM, Olivier Matz wrote: > Hi David, > > While testing Lazaros' patch, I found an issue in this series. > I the test application is started with --no-huge, it does not work, > the mempool_autotest does not work. Please find the exaplanation > below: > > On 06/16/2016 02:30 PM,

[dpdk-dev] [PATCH v2 00/11] Snow3G bit-level support

2016-06-17 Thread Pablo de Lara
The underlying library libsso for Snow3G PMD will be updated, to support bit-level operations. This patchset updates the PMD to allow the user to perform crypto operation at bit-level. It also add some unit tests and updates the documentation. This patchset depends on the following patchset:

[dpdk-dev] [PATCH v2 01/11] snow3g: rename libsso reference due to library update

2016-06-17 Thread Pablo de Lara
The underlying libsso library that SNOW3G PMD uses has been updated, so now it is called libsso_snow3g. Also, the path to the library has been renamed to reflect this changes (now called LIBSSO_SNOW3G_PATH). Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/snow3g.rst | 6 +++---

[dpdk-dev] [PATCH v2 02/11] doc: update build instructions for libsso_snow3g

2016-06-17 Thread Pablo de Lara
With the library update, the way to compile the library has changed, so documentation reflects this change. Also, the patch to fix the compilation issues present with gcc > 5.0 has been removed, as the issues have been fixed in the library. Signed-off-by: Pablo de Lara ---

[dpdk-dev] [PATCH v2 03/11] snow3g: define IV/digest length macros

2016-06-17 Thread Pablo de Lara
In order to avoid using magic numbers, macros for the IV and digest lengths for Snow3G have been added. Signed-off-by: Pablo de Lara --- drivers/crypto/snow3g/rte_snow3g_pmd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c

[dpdk-dev] [PATCH v2 04/11] snow3g: support bit-level operations

2016-06-17 Thread Pablo de Lara
Underlying libsso_snow3g library now supports bit-level operations, so PMD has been updated to allow them. Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/snow3g.rst | 5 +- drivers/crypto/snow3g/rte_snow3g_pmd.c | 193 - 2 files changed, 142

[dpdk-dev] [PATCH v2 06/11] test: use new bit-level memcmp macro

2016-06-17 Thread Pablo de Lara
Instead of modifying the content of the buffers, to compare them at bit-level, use the new macro TEST_ASSERT_BUFFERS_ARE_EQUAL_BIT, which does not make any modifications in the buffers. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 68

[dpdk-dev] [PATCH v2 07/11] test: fix buffer lengths for snow3G tests

2016-06-17 Thread Pablo de Lara
No padding was added in the input buffers for snow3G tests, due to a wrong calculation of the length (should be multiple of the block size). This fix takes into account the case where the length is not byte multiple. Fixes: 8bdf665fe6c0 ("app/test: add SNOW 3G") Signed-off-by: Pablo de Lara ---

[dpdk-dev] [PATCH v2 08/11] test: add out-of-place crypto op tests for Snow3G PMD

2016-06-17 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 7dc5648..803f1f6 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -4057,6 +4057,11 @@ static

[dpdk-dev] [PATCH v2 09/11] test: add bit-level Snow3G UIA2 tests

2016-06-17 Thread Pablo de Lara
Snow3G PMD supports now buffers that are non byte multiple, so tests to cover this case have been added. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 50 ++ app/test/test_cryptodev_snow3g_hash_test_vectors.h | 107 + 2 files

[dpdk-dev] [PATCH v2 10/11] test: add Snow3G UEA2 test with offset

2016-06-17 Thread Pablo de Lara
With the new libsso library, buffers can be encrypted/decrypted, providing an offset in bits, so an extra unit test has been added to cover this case. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 121 ++ 1 file changed, 121

[dpdk-dev] [PATCH v2 11/11] test: refactor snow3g/kasumi tests

2016-06-17 Thread Pablo de Lara
SNOW3G and KASUMI unit tests are very similar and they were using duplicated code, so this commit refactor and remove some of the duplicated functions. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 440 -- config/common_base|

[dpdk-dev] [PATCH v3] ethdev: fix DCB config issue on ixgbe

2016-06-17 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Thursday, May 05, 2016 10:34 PM > To: dev at dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH v3] ethdev: fix DCB config issue on ixgbe > > An issue is found that DCB cannot be

[dpdk-dev] [PATCH v2] eal: Fix wrong error checking while parsing device arguments

2016-06-17 Thread David Marchand
On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > This patch fixes wrong error checking of rte_eal_parse_devargs_str(). > Currently, a return value of strdup() is wrongly checked. > > Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit") > Signed-off-by: Tetsuya Mukawa Forgot to pass

[dpdk-dev] [PATCH v2] eal: Fix wrong resource release while unmapping pci devices

2016-06-17 Thread David Marchand
On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > This patch fixes wrong resource release of pci_uio_unmap(). > The 'path' member of mapped_pci_resource structure is allocated by > primary process, but currently it will be freed by both primary > and secondary process. > The patch fixes to

[dpdk-dev] [PATCH v2] eal: Fix resource leak while secondary process maps pci devices

2016-06-17 Thread David Marchand
On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > This patch fixes resource leak of pci_uio_map_secondary(). > If pci_map_resource() succeeds but mapped address is different from an > address primary process mapped, this should be error. > Then the addresses secondary process mapped should

[dpdk-dev] [PATCH] app/test: call objdump in platform-independent way

2016-06-17 Thread Jan Viktorin
Using of the /dev/stdin generates a warning when compiling on FreeBSD: objcopy: Warning: '/dev/stdin' is not an ordinary file app/test/Makefile:78: recipe for target 'test_resource_c.res.o' failed # ls -l /dev/stdin lrwxr-xr-x 1 root wheel 4 Jun 17 12:24 /dev/stdin -> fd/0 Replace

[dpdk-dev] [PATCH] app/test: call objdump in platform-independent way

2016-06-17 Thread Thomas Monjalon
2016-06-17 14:52, Jan Viktorin: > Using of the /dev/stdin generates a warning when compiling on FreeBSD: > > objcopy: Warning: '/dev/stdin' is not an ordinary file > app/test/Makefile:78: recipe for target 'test_resource_c.res.o' failed > # ls -l /dev/stdin > lrwxr-xr-x 1 root wheel 4 Jun

[dpdk-dev] [PATCH] mk: fix build clean

2016-06-17 Thread Thomas Monjalon
The variables AESNI_MULTI_BUFFER_LIB_PATH and LIBSSO_PATH are not required for "make clean". It is the same fix as in the commit e277b2397. Signed-off-by: Thomas Monjalon --- drivers/crypto/aesni_gcm/Makefile | 2 ++ drivers/crypto/snow3g/Makefile| 2 ++ 2 files changed, 4 insertions(+)

[dpdk-dev] [PATCH v6 00/27] DPDK PMD for ThunderX NIC device

2016-06-17 Thread Jerin Jacob
This patch set provides the initial version of DPDK PMD for the built-in NIC device in Cavium ThunderX SoC family. Implemented features and ThunderX nicvf PMD documentation added in doc/guides/nics/overview.rst and doc/guides/nics/thunderx.rst respectively in this patch set. These patches are

[dpdk-dev] [PATCH v6 01/27] net/thunderx/base: add HW constants

2016-06-17 Thread Jerin Jacob
add HW constants of ThunderX inbuilt NIC Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_hw_defs.h | 551

[dpdk-dev] [PATCH v6 02/27] net/thunderx/base: add HW register definitions

2016-06-17 Thread Jerin Jacob
add HW register definitions of ThunderX inbuilt NIC Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_hw_defs.h | 668

[dpdk-dev] [PATCH v6 03/27] net/thunderx/base: implement DPDK based platform abstraction

2016-06-17 Thread Jerin Jacob
implement DPDK based platform abstraction for base code Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_plat.h | 129

[dpdk-dev] [PATCH v6 05/27] net/thunderx/base: add hardware API

2016-06-17 Thread Jerin Jacob
add nicvf hardware specific APIs for initialization and configuration. Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_hw.c

[dpdk-dev] [PATCH] mk: fix build clean

2016-06-17 Thread Thomas Monjalon
2016-06-17 15:22, Thomas Monjalon: > The variables AESNI_MULTI_BUFFER_LIB_PATH and LIBSSO_PATH > are not required for "make clean". > It is the same fix as in the commit e277b2397. Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations") Fixes: 3aafc423cf4d ("snow3g: add driver

[dpdk-dev] [PATCH v6 06/27] net/thunderx/base: add RSS and reta configuration HW APIs

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_hw.c | 129 +++

[dpdk-dev] [PATCH v6 07/27] net/thunderx/base: add statistics get HW APIs

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/base/nicvf_hw.c | 45

[dpdk-dev] [PATCH v6 08/27] net/thunderx: add pmd skeleton

2016-06-17 Thread Jerin Jacob
Introduce driver initialization and enable build infrastructure for nicvf pmd driver. By default, It is enabled only for defconfig_arm64-thunderx-* config as it is an inbuilt NIC device. Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by:

[dpdk-dev] [PATCH v6 09/27] net/thunderx: add link status and link update support

2016-06-17 Thread Jerin Jacob
Extended the nicvf_interrupt function to respond NIC_MBOX_MSG_BGX_LINK_CHANGE mbox message from PF and update struct rte_eth_link accordingly. Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek

[dpdk-dev] [PATCH v6 10/27] net/thunderx: add registers dump support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 27 +++ 1 file changed, 27 insertions(+) diff

[dpdk-dev] [PATCH v6 11/27] net/thunderx: add ethdev configure support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 78 + 1

[dpdk-dev] [PATCH v6 12/27] net/thunderx: add get device info support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 45 +

[dpdk-dev] [PATCH v6 13/27] net/thunderx: add Rx queue setup and release support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 136

[dpdk-dev] [PATCH v6 14/27] net/thunderx: add Tx queue setup and release support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 175 1 file changed, 175

[dpdk-dev] [PATCH v6 15/27] net/thunderx: add RSS and reta query and update support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 172 1

[dpdk-dev] [PATCH v6 16/27] net/thunderx: add MTU set support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 44 +

[dpdk-dev] [PATCH v6 17/27] net/thunderx: add promiscuous enable support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[dpdk-dev] [PATCH v6 18/27] net/thunderx: add stats support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.c | 66 + 1

[dpdk-dev] [PATCH v6 19/27] net/thunderx: add single and multi segment Tx functions

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/Makefile | 2 + drivers/net/thunderx/nicvf_ethdev.c | 5 +-

[dpdk-dev] [PATCH v6 20/27] net/thunderx: add single and multi segment Rx functions

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit --- drivers/net/thunderx/nicvf_ethdev.h | 33 drivers/net/thunderx/nicvf_rxtx.c

[dpdk-dev] [PATCH v6 22/27] net/thunderx: add Rx queue count support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 1 + drivers/net/thunderx/nicvf_rxtx.c | 9 +

[dpdk-dev] [PATCH v6 23/27] net/thunderx: add Rx queue start and stop support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 167

[dpdk-dev] [PATCH v6 24/27] net/thunderx: add Tx queue start and stop support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 59 + 1 file changed, 59

[dpdk-dev] [PATCH v6 25/27] net/thunderx: add device start, stop and close support

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki --- drivers/net/thunderx/nicvf_ethdev.c | 467 1 file changed, 467

[dpdk-dev] [PATCH] app/test: call objdump in platform-independent way

2016-06-17 Thread Thomas Monjalon
2016-06-17 15:19, Thomas Monjalon: > 2016-06-17 14:52, Jan Viktorin: > > Using of the /dev/stdin generates a warning when compiling on FreeBSD: > > > > objcopy: Warning: '/dev/stdin' is not an ordinary file > > app/test/Makefile:78: recipe for target 'test_resource_c.res.o' failed > > # ls -l

[dpdk-dev] [PATCH v6 26/27] net/thunderx: updated driver documentation and release notes

2016-06-17 Thread Jerin Jacob
Updated doc/guides/nics/overview.rst, doc/guides/nics/thunderx.rst and release notes Changed "*" to "P" in overview.rst to capture the partially supported feature as "*" creating alignment issues with Sphinx table Signed-off-by: Jerin Jacob Signed-off-by: Slawomir Rosek Acked-by: John McNamara

[dpdk-dev] [PATCH v6 27/27] maintainers: claim responsibility for the ThunderX nicvf PMD

2016-06-17 Thread Jerin Jacob
Signed-off-by: Jerin Jacob Signed-off-by: Maciej Czekaj --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index be09a98..e41ce13 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -343,6 +343,12 @@ M: Sony Chacko F: drivers/net/qede/ F:

[dpdk-dev] [PATCH v2 0/3] Add new KASUMI SW PMD

2016-06-17 Thread Jain, Deepak K
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Friday, June 17, 2016 11:33 AM > To: dev at dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [PATCH v2 0/3] Add new KASUMI SW PMD > > Added new SW PMD which makes use of the libsso SW library, which >

[dpdk-dev] [PATCH v2 00/11] Snow3G bit-level support

2016-06-17 Thread Jain, Deepak K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Friday, June 17, 2016 12:25 PM > To: dev at dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [dpdk-dev] [PATCH v2 00/11] Snow3G bit-level support > > The underlying

[dpdk-dev] [PATCH v14 0/3] mempool: add mempool handler feature

2016-06-17 Thread David Hunt
Here's the latest version of the Mempool Handler feature (previously known as the External Mempool Manager. It's re-based on top of the latest head as of 17/6/2016, including Olivier's 35-part patch series on mempool re-org [1] [1] http://dpdk.org/ml/archives/dev/2016-May/039229.html v14

[dpdk-dev] [PATCH v14 1/3] mempool: support mempool handler operations

2016-06-17 Thread David Hunt
Until now, the objects stored in a mempool were internally stored in a ring. This patch introduces the possibility to register external handlers replacing the ring. The default behavior remains unchanged, but calling the new function rte_mempool_set_ops_byname() right after

[dpdk-dev] [PATCH v14 2/3] app/test: test mempool handler

2016-06-17 Thread David Hunt
Create a minimal custom mempool handler and check that it passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122 +++- 1 file changed,

[dpdk-dev] [PATCH v14 3/3] mbuf: make default mempool ops configurable at build

2016-06-17 Thread David Hunt
By default, the mempool ops used for mbuf allocations is a multi producer and multi consumer ring. We could imagine a target (maybe some network processors?) that provides an hardware-assisted pool mechanism. In this case, the default configuration for this architecture would contain a different

[dpdk-dev] [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access

2016-06-17 Thread Jerin Jacob
made second cache line access behavior same as IA Signed-off-by: Jerin Jacob --- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c index

[dpdk-dev] [PATCH v2 1/3] mempool: add stack (lifo) mempool handler

2016-06-17 Thread Hunt, David
Hi Olivier, On 23/5/2016 1:55 PM, Olivier Matz wrote: > Hi David, > > Please find some comments below. > > On 05/19/2016 04:48 PM, David Hunt wrote: >> [...] >> +++ b/lib/librte_mempool/rte_mempool_stack.c >> @@ -0,0 +1,145 @@ >> +/*- >> + * BSD LICENSE >> + * >> + * Copyright(c) 2010-2014

[dpdk-dev] [PATCH v3] bond: inherit maximum rx packet length

2016-06-17 Thread Declan Doherty
On 07/05/16 04:45, Eric Kinzie wrote: > Instead of a hard-coded maximum receive length, allow the bond interface > to inherit this limit from the slave interfaces. This allows > an application that uses jumbo frames to pass realistic values to > rte_eth_dev_configure without causing an

[dpdk-dev] [PATCH v14 1/3] mempool: support mempool handler operations

2016-06-17 Thread Jan Viktorin
Hi David, still few nits... Do you like the upstreaming process? :) I hope finish this patchset soon. The major issues seem to be OK. [...] > + > +/** > + * @internal Get the mempool ops struct from its index. > + * > + * @param ops_index > + * The index of the ops struct in the ops struct

[dpdk-dev] [PATCH v14 2/3] app/test: test mempool handler

2016-06-17 Thread Jan Viktorin
On Fri, 17 Jun 2016 14:53:37 +0100 David Hunt wrote: > Create a minimal custom mempool handler and check that it > passes basic mempool autotests. > > Signed-off-by: Olivier Matz > Signed-off-by: David Hunt > Acked-by: Shreyansh Jain > Acked-by: Olivier Matz > --- Reviewed-by: Jan Viktorin

[dpdk-dev] [PATCH v14 3/3] mbuf: make default mempool ops configurable at build

2016-06-17 Thread Jan Viktorin
On Fri, 17 Jun 2016 14:53:38 +0100 David Hunt wrote: > By default, the mempool ops used for mbuf allocations is a multi > producer and multi consumer ring. We could imagine a target (maybe some > network processors?) that provides an hardware-assisted pool > mechanism. In this case, the default

[dpdk-dev] [PATCH] keepalive: fix exported symbols

2016-06-17 Thread Thomas Monjalon
The function rte_keepalive_register_alive_callback do not exist. The function rte_keepalive_register_relay_callback was missing for BSD. Fixes: 90c622f35679 ("keepalive: add liveness callback") Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 +-

[dpdk-dev] [PATCH] eal: fix thread naming on FreeBSD

2016-06-17 Thread Thomas Monjalon
rte_thread_setname was a macro defined only for Linux. The function rte_thread_setname() can now be used on FreeBSD as well on Linux. It is required to build librte_pdump. The macro was 0 for old glibc. The function is now returning -1. The related logs are decreased from error to debug level

[dpdk-dev] [RFC] librte_vhost: Add unix domain socket fd registration

2016-06-17 Thread Aaron Conole
Prior to this commit, the only way to add a vhost-user socket to the system is by relying on librte_vhost to open the unix domain socket and add it to the unix socket list. This is problematic for applications which would like to set the permissions, or applications which are not directly allowed

[dpdk-dev] [PATCH] keepalive: fix exported symbols

2016-06-17 Thread Thomas Monjalon
2016-06-17 17:02, Thomas Monjalon: > The function rte_keepalive_register_alive_callback do not exist. > The function rte_keepalive_register_relay_callback was missing for BSD. > > Fixes: 90c622f35679 ("keepalive: add liveness callback") > > Signed-off-by: Thomas Monjalon Applied

[dpdk-dev] [PATCH] eal: fix thread naming on FreeBSD

2016-06-17 Thread David Marchand
On Fri, Jun 17, 2016 at 5:25 PM, Thomas Monjalon wrote: > rte_thread_setname was a macro defined only for Linux. > The function rte_thread_setname() can now be used on FreeBSD > as well on Linux. > It is required to build librte_pdump. > > The macro was 0 for old glibc. The function is now

[dpdk-dev] [PATCH v2] eal: fix thread naming on FreeBSD

2016-06-17 Thread David Marchand
On Fri, Jun 17, 2016 at 6:02 PM, Thomas Monjalon wrote: > rte_thread_setname was a macro defined only for Linux. > The function rte_thread_setname() can now be used on FreeBSD > as well on Linux. > It is required to build librte_pdump. > > The macro was 0 for old glibc. The function is now

[dpdk-dev] [PATCH v2] eal: fix thread naming on FreeBSD

2016-06-17 Thread Thomas Monjalon
2016-06-17 18:04, David Marchand: > On Fri, Jun 17, 2016 at 6:02 PM, Thomas Monjalon > wrote: > > rte_thread_setname was a macro defined only for Linux. > > The function rte_thread_setname() can now be used on FreeBSD > > as well on Linux. > > It is required to build librte_pdump. > > > > The

[dpdk-dev] [PATCH 00/24] Refactor mlx5 to improve performance

2016-06-17 Thread Ferruh Yigit
On 6/8/2016 10:47 AM, Nelio Laranjeiro wrote: > Enhance mlx5 with a data path that bypasses Verbs. > > The first half of this patchset removes support for functionality completely > rewritten in the second half (scatter/gather, inline send), while the data > path is refactored without Verbs. > >

[dpdk-dev] [PATCH] keepalive: fix exported symbols

2016-06-17 Thread Remy Horton
rte_keepalive_mark_sleep is also missing from both. On 17/06/2016 16:02, Thomas Monjalon wrote: > The function rte_keepalive_register_alive_callback do not exist. > The function rte_keepalive_register_relay_callback was missing for BSD. > > Fixes: 90c622f35679 ("keepalive: add liveness callback")

[dpdk-dev] [PATCH] bnx2x: Correctly determine MSIX vector count

2016-06-17 Thread Ferruh Yigit
On 6/10/2016 11:18 PM, Chas Williams wrote: > From: "Charles (Chas) Williams" > > If MSIX is available, the vector count given by the table size is one > less than the actual count. This count also limits the receive and > transmit queue resources the VF can support. > > Fixes: 540a211084a7

[dpdk-dev] [PATCH] mlx: fix compilation with older Glibc

2016-06-17 Thread Ferruh Yigit
On 6/14/2016 10:22 AM, Adrien Mazarguil wrote: > A missing define in the previous patch causes additional compilation > issues. > > Fixes: 3025206f5060 ("mlx: fix compilation with recent Glibc") > > Signed-off-by: Adrien Mazarguil "older Glibc" or "recent Glibc" can be very hard to trace from

[dpdk-dev] [PATCHv8 0/6] Implement pmd hardware support exports

2016-06-17 Thread Neil Horman
Hey all- So heres attempt number 2 at a method for exporting PMD hardware support information. As we discussed previously, the consensus seems to be that pmd information should be: 1) Able to be interrogated on any ELF binary (application binary or individual DSO) 2) Equally functional

[dpdk-dev] [PATCHv8 1/6] pmdinfogen: Add buildtools and pmdinfogen utility

2016-06-17 Thread Neil Horman
pmdinfogen is a tool used to parse object files and build json strings for use in later determining hardware support in a dso or application binary. pmdinfo looks for the non-exported symbol names this_pmd_name and this_pmd_tbl (where n is a integer counter). It records the name of each of these

  1   2   >