[dpdk-dev] is ixgbe supporting multi-segment mbuf?

2016-03-29 Thread Lu, Wenzhuo
Hi Clarylin, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Clarylin L > Sent: Tuesday, March 29, 2016 4:24 AM > To: dev at dpdk.org > Subject: [dpdk-dev] is ixgbe supporting multi-segment mbuf? > > ixgbe_recv_scattered_pkts was set to be the rx function

[dpdk-dev] e1000: randomly loosing link change events triggered by the peer

2016-03-29 Thread Lu, Wenzhuo
Hi Marc, From: marc.sune at gmail.com [mailto:marc.s...@gmail.com] On Behalf Of Marc Sent: Monday, March 28, 2016 7:03 PM To: Lu, Wenzhuo Cc: dev at dpdk.org Subject: Re: e1000: randomly loosing link change events triggered by the peer On 28 March 2016 at 03:54, Lu, Wenzhuo mailto:wenzhuo.lu at

[dpdk-dev] librte_pmd_ixgbe implementation of ixgbe_dev_rx_queue_count

2016-03-29 Thread Lu, Wenzhuo
Hi Mohammad, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mohammad El-Shabani > Sent: Tuesday, March 29, 2016 9:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] librte_pmd_ixgbe implementation of > ixgbe_dev_rx_queue_count > > Hi, > Looking into why it

[dpdk-dev] is ixgbe supporting multi-segment mbuf?

2016-03-29 Thread Lu, Wenzhuo
Hi Clarylin, > -Original Message- > From: Clearasu [mailto:clearasu at gmail.com] > Sent: Tuesday, March 29, 2016 9:38 AM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] is ixgbe supporting multi-segment mbuf? > > Hi Wenzhuo, > > Thanks. For some reason, we have to sti

[dpdk-dev] [PATCH] librte_ether: fix comments for filters

2016-03-29 Thread Jingjing Wu
This patch fixes comments for tunnel filters and flow director flows. e.g. states fields which are in big endian. Fixes: 7b1312891b69 (ethdev: add IP in GRE tunnel) Fixes: d69be32d4d78 (ethdev: structures to add or delete flow director) Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctr

[dpdk-dev] [PATCH] maintainers: claim responsibility for Intel i40e PMD

2016-03-29 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e848ffa..498bf4e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -300,8 +300,10 @@ F: doc/guides/nics/intel_vf.rst Intel i40e M: Helin Zhang +M: Jingjing Wu F: driv

[dpdk-dev] [PATCH] maintainers: claim responsibility for Intel i40e PMD

2016-03-29 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Tuesday, March 29, 2016 11:22 AM > To: dev at dpdk.org > Cc: Wu, Jingjing ; Zhang, Helin intel.com> > Subject: [PATCH] maintainers: claim responsibility for Intel i40e PMD > > Signed-off-by: Jingjing Wu Acked-by: Helin Zhang

[dpdk-dev] [PATCH v13 6/8] ethdev: redesign link speed config

2016-03-29 Thread Xing, Beilei
> -Original Message- > From: Marc Sune [mailto:marcdevel at gmail.com] > Sent: Saturday, March 26, 2016 9:27 AM > To: Thomas Monjalon ; Xu, Qian Q > ; Xing, Beilei ; dev at > dpdk.org; > Ananyev, Konstantin ; Lu, Wenzhuo > ; Richardson, Bruce ; > Glynn, Michael J > Cc: Marc Sune > Subj

[dpdk-dev] [PATCH] nfp: copy pci info from pci to ethdev

2016-03-29 Thread Alejandro Lucero
Hi guys, Sorry for the delay but I was on a Easter break. That patch is OK for me. In fact, I had one patch ready for upstreaming with this change needed for supporting hotplug. I was waiting for some feedback from one internal project needing this hotplug functionality before submitting. Regard

[dpdk-dev] Updating bnx2x firmware

2016-03-29 Thread Christian Ehrhardt
Hi Thiago and Harish, Ubuntus linux-firmware package has the latest versions of mid and end of 2015 (no newer yet as of today). And as Harish pointed out any older will likely be untested/unsupported. I like that you want to stick to the packaged content and I think your FW in the linux-firmware p

