[dpdk-dev] about rx checksum flags

2016-05-31 Thread Olivier MATZ
Hi Stephen, On 05/31/2016 10:28 PM, Stephen Hemminger wrote: > On Tue, 31 May 2016 21:11:59 +0200 > Olivier MATZ wrote: > >> >> >> On 05/31/2016 10:09 AM, Yuanhan Liu wrote: >>> On Mon, May 30, 2016 at 05:26:21PM +0200, Olivier Matz wrote: PKT_RX_L4_CKSUM_NONE: the L4 checksum is not

[dpdk-dev] [PATCH v5 1/3] mempool: support external handler

2016-05-31 Thread Olivier MATZ
Hi, On 05/31/2016 06:03 PM, Jerin Jacob wrote: > On Tue, May 31, 2016 at 04:37:02PM +0100, Hunt, David wrote: >> >> >> On 5/31/2016 9:53 AM, Jerin Jacob wrote: >>> On Mon, May 30, 2016 at 12:27:26PM +0100, Hunt, David wrote: New mempool handlers will use rte_mempool_create_empty(),

[dpdk-dev] [dpdk-dev,v5,1/3] mempool: support external handler

2016-05-31 Thread Olivier MATZ
Hi, On 05/31/2016 03:47 PM, Hunt, David wrote: > On 5/31/2016 1:06 PM, Jan Viktorin wrote: >> On Tue, 31 May 2016 10:09:42 +0100 >> "Hunt, David" wrote: >> >>> The *p pointer is the opaque data for a given mempool handler (ring, >>> array, linked list, etc) >> Again, doc comments... >> >> I

[dpdk-dev] [dpdk-dev, v5, 2/3] app/test: test external mempool handler

2016-05-31 Thread Olivier MATZ
Hi, On 05/31/2016 02:14 PM, Jan Viktorin wrote: > On Tue, 31 May 2016 10:17:41 +0100 > "Hunt, David" wrote: >> On 5/23/2016 1:45 PM, Jan Viktorin wrote: >>> The test becomes quite complex. What about having several smaller >>> tests with a clear setup and cleanup steps? >> >> I guess that's

[dpdk-dev] [PATCH v5 1/3] mempool: support external handler

2016-05-31 Thread Jerin Jacob
On Tue, May 31, 2016 at 04:37:02PM +0100, Hunt, David wrote: > > > On 5/31/2016 9:53 AM, Jerin Jacob wrote: > > On Mon, May 30, 2016 at 12:27:26PM +0100, Hunt, David wrote: > > > New mempool handlers will use rte_mempool_create_empty(), > > > rte_mempool_set_handler(), > > > then

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Olivier MATZ
Hi Jianbo, On 05/31/2016 05:06 AM, Jianbo Liu wrote: > Change the inline function to macro with parameters > > Signed-off-by: Jianbo Liu > > [...] > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -849,14 +849,15 @@ struct rte_mbuf { > * in the receive path. If the

[dpdk-dev] [PATCH] kni: fix use of undefined comma variable in makefile

2016-05-31 Thread Olivier MATZ
Hi Ferruh, On 05/31/2016 03:35 PM, Ferruh Yigit wrote: > Error is related to the kernel version, in second call "comma" > definition comes from kernel makefiles. > > Following commit causes comma to be defined: >

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Olivier MATZ
On 05/31/2016 10:09 AM, Yuanhan Liu wrote: > On Mon, May 30, 2016 at 05:26:21PM +0200, Olivier Matz wrote: >> PKT_RX_L4_CKSUM_NONE: the L4 checksum is not correct in the packet >> data, but the integrity of the L4 header is verified. >> -> the application can process the packet but must not

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Olivier MATZ
Hi, On 05/31/2016 12:08 PM, Adrien Mazarguil wrote: > On Tue, May 31, 2016 at 10:43:29AM +0800, Tan, Jianfeng wrote: >> Why not take care of PKT_RX_IP_CKSUM_BAD? Is it too easy for sw to handle? > > I thought PKT_RX_IP_CKSUM_BAD was to be modified in a similar fashion, but > since you raise the

[dpdk-dev] [PATCH 2/2] qede: return LAN stats to MFW

2016-05-31 Thread Harish Patil
>On Fri, May 06, 2016 at 09:21:31PM -0700, Rasesh Mody wrote: >> From: Harish Patil >> >> Under certain scenarios, MFW periodically polls the driver >> for LAN statistics. This patch implements the osal hook to >> fill in the stats. >> >> Fixes: ffa002d318d36 ("qede: add base driver") >>

[dpdk-dev] [REQUEST] New repository request for project SPP

2016-05-31 Thread Ferruh Yigit
On 5/27/2016 2:59 PM, Thomas Monjalon wrote: > 2016-05-26 17:48, Ferruh Yigit: >> SPP: Soft Patch Panel, a new project on top of DPDK library. >> >> >> Code is close to its first release, and we would like to open source the >> project and host it under dpdk.org. >> >> Can you please create a new

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

2016-05-31 Thread Jerin Jacob
On Mon, May 30, 2016 at 10:45:11AM +0200, Olivier Matz wrote: > Hi Jerin, > > On 05/26/2016 10:07 AM, Jerin Jacob wrote: > > Signed-off-by: Jerin Jacob > > --- > > v1..v2 > > Corrected the the git commit message(s/mbuf/mempool/g) > > --- > > lib/librte_mempool/rte_mempool.h | 5 ++--- > > 1

[dpdk-dev] [PATCH] ixgbe: rename ixgbe_rxtx_vec.c to ixgbe_rxtx_vec_sse.c

2016-05-31 Thread Bruce Richardson
On Wed, May 11, 2016 at 09:15:09AM +0530, Jianbo Liu wrote: > To be consistent with the naming for ARM NEON implementation, > ixgbe_rxtx_vec.c is renamed to ixgbe_rxtx_vec_sse.c. > > Signed-off-by: Jianbo Liu > --- Acked-by: Bruce Richardson Applied to dpdk-next-net/rel_16_07 /Bruce

[dpdk-dev] [PATCH v4 6/9] app/pdump: add pdump tool for packet capturing

2016-05-31 Thread Ananyev, Konstantin
> -Original Message- > From: Pattan, Reshma > Sent: Tuesday, May 31, 2016 3:50 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 6/9] app/pdump: add pdump tool for packet > capturing > > > > > -Original Message- > > From: Ananyev, Konstantin >