[dpdk-dev] [PATCH v2] ring: check for zero objects mc dequeue / mp enqueue

2016-03-29 Thread Bruce Richardson
On Mon, Mar 28, 2016 at 06:48:07PM +0300, Lazaros Koromilas wrote: > Hi Olivier, > > We could have two threads (running on different cores in the general > case) that both succeed the cmpset operation. In the dequeue path, > when n == 0, then cons_next == cons_head, and cmpset will always > succee

[dpdk-dev] Unable to get multi-segment mbuf working for ixgbe

2016-03-29 Thread Bruce Richardson
On Mon, Mar 28, 2016 at 10:05:40AM -0700, Clarylin L wrote: > Any pointers to what the issue could be? thanks > > On Fri, Mar 25, 2016 at 4:13 PM, Clarylin L wrote: > > > Hello, > > > > I am trying to use multi-segment mbuf to receive large packet. I enabled > > jumbo_frame and enable_scatter fo

[dpdk-dev] librte_pmd_ixgbe implementation of ixgbe_dev_rx_queue_count

2016-03-29 Thread Bruce Richardson
On Mon, Mar 28, 2016 at 06:45:26PM -0700, Mohammad El-Shabani wrote: > Hi, > Looking into why it hurts performance, I see that ixgbe_dev_rx_queue_count > is implemented a scan of elements of rx descriptors, which is very > expensive. I am wondering why its implemented the way it is. Could it not >

[dpdk-dev] [PATCH 0/2] Out of place operations for symmetric crypto

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal This patch adds out of place operations for qat symmetric crypto operations. Arek Kusztal (2): driver/crypto: out-of-place symmetric operations app/test: added test for out-of-place symmetric operations app/test/test_cryptodev.c | 495 +

[dpdk-dev] [PATCH 1/2] driver/crypto: out-of-place symmetric operations

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal Driver now support out of place crypto operations, driver assumes both buffers can be of different size. Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/qat.rst |1 - drivers/crypto/qat/qat_crypto.c | 22 +- 2 files changed, 13 insertions(+)

[dpdk-dev] [PATCH 2/2] app/test: added test for out-of-place symmetric operations

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal Added AES and snow3g Authenticated encryption and decryption tests Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 495 - 1 files changed, 491 insertions(+), 4 deletions(-) diff --git a/app/test/test_cryptodev.c b/app

[dpdk-dev] is ixgbe supporting multi-segment mbuf?

2016-03-29 Thread Ananyev, Konstantin
Hi, yep, it should be supported in dpdk 2.0. Did you setup rxmode.max_rx_pkt_len inside your rte_eth_conf? You need to setup both max_rx_pkt_len and jumbo_frame. You can have a look how dpdk examples doing it. Konstantin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On

[dpdk-dev] [RFC 0/6] Flattened Device Tree access from DPDK

2016-03-29 Thread Jan Viktorin
On Mon, 28 Mar 2016 10:43:00 +0800 Jianbo Liu wrote: > On 26 March 2016 at 09:12, Jan Viktorin wrote: > > Hello, > > > > while extending the DPDK by a kind of platform devices (for the 16.07), an > > access to the FDT might be necessary (or at least very helpful). This patch > > series for 16.07

[dpdk-dev] [PATCH v2 0/2] New RSS offload flags

2016-03-29 Thread Jerin Jacob
v1..v2 - Added cover letter - Corrected typo in RET_ETH_FLOW_VXLAN name - Updated test-pmd application to access newly defined RSS offload flags Jerin Jacob (2): ethdev: add tunnel and port RSS offload types ethdev: add ETH_RSS_RETA_SIZE_256 app/test-pmd/cmdline.c | 18 +

[dpdk-dev] [PATCH v2 1/2] ethdev: add tunnel and port RSS offload types