[dpdk-dev] [PATCH 1/5] pci: fix access to PCI config space in bsd

2016-05-31 Thread Bruce Richardson
On Fri, May 06, 2016 at 01:13:15PM +0530, Rahul Lakkireddy wrote: > PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail > with EPERM due to missing write permission. Fix by opening /dev/pci/ > with O_RDWR instead. > > Fixes: 632b2d1deeed ("eal: provide functions to access PCI

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

2016-05-31 Thread Zyta Szpak
On 30.05.2016 12:58, Panu Matilainen wrote: > On 05/30/2016 12:39 PM, zr at semihalf.com wrote: >> From: Zyta Szpak >> >> Version 2 of fixing the fixed register width assumption. >> rte_eth_dev_get_reg_length and rte_eth_dev_get_reg callbacks >> do not provide register size to the app in any

[dpdk-dev] [PATCH v5 1/3] mempool: support external handler

2016-05-31 Thread Hunt, David
On 5/31/2016 9:53 AM, Jerin Jacob wrote: > On Mon, May 30, 2016 at 12:27:26PM +0100, Hunt, David wrote: >> New mempool handlers will use rte_mempool_create_empty(), >> rte_mempool_set_handler(), >> then rte_mempool_populate_*(). These three functions are new to this >> release, to no problem >

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Yuanhan Liu
On Mon, May 30, 2016 at 05:26:21PM +0200, Olivier Matz wrote: > Hi, > > I'm planning to add the support for offloads in virtio-net pmd. Good to know, and thanks! > It appears that the current rx flags in mbuf are not sufficient to > describe the state of a packet received from a virtual driver.

[dpdk-dev] [dpdk-users] memory tracker in PMD level

2016-05-31 Thread Wiles, Keith
Resend to the list for others to view. Regards, Keith >Please do not send HTML based text to the list only plain text emails. > >Regards, >Keith > > >From: SAKTHIVEL ANAND S >Date: Tuesday, May 31, 2016 at 10:05 AM >To: Keith Wiles >Subject: Re: [dpdk-users] memory tracker in PMD level > >it

[dpdk-dev] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed?

2016-05-31 Thread lifuqiong
Hi, When creating a dpdkvhostuser port in ovs 2.5, when starting vm which connected to this port, using command "ovs-ofctl show br0", it will shows like this: 3(vhost-user-0): addr:00:00:00:00:00:00 config: PORT_DOWN state: LINK_DOWN speed: 0 Mbps now, 0

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-05-31 Thread Rich Lane
On Fri, May 20, 2016 at 5:50 AM, Ilya Maximets wrote: > In current implementation guest application can reinitialize vrings > by executing start after stop. In the same time host application > can still poll virtqueue while device stopped in guest and it will > crash with segmentation fault

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Stephen Hemminger
On Tue, 31 May 2016 22:58:57 +0200 Olivier MATZ wrote: > Hi Stephen, > > On 05/31/2016 10:28 PM, Stephen Hemminger wrote: > > On Tue, 31 May 2016 21:11:59 +0200 > > Olivier MATZ wrote: > > > >> > >> > >> On 05/31/2016 10:09 AM, Yuanhan Liu wrote: > >>> On Mon, May 30, 2016 at 05:26:21PM

[dpdk-dev] [PATCH v4 5/9] lib/librte_pdump: add new library for packet capturing support

2016-05-31 Thread Pattan, Reshma
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, May 27, 2016 2:39 PM > To: Pattan, Reshma ; dev at dpdk.org > Cc: Pattan, Reshma > Subject: RE: [dpdk-dev] [PATCH v4 5/9] lib/librte_pdump: add new library for > packet capturing support > > > +/* get socket path

[dpdk-dev] [PATCH v4 5/9] lib/librte_pdump: add new library for packet capturing support

2016-05-31 Thread Pattan, Reshma
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, May 27, 2016 4:26 PM > To: Pattan, Reshma ; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 5/9] lib/librte_pdump: add new library for > packet capturing support > > > > > -Original Message- > > From: Pattan,

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-05-31 Thread Tan, Jianfeng
Hi, On 5/30/2016 8:24 PM, Ilya Maximets wrote: > On 30.05.2016 15:00, Tan, Jianfeng wrote: >> Hi, >> >>> -Original Message- >>> From: Ilya Maximets [mailto:i.maximets at samsung.com] >>> Sent: Friday, May 20, 2016 8:50 PM >>> To: dev at dpdk.org; Xie, Huawei; Yuanhan Liu >>> Cc: Dyasly

[dpdk-dev] [PATCH v4 6/9] app/pdump: add pdump tool for packet capturing

2016-05-31 Thread Pattan, Reshma
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, May 27, 2016 4:22 PM > To: Pattan, Reshma ; dev at dpdk.org > Cc: Pattan, Reshma > Subject: RE: [dpdk-dev] [PATCH v4 6/9] app/pdump: add pdump tool for packet > capturing > > > > +static int > > +parse_num_mbufs(const

[dpdk-dev] [dpdk-dev,v5,1/3] mempool: support external handler

2016-05-31 Thread Hunt, David
On 5/31/2016 1:06 PM, Jan Viktorin wrote: > On Tue, 31 May 2016 10:09:42 +0100 > "Hunt, David" wrote: > >> Hi Jan, >> > [...] > +typedef void *(*rte_mempool_alloc_t)(struct rte_mempool *mp); + +/** Free the external pool. */ >>> What is the purpose of this callback? >>> What

[dpdk-dev] [PATCH] kni: fix use of undefined comma variable in makefile

2016-05-31 Thread Ferruh Yigit
On 5/30/2016 5:46 PM, Ferruh Yigit wrote: > On 5/30/2016 5:21 PM, Olivier Matz wrote: >> Hi Ferruh, >> >> On 05/30/2016 05:49 PM, Ferruh Yigit wrote: >>> On 5/30/2016 12:56 PM, Olivier Matz wrote: The $(comma) variable is not defined in this Makefile, nor in any included Makefile. Seen

[dpdk-dev] [PATCH v5 1/3] mempool: support external handler

2016-05-31 Thread Jerin Jacob
On Mon, May 30, 2016 at 12:27:26PM +0100, Hunt, David wrote: > > New mempool handlers will use rte_mempool_create_empty(), > rte_mempool_set_handler(), > then rte_mempool_populate_*(). These three functions are new to this > release, to no problem Having separate APIs for external pool-manager

[dpdk-dev] [dpdk-dev, v5, 2/3] app/test: test external mempool handler

2016-05-31 Thread Jan Viktorin
On Tue, 31 May 2016 10:17:41 +0100 "Hunt, David" wrote: > Hi Jan, > > On 5/23/2016 1:45 PM, Jan Viktorin wrote: > > On Thu, 19 May 2016 14:45:00 +0100 > > David Hunt wrote: > > --snip-- > [...] > >> + > > The test becomes quite complex. What about having several smaller > > tests with

[dpdk-dev] [dpdk-dev,v5,1/3] mempool: support external handler

2016-05-31 Thread Jan Viktorin
On Tue, 31 May 2016 10:09:42 +0100 "Hunt, David" wrote: > Hi Jan, > [...] > > >> +typedef void *(*rte_mempool_alloc_t)(struct rte_mempool *mp); > >> + > >> +/** Free the external pool. */ > > What is the purpose of this callback? > > What exactly does it allocate? > > Some rte_mempool

[dpdk-dev] about memzone name size issue

2016-05-31 Thread Iremonger, Bernard
Hi Huilong, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Keith > Sent: Tuesday, May 31, 2016 2:18 PM > To: Xu, HuilongX ; dev at dpdk.org > Subject: Re: [dpdk-dev] about memzone name size issue > > >Hi all, > >I find a issue on link_bonding unit

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Stephen Hemminger
On Tue, 31 May 2016 21:11:59 +0200 Olivier MATZ wrote: > > > On 05/31/2016 10:09 AM, Yuanhan Liu wrote: > > On Mon, May 30, 2016 at 05:26:21PM +0200, Olivier Matz wrote: > >> PKT_RX_L4_CKSUM_NONE: the L4 checksum is not correct in the packet > >> data, but the integrity of the L4 header is

[dpdk-dev] about memzone name size issue

2016-05-31 Thread Wiles, Keith
>Hi all, >I find a issue on link_bonding unit test case. > >When I run model6 test case, will generate core dump error. >I debug it, find the error code in function: >rte_mempool_create_empty(const char *name, unsigned n, unsigned elt_size, >unsigned cache_size, unsigned

[dpdk-dev] dpdk pipeline multi app

2016-05-31 Thread Singh, Jasvinder
Hi Ramin, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ramin Najjarbashi > Sent: Tuesday, May 31, 2016 8:19 AM > To: dev at dpdk.org > Subject: [dpdk-dev] dpdk pipeline multi app > > hi > how we can arrive to this architecture? > Every client is

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Stephen Hemminger
On Tue, 31 May 2016 08:36:06 +0530 Jianbo Liu wrote: > Change the inline function to macro with parameters > > Signed-off-by: Jianbo Liu Going from typed (inline) to untyped (macro) is a step backwards in code safety.

[dpdk-dev] [PATCH v3] ip_pipeline: add script file for pipeline to core mappings

2016-05-31 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jasvinder Singh > Sent: Tuesday, May 31, 2016 9:58 AM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian ; Rao, GuruprasadX > > Subject: [dpdk-dev] [PATCH v3] ip_pipeline: add script file for pipeline > to core

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-05-31 Thread Ilya Maximets
OK. On 30.05.2016 17:25, Yuanhan Liu wrote: > Hi Ilya, > > Generically speaking, this patch looks good to me. But I guess still > need more time to check this issue later; I still failed to reproduce > it on my side after all. So, please allow a late merge. > > Thanks. > > --yliu > > On

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-05-31 Thread Ilya Maximets
On 31.05.2016 09:53, Tan, Jianfeng wrote: > Hi, > > > On 5/30/2016 8:24 PM, Ilya Maximets wrote: >> On 30.05.2016 15:00, Tan, Jianfeng wrote: >>> Hi, >>> -Original Message- From: Ilya Maximets [mailto:i.maximets at samsung.com] Sent: Friday, May 20, 2016 8:50 PM To:

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Adrien Mazarguil
On Tue, May 31, 2016 at 10:43:29AM +0800, Tan, Jianfeng wrote: > Hi Oliver, > > > On 5/30/2016 11:26 PM, Olivier Matz wrote: > >Hi, > > > >I'm planning to add the support for offloads in virtio-net pmd. > >It appears that the current rx flags in mbuf are not sufficient to > >describe the state

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-31 Thread SwamZ
Hi Alex et al., I am seeing another case of rx_missed_error. In this case, rx_missed_errors are seen only when I send multiple flows. Rx_missed_errors are NOT seen if I send single flow. Following are the test details: Packet type: Unicast/Mulitcast Packet size : 512Bytes Number of flows: 1000

[dpdk-dev] dpdk pipeline multi app

2016-05-31 Thread Ramin Najjarbashi
hi how we can arrive to this architecture? Every client is different like IPS, Firewall, DPI and else. http://stackoverflow.com/questions/37539194/dpdk-pipeline-multi-app

[dpdk-dev] [PATCH] crypto: fix control issues in aesni pmd

2016-05-31 Thread De Lara Guarch, Pablo
Hi Deepak, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Monday, May 23, 2016 4:47 PM > To: Doherty, Declan > Cc: Jain, Deepak K; dev at dpdk.org > Subject: [dpdk-dev] [PATCH] crypto: fix control issues in aesni pmd > Since this

[dpdk-dev] [PATCH] qat: change optimization flag for Intel QuickAssist Technology

2016-05-31 Thread De Lara Guarch, Pablo
Hi Deepak/Arek, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jain, Deepak K > Sent: Friday, May 13, 2016 9:25 AM > To: Thomas Monjalon; Kusztal, ArkadiuszX > Cc: dev at dpdk.org; Trahe, Fiona; Griffin, John > Subject: Re: [dpdk-dev] [PATCH] qat: change

[dpdk-dev] about rx checksum flags

2016-05-31 Thread Tan, Jianfeng
Hi Oliver, On 5/30/2016 11:26 PM, Olivier Matz wrote: > Hi, > > I'm planning to add the support for offloads in virtio-net pmd. > It appears that the current rx flags in mbuf are not sufficient to > describe the state of a packet received from a virtual driver. > I think we need a way to say

[dpdk-dev] [PATCH v1] change log level for check when add port in blacklist

2016-05-31 Thread xu,huilong
maybe we should change log level, when add port in blacklist,for check it easy. and it not influence performance and function Signed-off-by: xu,huilong --- lib/librte_eal/common/eal_common_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH] app/testpmd: log mbuf pool creation

2016-05-31 Thread Thomas Monjalon
2016-05-31 09:39, Olivier MATZ: > Hi Thomas, > > On 05/30/2016 09:44 PM, Thomas Monjalon wrote: > > 2016-05-30 14:04, Olivier Matz: > >> Enhance the logs related to mbuf pool creation. Display an info level > >> log when creating the mbuf, and display the error as a string on failure. > >> > >>

[dpdk-dev] [dpdk-dev, v5, 3/3] mbuf: get default mempool handler from configuration

2016-05-31 Thread Hunt, David
On 5/23/2016 1:40 PM, Jan Viktorin wrote: > On Thu, 19 May 2016 14:45:01 +0100 > David Hunt wrote: --snip-- >> +mp = rte_mempool_create_empty(name, n, elt_size, cache_size, >> + sizeof(struct rte_pktmbuf_pool_private), socket_id, 0); >> +if (mp == NULL) >> +

[dpdk-dev] [dpdk-dev, v5, 2/3] app/test: test external mempool handler

2016-05-31 Thread Hunt, David
Hi Jan, On 5/23/2016 1:45 PM, Jan Viktorin wrote: > On Thu, 19 May 2016 14:45:00 +0100 > David Hunt wrote: --snip-- >> + * Loop though all the element pointers and allocate a chunk of memory, then > s/though/through/ Fixed. >> +static struct rte_mempool_handler mempool_handler_custom = { >>

[dpdk-dev] [PATCH 5/5] examples/l2fwd-crypto: enable AES counter mode cipher algorithm

2016-05-31 Thread Fan Zhang
This patch enables AES counter mode algorithm support to l2fwd-crypto sample application. Signed-off-by: Fan Zhang --- examples/l2fwd-crypto/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index d18c813..66fc874 100644 ---

[dpdk-dev] [PATCH 4/5] app/test: add crypto AES-CBC-128 HMAC-SHA224 and HMAC-SHA384 unit tests

2016-05-31 Thread Fan Zhang
This patch adds the HMAC-SHA224 and HMAC-SHA384 digest generation and verification tests to crypto Signed-off-by: Fan Zhang --- app/test/test_cryptodev_aes.c | 26 app/test/test_cryptodev_aes.h | 296 ++ 2 files changed, 322 insertions(+) diff

[dpdk-dev] [PATCH 3/5] app/test: utilize new unified crypto AES test function

2016-05-31 Thread Fan Zhang
This patch replaces the AES test code with new unified crypto AES test function. Signed-off-by: Fan Zhang --- app/test/test_cryptodev.c | 1613 ++-- app/test/test_cryptodev_aes_ctr_test_vectors.h | 257 2 files changed, 122 insertions(+), 1748

[dpdk-dev] [PATCH 2/5] app/test: add unified crypto aes test

2016-05-31 Thread Fan Zhang
This patch adds a new crypto AES unified test function. Signed-off-by: Fan Zhang --- app/test/Makefile | 1 + app/test/test_cryptodev_aes.c | 662 ++ app/test/test_cryptodev_aes.h | 6 + 3 files changed, 669 insertions(+) create mode

[dpdk-dev] [PATCH 1/5] app/test: categorize crypto AES test vectors into new file

2016-05-31 Thread Fan Zhang
This patch accumulates crypto AES test vectors into a new header file. Signed-off-by: Fan Zhang --- app/test/test_cryptodev_aes.h | 822 ++ 1 file changed, 822 insertions(+) create mode 100755 app/test/test_cryptodev_aes.h diff --git

[dpdk-dev] [PATCH 0/5] app/test: rework crypto AES unit test

2016-05-31 Thread Fan Zhang
This patchset reworks the crypto AES unit test by introducing a new unified test function. This patchset depends on the following patches: "qat: add AES counter mode capability" (http://dpdk.org/dev/patchwork/patch/12464/) "app/test: add test cases for AES CTR"

[dpdk-dev] [dpdk-dev,v5,1/3] mempool: support external handler

2016-05-31 Thread Hunt, David
Hi Jan, On 5/23/2016 1:35 PM, Jan Viktorin wrote: >> Until now, the objects stored in mempool mempool were internally stored a > s/mempool mempool/mempool/ > > stored _in_ a ring? Fixed. > > @@ -161,7 +161,6 @@ per_lcore_mempool_test(__attribute__((unused)) void *arg) >

[dpdk-dev] [PATCH v3] ip_pipeline: add script file for pipeline to core mappings

2016-05-31 Thread Jasvinder Singh
From: Guruprasad Mukundarao This script parses the application configuration file and detects all the pipelines specified therein, and then, it generates all the possible mappings of those pipelines on the specified CPU core-list. As a result, each of the possible

[dpdk-dev] [PATCHv6 7/7] doc: Add prog_guide section documenting pmdinfo script

2016-05-31 Thread Neil Horman
Information on pmdinfogen may be useful to 3rd party driver developers. Include documentation on what it does Signed-off-by: Neil Horman CC: Bruce Richardson CC: Thomas Monjalon CC: Stephen Hemminger CC: Panu Matilainen --- doc/guides/prog_guide/dev_kit_build_system.rst | 43

[dpdk-dev] [PATCHv6 6/7] remove rte.hostapp.mk

2016-05-31 Thread Neil Horman
During the review of this patchset it was discovered that rte.hostapp.mk was going unused. All its users had been previously removed, and so this file too can go. It and rte.buildtools.mk are effectively duplicates, but given that pmdinfogen is a tool used to create the dpdk build, I think the

[dpdk-dev] [PATCHv6 5/7] pmdinfo.py: Add tool to query binaries for hw and other support information

2016-05-31 Thread Neil Horman
This tool searches for the primer sting PMD_DRIVER_INFO= in any ELF binary, and, if found parses the remainder of the string as a json encoded string, outputting the results in either a human readable or raw, script parseable format Note that, in the case of dynamically linked applications,

[dpdk-dev] [PATCHv6 4/7] Makefile: Do post processing on objects that register a driver

2016-05-31 Thread Neil Horman
Modify the compilation makefile to identify C files that export PMD information, and use that to trigger execution of the pmdinfo binary. If the execution of pmdinfo is successful, compile the output C file to an object, and use the linker to do relocatable linking on the resultant object file

[dpdk-dev] [PATCHv6 3/7] eal: Add an export symbol to expose the autoload path to external tools

2016-05-31 Thread Neil Horman
Export a symbol containing the string: DPDK_PLUGIN_PATH="$(CONFIG_RTE_EAL_PMD_PATH)" Where the latter half of the string is set at build time to a location from which autoloaded DSO's will be found. This string is used by pmdinfo in 'plugin' mode, whereby a user can specify a dpdk installation

[dpdk-dev] [PATCHv6 2/7] drivers: Update driver registration macro usage

2016-05-31 Thread Neil Horman
Modify the PMD_REGISTER_DRIVER macro, adding a name argument to it. The addition of a name argument creates a token that can be used for subsequent macros in the creation of unique symbol names to export additional bits of information for use by the pmdinfogen tool. For example:

[dpdk-dev] [PATCHv6 1/7] pmdinfogen: Add buildtools and pmdinfogen utility

2016-05-31 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

[dpdk-dev] [PATCHv6 0/7] Implement pmd hardware support exports

2016-05-31 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] [PATCH v2 02/20] thunderx/nicvf: add pmd skeleton

2016-05-31 Thread Stephen Hemminger
On Sun, 29 May 2016 22:16:46 +0530 Jerin Jacob wrote: > + > +static struct itimerspec alarm_time = { > + .it_interval = { > + .tv_sec = 0, > + .tv_nsec = NICVF_INTR_POLL_INTERVAL_MS * 100, > + }, > + .it_value = { > + .tv_sec = 0, > +

[dpdk-dev] [PATCH] app/testpmd: log mbuf pool creation

2016-05-31 Thread Olivier MATZ
Hi Thomas, On 05/30/2016 09:44 PM, Thomas Monjalon wrote: > 2016-05-30 14:04, Olivier Matz: >> Enhance the logs related to mbuf pool creation. Display an info level >> log when creating the mbuf, and display the error as a string on failure. >> >> After the patch, we have: >> >> [...] >> EAL:

[dpdk-dev] about memzone name size issue

2016-05-31 Thread Xu, HuilongX
Hi all, I find a issue on link_bonding unit test case. When I run model6 test case, will generate core dump error. I debug it, find the error code in function: rte_mempool_create_empty(const char *name, unsigned n, unsigned elt_size, unsigned cache_size, unsigned

[dpdk-dev] [PATCH 1/2] ixgbe: VF supports mailbox interruption for PF link up/down

2016-05-31 Thread Lu, Wenzhuo
Hi Jingjing, Thanks for the comments. Please see inline. > -Original Message- > From: Wu, Jingjing > Sent: Friday, May 27, 2016 4:31 PM > To: Lu, Wenzhuo; dev at dpdk.org > Cc: Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH 1/2] ixgbe: VF supports mailbox interruption > for > PF link

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Jianbo Liu
Change the inline function to macro with parameters Signed-off-by: Jianbo Liu --- drivers/net/fm10k/fm10k_rxtx_vec.c | 8 drivers/net/i40e/i40e_rxtx_vec.c| 8 drivers/net/ixgbe/ixgbe_rxtx_vec.c | 8 drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 12

[dpdk-dev] [PATCH v5] eal: fix allocating all free hugepages

2016-05-31 Thread Jianfeng Tan
EAL memory init allocates all free hugepages of the whole system, which seen from sysfs, even when applications do not ask so many. When there is a limitation on how many hugepages an application can use (such as cgroup.hugetlb), or hugetlbfs is specified with an option of size (exceeding the

[dpdk-dev] [PATCH v8 0/3] i40e: Add floating VEB support for i40e

2016-05-31 Thread Wu, Jingjing
> -Original Message- > From: Tao, Zhe > Sent: Wednesday, May 25, 2016 1:28 AM > To: dev at dpdk.org > Cc: Tao, Zhe ; Wu, Jingjing > Subject: [PATCH v8 0/3] i40e: Add floating VEB support for i40e > > This patch-set add the support for floating VEB in i40e. > All the VFs VSIs can decide

[dpdk-dev] [PATCH v1] change log level for check when add port in blacklist

2016-05-31 Thread Thomas Monjalon
2016-05-31 10:40, xu, huilong: > maybe we should change log level, when add port in blacklist,for check it > easy. > and it not influence performance and function Please, could you show an example of the device init logs at INFO level before and after this patch? Thanks

[dpdk-dev] rte_pmd_init_all is missing while upgrading from DPDK 1.6 to DPDK 1.7

2016-05-31 Thread shiva m
Hi, Thank you very much for your replies. I removed this API, I also see rte_eal_pci_set_blacklist() is no more available with DPDK 1.7.1, I am using rte_eal_devargs_add(). Any document mentioning changes from DPDK-1.6 to DPDK-1.7? Thanks, Shiva On Tue, May 24, 2016 at 11:32 AM, Wiles, Keith