2016-03-29 Thread Jerin Jacob
- added VXLAN, GENEVE and NVGRE tunnel flow types - added PORT flow type for accounting physical/virtual port or channel number in flow creation Signed-off-by: Jerin Jacob --- app/test-pmd/cmdline.c | 18 +++--- app/test-pmd/config.c | 9 + lib/librte_ethe

[dpdk-dev] [PATCH v2 2/2] ethdev: add ETH_RSS_RETA_SIZE_256

2016-03-29 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- lib/librte_ether/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index a4eeeba..d93f85a 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -470,6 +470,7 @@

[dpdk-dev] [PATCH v2 1/2] ethdev: add tunnel and port RSS offload types

2016-03-29 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > Sent: Tuesday, March 29, 2016 12:20 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Richardson, Bruce > ; Jerin Jacob caviumnetworks.com> > Subject: [dpdk-dev] [PATCH v2 1/2] ethdev: a

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Mohan Prasad
Hi, Is there any option to receive single packet at a time with dpdk? Thanks, Mohan

[dpdk-dev] [PATCH v2 1/2] ethdev: add tunnel and port RSS offload types

2016-03-29 Thread De Lara Guarch, Pablo
Hi Jerin, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > Sent: Tuesday, March 29, 2016 12:20 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Richardson, Bruce; Jerin Jacob > Subject: [dpdk-dev] [PATCH v2 1/2] ethdev: add tunnel and

[dpdk-dev] [PATCH 1/2] driver/crypto: out-of-place symmetric operations

2016-03-29 Thread Thomas Monjalon
2016-03-29 10:39, Fiona Trahe: > From: Arek Kusztal > > Driver now support out of place crypto operations, > driver assumes both buffers can be of different size. Please, could you explain what exactly means "out of place" operations?

[dpdk-dev] [PATCH 1/2] driver/crypto: out-of-place symmetric operations

2016-03-29 Thread Jain, Deepak K
Hi, "Out-of-place" operation means the result of the operation will be written to the destination buffer instead of overwriting the source buffer as done in "in-place" operation. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon Sent: Tuesday, Marc

[dpdk-dev] [PATCH 0/2] Fix multiple build errors for Amazon ENA driver

2016-03-29 Thread Daniel Mrzyglod
First patch cover multiple error for ICC. a. mixed enum with other types b. variable is used uninitialized Patches for FreeBSD: a. Target was not setup b. ETIME is not avaliable in FreeBSD Daniel Mrzyglod (2): ena: icc fix compilation errors ena: Fix Compilati

[dpdk-dev] [PATCH 1/2] ena: icc fix compilation errors

2016-03-29 Thread Daniel Mrzyglod
Fix for multiple compilation errors for ICC error #188: enumerated type mixed with another type error #592: variable "flags" is used before its value is set In file included from /mnt/shared/dtmrzglx/hubabuba-ena/drivers/net/ena/ena_ethdev.h(39), from /mnt/shared/dtmrzglx/hubabu

[dpdk-dev] [PATCH 2/2] ena: Fix Compilation for freebsd

2016-03-29 Thread Daniel Mrzyglod
FreeBSD was not defined in ena_plat.h ETIME is not defined in FreeBSD. In file included from DPDK/drivers/net/ena/base/ena_com.h:37:0, from DPDK/drivers/net/ena/ena_ethdev.h:39, from DPDK/drivers/net/ena/ena_ethdev.c:41: DPDK/drivers/net/ena/base/ena_plat.h:48:2:

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Wiles, Keith
>Hi, > >Is there any option to receive single packet at a time with dpdk? Not sure if this is the answer you are looking for, but if you just request a single packet with struct rte_mbuf *mbuf; rte_eth_rx_burst(port_id, queue_id, &mbuf, 1); will return only one packet as a time. > >Thanks, >Moh

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Mohan Prasad
Hi, I have tried this and it does not work Thanks, Mohan On Mar 29, 2016 6:26 PM, "Wiles, Keith" wrote: > >Hi, > > > >Is there any option to receive single packet at a time with dpdk? > > Not sure if this is the answer you are looking for, but if you just > request a single packet with > > stru

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Wiles, Keith
From: Mohan Prasad Date: Tuesday, March 29, 2016 at 8:01 AM To: Keith Wiles Cc: "dev at dpdk.org" Subject: Re: [dpdk-dev] DPDK: receive single packet at a time >Hi, >I have tried this and it does not work Then something else is wrong as this work in Pktgen-DPDK, I can send one packet an

[dpdk-dev] [PATCH 2/2] ena: Fix Compilation for freebsd

2016-03-29 Thread Bruce Richardson
On Tue, Mar 29, 2016 at 02:43:54PM +0200, Daniel Mrzyglod wrote: > FreeBSD was not defined in ena_plat.h > ETIME is not defined in FreeBSD. > > In file included from DPDK/drivers/net/ena/base/ena_com.h:37:0, > from DPDK/drivers/net/ena/ena_ethdev.h:39, > from DPDK

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Bruce Richardson
On Tue, Mar 29, 2016 at 06:31:58PM +0530, Mohan Prasad wrote: > Hi, > > I have tried this and it does not work > What type of NIC are you using. If you are using ixgbe or i40e, try disabling the vector PMD in your build-time configuration to see if it makes a difference. However, why do you wan

[dpdk-dev] DPDK: receive single packet at a time

2016-03-29 Thread Mohan Prasad
Even I am using "82599ES 10-Gigabit SFI/SFP+ Network Connection" card only. I am able to send single packet but not able to receive single packets, I can receive burst only. I am just building an application for tcp connection on dpdk. Anyways will try disabling vector PMD and give it a try Than

[dpdk-dev] [PATCH v13 5/8] ethdev: add speed capabilities

2016-03-29 Thread Alejandro Lucero
For nfp.c, speed_capa should be ETH_LINK_SPEED_40G instead of ETH_LINK_SPEED_50G. By the way, the change in patch 4 sets the right link speed using the new constants. Regards On Sat, Mar 26, 2016 at 1:27 AM, Marc Sune wrote: > The speed capabilities of a device can be retrieved with > rte_eth_d

[dpdk-dev] Issue with binding NIC of type 82545EM to dpdk

2016-03-29 Thread Al Patel
Hi, I am having an issue with binding a nic of type 82545EM to dpdk. I am using a fedoracore23 VM on MAC with VMFusion. ./dpdk_nic_bind.py -b uio_pci_generic :02:02.0 Error: bind failed for :02:02.0 - Cannot bind to driver uio_pci_generic Error: unbind failed for :02:02.0 - Cannot ope

[dpdk-dev] [PATCH v2 0/2] Out of place operations for symmetric crypto

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal This patch adds out of place operations for qat symmetric crypto PMD, i.e. the result of the operation can be written to the destination buffer instead of overwriting the source buffer as done in "in-place" operation. v2: - updated commit message to clarify out-of-place mean

[dpdk-dev] [PATCH v2 1/2] driver/crypto: out-of-place symmetric operations

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal This patch adds out-of-place operations to qat symmetric crypto PMD, i.e. the result of the operation can be written to the destination buffer instead of overwriting the source buffer as done in "in-place" operation. Both buffers can be of different sizes. Previously the qat PM

[dpdk-dev] [PATCH v2 2/2] app/test: added test for out-of-place symmetric operations

2016-03-29 Thread Fiona Trahe
From: Arek Kusztal Added AES and snow3g Authenticated encryption and decryption tests for out-of-place operations. Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 495 - 1 files changed, 491 insertions(+), 4 deletions(-) diff --git a/a

[dpdk-dev] [PATCH v2] ring: check for zero objects mc dequeue / mp enqueue

2016-03-29 Thread Olivier MATZ
Hi, On 03/29/2016 10:54 AM, Bruce Richardson wrote: > On Mon, Mar 28, 2016 at 06:48:07PM +0300, Lazaros Koromilas wrote: >> Hi Olivier, >> >> We could have two threads (running on different cores in the general >> case) that both succeed the cmpset operation. In the dequeue path, >> when n == 0,

[dpdk-dev] [PATCH] hash: fix typo in Doxygen comment

2016-03-29 Thread Bruce Richardson
On Thu, Mar 24, 2016 at 02:27:46PM +, Pablo de Lara wrote: > rte_hash_set_cmp_func() had an incorrect Doxygen comment > for one of its parameters. > > Fixes: 95da2f8e9c61 ("hash: customize compare function") > > Signed-off-by: Pablo de Lara > --- > lib/librte_hash/rte_hash.h | 2 +- > 1 fil

[dpdk-dev] [PATCH v2] ring: check for zero objects mc dequeue / mp enqueue

2016-03-29 Thread Bruce Richardson
On Tue, Mar 29, 2016 at 05:29:12PM +0200, Olivier MATZ wrote: > Hi, > > > On 03/29/2016 10:54 AM, Bruce Richardson wrote: > >On Mon, Mar 28, 2016 at 06:48:07PM +0300, Lazaros Koromilas wrote: > >>Hi Olivier, > >> > >>We could have two threads (running on different cores in the general > >>case) t

[dpdk-dev] [PATCH 0/8] simpler and better build test

2016-03-29 Thread Thomas Monjalon
These are some improvements to the script test-build.sh which makes compilation testing easier in various environments with different dependencies. Thomas Monjalon (8): scripts: fix run in any directory scripts: remove legacy build method test scripts: test build of performance-thread exampl

[dpdk-dev] [PATCH 1/8] scripts: fix run in any directory

2016-03-29 Thread Thomas Monjalon
The path to load-devel-config.sh must be relative to the script. Signed-off-by: Thomas Monjalon --- scripts/checkpatches.sh | 2 +- scripts/test-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh index fcb24fd..5c58

[dpdk-dev] [PATCH 2/8] scripts: remove legacy build method test

2016-03-29 Thread Thomas Monjalon
Building with "make install T=" is now deprecated. The script will test only the standard "make" command. Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/test-build.sh b/scripts/test

[dpdk-dev] [PATCH 3/8] scripts: test build of performance-thread example

2016-03-29 Thread Thomas Monjalon
This example is not part of the baseline because of its experimental state. That's why it must be tested separately. Fixes: b700090c8cec ("examples/performance-thread: mark as experimental") Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 4 1 file changed, 4 insertions(+) diff

[dpdk-dev] [PATCH 4/8] scripts: stop build test after first error

2016-03-29 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index ffad7ee..ffa7bea 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -64,6 +64,7 @@ print_help () { J=

[dpdk-dev] [PATCH 5/8] scripts: allow tuning build options per test target

2016-03-29 Thread Thomas Monjalon
The global variables are reloaded between each build to allow having different config options based on DPDK_TARGET. Some checks can now be removed from the script as they can be done in the devel config file. Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 34

[dpdk-dev] [PATCH 6/8] scripts: allow tuning any test build option

2016-03-29 Thread Thomas Monjalon
Any build option can be enabled or disabled by appending the end of its name to the config name. Examples: +INTRINSICS to enable CONFIG_RTE_FORCE_INTRINSICS ~RXTX_CALLBACKS to disable CONFIG_RTE_ETHDEV_RXTX_CALLBACKS These builtin (lowercase) options are also added for convenience:

[dpdk-dev] [PATCH 7/8] scripts: hook build test config

2016-03-29 Thread Thomas Monjalon
Insert a hook at the end of the config procedure, after having adapted the configuration to the environment variables and the options passed to the script. It allows to better tune the automatic configuration of the build tests in a function located in the devel config file. Signed-off-by: Thomas

[dpdk-dev] [PATCH 8/8] scripts: add verbose test build option

2016-03-29 Thread Thomas Monjalon
The option -v enables the verbose mode when testing a build. Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 808e8e4..a486244 100755 --- a/scripts/test-buil

[dpdk-dev] Issue with binding NIC of type 82545EM to dpdk

2016-03-29 Thread Ferruh Yigit
On 3/29/2016 3:11 PM, Al Patel wrote: > Hi, > > I am having an issue with binding a nic of type 82545EM to dpdk. I am using > a > fedoracore23 VM on MAC with VMFusion. > > ./dpdk_nic_bind.py -b uio_pci_generic :02:02.0 > Error: bind failed for :02:02.0 - Cannot bind to driver uio_pci_gene

[dpdk-dev] librte_pmd_ixgbe implementation of ixgbe_dev_rx_queue_count

2016-03-29 Thread Stephen Hemminger
On Tue, 29 Mar 2016 10:31:19 +0100 Bruce Richardson wrote: > On Mon, Mar 28, 2016 at 06:45:26PM -0700, Mohammad El-Shabani wrote: > > Hi, > > Looking into why it hurts performance, I see that ixgbe_dev_rx_queue_count > > is implemented a scan of elements of rx descriptors, which is very > > expen

[dpdk-dev] Issue with binding NIC of type 82545EM to dpdk

2016-03-29 Thread Al Patel
Ferruh, On my fedora23, I don't have igb_uio # modprobe igb_uio modprobe: FATAL: Module igb_uio not found in directory /lib/modules/4.4.6-300.fc23.x86_64 I am trying to bind to uio_pci_generic module thx -a On Tue, Mar 29, 2016 at 12:26 PM, Ferruh Yigit wrote: > On 3/29/2016 3:11 PM, Al Pat

[dpdk-dev] [PATCH] qat: Fix for crash when nb_ops=0 on enqueue_burst

2016-03-29 Thread Fiona Trahe
Crash seen in qat pmd when nb_ops=0 on rte_cryptodev_enqueue_burst() API Signed-off-by: Fiona Trahe --- drivers/crypto/qat/qat_crypto.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c index 5c41a89..90b5

[dpdk-dev] [PATCH v2] ring: check for zero objects mc dequeue / mp enqueue

2016-03-29 Thread Lazaros Koromilas
On Tue, Mar 29, 2016 at 7:04 PM, Bruce Richardson wrote: > > On Tue, Mar 29, 2016 at 05:29:12PM +0200, Olivier MATZ wrote: > > Hi, > > > > > > On 03/29/2016 10:54 AM, Bruce Richardson wrote: > > >On Mon, Mar 28, 2016 at 06:48:07PM +0300, Lazaros Koromilas wrote: > > >>Hi Olivier, > > >> > > >>We c

[dpdk-dev] [PATCH v2] hash: fix typo in Doxygen comment

2016-03-29 Thread Pablo de Lara
rte_hash_set_cmp_func() had an incorrect Doxygen comment for one of its parameters. Fixes: 95da2f8e9c61 ("hash: customize compare function") Signed-off-by: Pablo de Lara --- Changes in v2: - Reworded Doxygen comment lib/librte_hash/rte_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[dpdk-dev] [PATCH] dpdk_qat: fix error message in Makefile

2016-03-29 Thread Pablo de Lara
When compiling dpdk_qat app with an i686 target on a x86_64 OS, an error message was shown, saying that it can only be built on a 32-bit OS, which should be i686 OS, as other 32-bit OS are not supported. Fixes: commit 3460012bcce6 ("examples/qat: update") Signed-off-by: Pablo de Lara --- exampl

[dpdk-dev] [PATCH v3 00/10] qede: Add qede PMD

2016-03-29 Thread Rasesh Mody
Hi Bruce, > From: Bruce Richardson [mailto:bruce.richardson at intel.com] > Sent: Tuesday, March 22, 2016 4:30 AM > > On Tue, Mar 22, 2016 at 11:21:25AM +, Richardson, Bruce wrote: > > I've had a quick scan over this patchset, and as you've probably seen I've > made some public comments on it

[dpdk-dev] [PATCH] scripts: check commit formatting

2016-03-29 Thread Thomas Monjalon
The git messages have three parts: 1/ the headline 2/ the explanations 3/ the footer tags The headline helps to quickly browse an history or catch instantly the purpose of a commit. Making it short with some consistent wording allows to easily parse it or match some patterns. The explanations mus

[dpdk-dev] Question on examples/multi_process app

2016-03-29 Thread Harish Patil
> > > >Hi Harish, > >> >> > >> >> >> -Original Message- >> >> >> From: Richardson, Bruce >> >> >> Sent: Wednesday, March 23, 2016 11:45 AM >> >> >> To: Ananyev, Konstantin >> >> >> Cc: Harish Patil; dev at dpdk.org >> >> >> Subject: Re: [dpdk-dev] Question on examples/multi_process app >> >

[dpdk-dev] [PATCH v4 00/10] qede: Add qede PMD

2016-03-29 Thread Rasesh Mody
Hi Bruce, Thomas, The v4 series of QEDE PMD patches addresses all the comments received. Patches are generated and tested against latest dpdk-next-net. Compile tested on Linux and FreeBSD using gcc and clang compilers on x86i_64 and gcc on i586. - Linux: i686 gcc version

[dpdk-dev] [PATCH v4 01/10] qede: Add maintainers

2016-03-29 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c7e9fe4..2dbd716 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -357,6 +357,13 @@ M: Declan Doherty F:

[dpdk-dev] [PATCH v4 02/10] qede: Add documentation

2016-03-29 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- doc/guides/nics/index.rst|1 + doc/guides/nics/overview.rst | 78 +- doc/guides/nics/qede.rst | 340 ++ 3 files changed, 380 insertions(+), 39 del

[dpdk-dev] [PATCH v4 03/10] qede: Add license file

2016-03-29 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- drivers/net/qede/LICENSE.qede_pmd | 28 1 file changed, 28 insertions(+) create mode 100644 drivers/net/qede/LICENSE.qede_pmd diff --git a/drivers/net/qede/LICENSE.qede_pmd b/

[dpdk-dev] [PATCH v4 05/10] qede: Add core driver

2016-03-29 Thread Rasesh Mody
The Qlogic Everest Driver for Ethernet(QEDE) Poll Mode Driver(PMD) is the DPDK specific module for QLogic FastLinQ QL4 25G/40G CNA family of adapters as well as their virtual functions (VF) in SR-IOV context. This patch adds QEDE PMD, which interacts with base driver and initialises the HW. T

[dpdk-dev] [PATCH v4 06/10] qede: Add L2 support

2016-03-29 Thread Rasesh Mody
This patch adds the features to supports configuration of various Layer 2 elements, such as channels and filtering options. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- drivers/net/qede/Makefile|2 + drivers/net/qede/base/ecore_chain.h

[dpdk-dev] [PATCH v4 07/10] qede: Add SRIOV support

2016-03-29 Thread Rasesh Mody
This patch adds following SRIOV features to qede PMD: - VF configuration - VF intialization/de-initialization - VF PF communications channel - statistics capture and query Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- drivers/net/qede/Makefile

[dpdk-dev] [PATCH v4 09/10] qede: Add DCBX support

2016-03-29 Thread Rasesh Mody
This patch adds LLDP and DCBX capabilities to the qede PMD. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- drivers/net/qede/Makefile |1 + drivers/net/qede/base/bcm_osal.h |1 + drivers/net/qede/base/ecore.h |

[dpdk-dev] [PATCH v4 10/10] qede: Enable PMD build

2016-03-29 Thread Rasesh Mody
This patch enables the QEDE PMD build. Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody Signed-off-by: Sony Chacko --- config/common_base | 14 ++ drivers/net/Makefile|1 + mk/rte.app.mk |2 ++ scripts/checkpatches.sh |1 + scripts/test-build.

[dpdk-dev] [PATCH v4 04/10] qede: Add base driver

2016-03-29 Thread Rasesh Mody
The base driver is the backend module for the QLogic FastLinQ QL4 25G/40G CNA family of adapters as well as their virtual functions (VF) in SR-IOV context. The purpose of the base module is to: - provide all the common code that will be shared between the various drivers that would be used

[dpdk-dev] [PATCH v4 08/10] qede: Add attention support

2016-03-29 Thread Rasesh Mody
Physical link is handled by the management Firmware. This patch lays the infrastructure for attention handling in the driver, as link change notifications arrive via async attentions, as well as the handling of such notifications. It adds async event notification handler interfaces to the PMD. Sig