[dpdk-dev] [PATCH v4] pmd/snow3g: add new SNOW 3G SW PMD

2016-03-10 Thread Thomas Monjalon
2016-03-10 16:33, Pablo de Lara: > +SNOW 3G PMD > +M: Pablo de Lara > +F: drivers/crypto/snow3g Missing doc reference: F: doc/guides/cryptodevs/snow3g.rst > +To build DPDK with the SNOW3G_PMD the user is required to get > +the export controlled libsso library, sending a request to >

[dpdk-dev] [PATCH v2 02/10] qede: add documentation

2016-03-10 Thread Rasesh Mody
Hi Thomas, > From: Harish Patil > Sent: Thursday, March 10, 2016 9:18 AM > > > >2016-03-10 05:45, Rasesh Mody: > >> doc/guides/nics/index.rst |1 + > >> doc/guides/nics/qede.rst | 340 > >>+ > >> 2 files changed, 341 insertions(+) > > > >It would

[dpdk-dev] [PATCH v2 0/7] Assorted fixes for mlx4 and mlx5

2016-03-10 Thread Bruce Richardson
On Thu, Mar 03, 2016 at 03:27:33PM +0100, Adrien Mazarguil wrote: > This patchset addresses several minor issues, release notes are updated > accordingly. > > Note: should be applied after "Performance optimizations for mlx5 and mlx4". > > Changes in v2: > - None, submitted again due to

[dpdk-dev] [PATCH] e1000: fix setting of VF MAC address

2016-03-10 Thread Bruce Richardson
On Fri, Mar 04, 2016 at 01:16:51AM +, Lu, Wenzhuo wrote: > Hi, > > > > > Signed-off-by: Bernard Iremonger > Acked-by: Wenzhuo Lu > Applied to dpdk-next-net/rel_16_04 /Bruce

[dpdk-dev] [PATCH v4 0/3] Snow3G support for Intel Quick Assist Devices

2016-03-10 Thread Thomas Monjalon
> > Deepak Kumar JAIN (3): > > crypto: add cipher/auth only support > > qat: add support for Snow3G > > app/test: add Snow3G tests > > Series-acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH] enic: fix dma addr of outgoing packets

2016-03-10 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 09:32:58PM +, Bruce Richardson wrote: > On Thu, Feb 25, 2016 at 12:06:15AM +0100, Yoann Desmouceaux wrote: > > The enic PMD driver send function uses a constant offset instead > > of relying on the data_off in the mbuf to find the start of the packet. > > > >

[dpdk-dev] [PATCH] enic: fix dma addr of outgoing packets

2016-03-10 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 12:06:15AM +0100, Yoann Desmouceaux wrote: > The enic PMD driver send function uses a constant offset instead > of relying on the data_off in the mbuf to find the start of the packet. > > Signed-off-by: Yoann Desmouceaux > --- > drivers/net/enic/enic_main.c | 2 +- > 1

[dpdk-dev] [PATCH v3] cryptodev: add capabilities discovery mechanism

2016-03-10 Thread Trahe, Fiona
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Thursday, March 10, 2016 7:55 PM > To: dev at dpdk.org > Cc: Doherty, Declan; Trahe, Fiona; De Lara Guarch, Pablo > Subject: [PATCH v3] cryptodev: add capabilities discovery mechanism > > From: Declan Doherty > > This patch

[dpdk-dev] [PATCH] app/test: fix qat autotest failure

2016-03-10 Thread Thomas Monjalon
> > This patch fix the QAT autotest failure when run for multiple times. > > it was caused as mbuf was not freed. > > > > Fixes: 202d375c60b (app/test: add cryptodev unit and performance tests) > > > > This patch depends on following patch: > > cryptodev API changes > >

[dpdk-dev] [PATCH, v2] mempool: avoid memory waste with large pagesize

2016-03-10 Thread Stephen Hemminger
On Thu, 10 Mar 2016 12:12:12 +0100 Olivier MATZ wrote: > >> It still does not work. When CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=y: > >> > >> mp = rte_mempool_create("test", 128, > >>64, 0, 0, NULL, NULL, NULL, NULL, SOCKET_ID_ANY, 0); > >> rte_mempool_dump(stdout, mp); > >> > >>

[dpdk-dev] [PATCH] snow3g: Bit-wise handling for Wireless Algorithm

2016-03-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jain, Deepak K > Sent: Thursday, March 10, 2016 5:44 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [PATCH] snow3g: Bit-wise handling for Wireless Algorithm > > Wireless algorithms like Snow3G needs input in bits. > In this

[dpdk-dev] [PATCH v3] cryptodev: add capabilities discovery mechanism

2016-03-10 Thread Pablo de Lara
From: Declan Doherty This patch add a mechanism for discovery of crypto device features and supported crypto operations and algorithms. It also provides a method for a crypto PMD to publish any data range limitations it may have for the operations and algorithms it

[dpdk-dev] [PATCH] cryptodev: fix RTE_PMD_DEBUG_TRACE redefinition

2016-03-10 Thread Thomas Monjalon
2016-03-03 00:34, Marc Sune: > RTE_PMD_DEBUG_TRACE used RTE_FUNC_PTR_OR_ERR_RET was redefined > in rte_cryptodev_pmd.h which produced MACRO redefinition warnings > when including both rte_cryptodev_pmd.h and rte_ethdev.h. > > This commit moves MACRO definition to rte_cryptodev.c to prevent > this

[dpdk-dev] [PATCH] doc: fill in cxgbe driver features matrix

2016-03-10 Thread Rahul Lakkireddy
Fill in the supported features matrix for CXGBE PMD. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/overview.rst | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/doc/guides/nics/overview.rst

[dpdk-dev] [PATCH v4] aesni_gcm: PMD to support AES_GCM crypto operations

2016-03-10 Thread John Griffin
On 10/03/16 16:41, Pablo de Lara wrote: > From: Declan Doherty > > This patch provides the implementation of an AES-NI accelerated crypto PMD > which is dependent on Intel's multi-buffer library, see the white paper > "Fast Multi-buffer IPsec Implementations on Intel? Architecture Processors" >

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-10 Thread Dumitrescu, Cristian
From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Thursday, March 10, 2016 6:44 PM To: Dumitrescu, Cristian Cc: Thomas Monjalon ; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/3] sched: patches for 2.2 Why does this need to be reassigned to Intel. That is not how the DPDK

[dpdk-dev] DPDK library grab all the memory during start up

2016-03-10 Thread John Wei
I am setting up open-vswitch with DPDK in container, and running many this OVS/DPDK containers on the same host. OVS in each container will be using differ PCI deviced bound to DPDK. I am using --file-prefix to allow sharing of same /dev/hugepages tlbfs, and using --socket-mem to limit the memory

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-10 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, March 8, 2016 8:41 PM > To: Dumitrescu, Cristian > Cc: Thomas Monjalon ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] sched: patches for 2.2 > > On Tue, 8 Mar 2016 19:53:01

[dpdk-dev] [PATCH v4 2/2] examples: rework to use buffered tx

2016-03-10 Thread Tomasz Kulasek
The internal buffering of packets for TX in sample apps is no longer needed, so this patchset also replaces this code with calls to the new rte_eth_tx_buffer* APIs in: * l2fwd-jobstats * l2fwd-keepalive * l2fwd * l3fwd-acl * l3fwd-power * link_status_interrupt * client_server_mp * l2fwd_fork *

[dpdk-dev] [PATCH v4 1/2] ethdev: add buffered tx api

2016-03-10 Thread Tomasz Kulasek
Many sample apps include internal buffering for single-packet-at-a-time operation. Since this is such a common paradigm, this functionality is better suited to being implemented in the ethdev API. The new APIs in the ethdev library are: * rte_eth_tx_buffer_init - initialize buffer *

[dpdk-dev] [PATCH v4 0/2] add support for buffered tx to ethdev

2016-03-10 Thread Tomasz Kulasek
Many sample apps include internal buffering for single-packet-at-a-time operation. Since this is such a common paradigm, this functionality is better suited to being implemented in the ethdev API. The new APIs in the ethdev library are: * rte_eth_tx_buffer_init - initialize buffer *

[dpdk-dev] [PATCH 3/3] bnx2x: Update PMD version to 1.1.0

2016-03-10 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 0f49fef..8e6de6c 100644 --- a/drivers/net/bnx2x/bnx2x.c +++

[dpdk-dev] [PATCH 2/3] bnx2x: Tx performance improvement fixes

2016-03-10 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c| 207 +- drivers/net/bnx2x/bnx2x.h|4 +- drivers/net/bnx2x/bnx2x_ethdev.c | 53 ++ drivers/net/bnx2x/bnx2x_rxtx.c | 47 + 4 files

[dpdk-dev] [PATCH 1/3] bnx2x: Update documentation

2016-03-10 Thread Rasesh Mody
Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst|1 + doc/guides/nics/overview.rst | 20 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index

[dpdk-dev] [PATCH] snow3g: Bit-wise handling for Wireless Algorithm

2016-03-10 Thread Deepak Kumar JAIN
Wireless algorithms like Snow3G needs input in bits. In this patch, changes have been made to incorporate this requirement in both QAT and SW PMD. Signed-off-by: Deepak Kumar JAIN --- This patch depends on "pmd/snow3g: add new SNOW 3G SW PMD" patch

[dpdk-dev] [PATCH 0/3] AES GCM, AES CMAC fixes and addition of GCM tests for QAT.

2016-03-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John Griffin > Sent: Tuesday, March 08, 2016 4:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/3] AES GCM, AES CMAC fixes and addition of > GCM tests for QAT. > > This patchset solves an issue in

[dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api

2016-03-10 Thread Thomas Monjalon
2016-03-10 11:57, Tomasz Kulasek: > +struct rte_eth_dev_tx_buffer { > + buffer_tx_error_fn callback; > + void *userdata; What about renaming this fields as - error_callback - error_userdata ? > + uint16_t size; /**< Size of buffer for buffered tx */ > + uint16_t length;

[dpdk-dev] [PATCH 0/6] DPDK PMD for new QLogic FastLinQ QL4xxxx 25G/40G CNAs

2016-03-10 Thread Harish Patil
>> >> >> >>On Sat, Feb 20, 2016 at 07:40:25AM -0800, Harish Patil wrote: >>> This patch set introduces DPDK poll mode driver for new QLogic FastLinQ >>>QL4 >>> 25G/40G capable family of CNAs as well as their SR-IOV Virtual >>>Functions (VF). >>> >>> The overall PMD driver design includes a

[dpdk-dev] [PATCH v2 02/10] qede: add documentation

2016-03-10 Thread Harish Patil
> >2016-03-10 05:45, Rasesh Mody: >> doc/guides/nics/index.rst |1 + >> doc/guides/nics/qede.rst | 340 >>+ >> 2 files changed, 341 insertions(+) > >It would be nice to see a new column in the matrix of overview.rst. > Hi Thomas, Yes, we had

[dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api

2016-03-10 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 10, 2016 17:24 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api > > 2016-03-10 11:57, Tomasz Kulasek: > > +struct

[dpdk-dev] [PATCH] aesni_mb: remove params from config file

2016-03-10 Thread Pablo de Lara
Parse the device parameters from rte_eal_vdev_init, instead of the config file, so user can change the parameters at runtime. Signed-off-by: Pablo de Lara --- This patch depends on "cryptodev: add capabilities discovery mechanism" (http://dpdk.org/dev/patchwork/patch/11430/) config/common_base

[dpdk-dev] [PATCH v9 0/5] cryptodev API changes

2016-03-10 Thread Thomas Monjalon
> Declan Doherty (2): > cryptodev: change burst API to be crypto op oriented > mbuf_offload: remove library > > Fiona Trahe (3): > cryptodev: code cleanup > cryptodev: refactor to partition common from symmetric-specific code > cryptodev: remove unused phys_addr field from key Applied,

[dpdk-dev] [PATCH v4 3/3] app/test: add Snow3G tests

2016-03-10 Thread Deepak Kumar JAIN
Signed-off-by: Deepak Kumar JAIN --- app/test/test_cryptodev.c | 1037 +++- app/test/test_cryptodev.h |3 +- app/test/test_cryptodev_snow3g_hash_test_vectors.h | 415 app/test/test_cryptodev_snow3g_test_vectors.h

[dpdk-dev] [PATCH v4 2/3] qat: add support for Snow3G

2016-03-10 Thread Deepak Kumar JAIN
Signed-off-by: Deepak Kumar JAIN --- doc/guides/cryptodevs/qat.rst| 8 ++- doc/guides/rel_notes/release_16_04.rst | 6 ++ drivers/crypto/qat/qat_adf/qat_algs.h| 1 + drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 86 ++--

[dpdk-dev] [PATCH v4 1/3] crypto: add cipher/auth only support

2016-03-10 Thread Deepak Kumar JAIN
Refactored the existing functionality into modular form to support the cipher/auth only functionalities. Signed-off-by: Deepak Kumar JAIN --- drivers/crypto/qat/qat_adf/qat_algs.h| 18 +- drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 208 ---

[dpdk-dev] [PATCH v4 0/3] Snow3G support for Intel Quick Assist Devices

2016-03-10 Thread Deepak Kumar JAIN
This patchset contains fixes and refactoring for Snow3G(UEA2 and UIA2) wireless algorithm for Intel Quick Assist devices. QAT PMD previously supported only cipher/hash alg-chaining for AES/SHA. The code has been refactored to also support cipher-only and hash only (for Snow3G only)

[dpdk-dev] [PATCH v2] cryptodev: add capabilities discovery mechanism

2016-03-10 Thread Pablo de Lara
From: Declan Doherty This patch add a mechanism for discovery of crypto device features and supported crypto operations and algorithms. It also provides a method for a crypto PMD to publish any data range limitations it may have for the operations and algorithms it

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj Enable NEON support in exact match mode. l3fwd example did not compile on ARM due to SSE2 instrincics used in generic part. Some instrinsins were used to initialize data structures and those were replaced by ordinary structure initalization.

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This patch depends on following pending patches: lpm: add support for NEON http://dpdk.org/dev/patchwork/patch/10479/ lpm: make rte_lpm_lookupx4 API definition architecture agnostic http://dpdk.org/dev/patchwork/patch/10478/ Maciej Czekaj

[dpdk-dev] [PATCH v9 4/5] cryptodev: change burst API to be crypto op oriented

2016-03-10 Thread Thomas Monjalon
2016-03-10 15:41, Fiona Trahe: > lib/librte_cryptodev/rte_crypto_sym.h | 374 ++-- Sorry there is another issue: rte_crypto_sym.h:622: warning: argument 'op' of command @param is not found in the argument list of __rte_crypto_sym_op_attach_sym_session(struct

[dpdk-dev] [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning

2016-03-10 Thread Panu Matilainen
On 03/10/2016 04:45 PM, Remy Horton wrote: > > On 10/03/2016 13:42, Panu Matilainen wrote: >> On 02/25/2016 08:48 PM, Aaron Conole wrote: >>> Silence a compiler warning that this variable may be used uninitialized. >>> >>> Signed-off-by: Aaron Conole > [..] >> >> The patch looks ok as such, but

[dpdk-dev] [PATCH v1] I217 and I218 changes

2016-03-10 Thread Bruce Richardson
On Wed, Mar 02, 2016 at 05:55:18AM -0800, Ravi Kerur wrote: > v1: Make necessary changes to support I217 and I218 NICs. > Use v2' incorporating internal review comments as a base. > Internal review done by Wenzhou Lu (Intel) and internal > review versions and testing shown

[dpdk-dev] [RFC 35/35] mempool: update copyright

2016-03-10 Thread Panu Matilainen
On 03/09/2016 08:52 PM, Stephen Hemminger wrote: > I understand that 6Wind has made major contributions to DPDK in many places. > > I would prefer that each file not get copyright additions from each > contributor, > otherwise this starts a bad precedent where the source gets cluttered with >

[dpdk-dev] [PATCH v4] pmd/snow3g: add new SNOW 3G SW PMD

2016-03-10 Thread Jain, Deepak K
-Original Message- From: De Lara Guarch, Pablo Sent: Thursday, March 10, 2016 4:33 PM To: dev at dpdk.org Cc: Doherty, Declan ; Jain, Deepak K ; De Lara Guarch, Pablo Subject: [PATCH v4] pmd/snow3g: add new SNOW 3G SW PMD Added new SW PMD which makes use of the libsso SW library,

[dpdk-dev] [PATCH v4] af_packet: make the device detachable

2016-03-10 Thread Bruce Richardson
On Thu, Mar 03, 2016 at 01:54:50PM +, Iremonger, Bernard wrote: > > -Original Message- > > From: Wojciech Zmuda [mailto:woz at semihalf.com] > > Sent: Wednesday, March 2, 2016 11:56 AM > > To: dev at dpdk.org > > Cc: Iremonger, Bernard ; > > linville at tuxdriver.com; Richardson, Bruce

[dpdk-dev] [PATCH v2] null_crypto_pmd: PMD to support null crypto operations

2016-03-10 Thread Jain, Deepak K
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara Sent: Thursday, March 10, 2016 4:47 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH v2] null_crypto_pmd: PMD to support null crypto operations From: Declan Doherty This

[dpdk-dev] [PATCH v2] null_crypto_pmd: PMD to support null crypto operations

2016-03-10 Thread Pablo de Lara
From: Declan Doherty This patch provides the implementation of a NULL crypto PMD, which supports NULL cipher and NULL authentication operations, which can be chained together as follows: - Authentication Only - Cipher Only - Authentication then Cipher - Cipher then

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

2016-03-10 Thread Lazaros Koromilas
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 new API calls with the 'with_cache' suffix, while the

[dpdk-dev] [PATCH v4] aesni_gcm: PMD to support AES_GCM crypto operations

2016-03-10 Thread Pablo de Lara
From: Declan Doherty This patch provides the implementation of an AES-NI accelerated crypto PMD which is dependent on Intel's multi-buffer library, see the white paper "Fast Multi-buffer IPsec Implementations on Intel? Architecture Processors" This PMD supports

[dpdk-dev] [PATCH v5 0/2] fm10k: enable FTAG based forwarding

2016-03-10 Thread Bruce Richardson
On Wed, Mar 02, 2016 at 07:19:12PM +0800, Wang Xiao W wrote: > v5: > * Used kvargs api to parse the devargs parameter. > * Put release note into the driver patch. > > v4: > * Removed the build time config option, used devargs to config FTAG. > * Rebased on head of dpdk-next-net/rel_16_04 branch.

[dpdk-dev] [PATCH v4] pmd/snow3g: add new SNOW 3G SW PMD

2016-03-10 Thread Pablo de Lara
Added new SW PMD which makes use of the libsso SW library, which provides wireless algorithms SNOW 3G UEA2 and UIA2 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 v5 1/2] fm10k: enable FTAG based forwarding

2016-03-10 Thread Bruce Richardson
On Wed, Mar 02, 2016 at 07:19:13PM +0800, Wang Xiao W wrote: > This patch enables reading sglort info into mbuf for RX and inserting > an FTAG at the beginning of the packet for TX. The vlan_tci_outer field > selected from rte_mbuf structure for sglort is not used in fm10k now. > In FTAG based

[dpdk-dev] [PATCH v4 0/3] Snow3G support for Intel Quick Assist Devices

2016-03-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar JAIN > Sent: Thursday, March 10, 2016 5:13 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 0/3] Snow3G support for Intel Quick Assist > Devices > > This patchset contains fixes and

[dpdk-dev] [PATCH] doc: add mempool mgr ABI deprication notice

2016-03-10 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Hunt > Sent: Thursday, March 10, 2016 11:56 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: add mempool mgr ABI deprication notice > > Announce the ABI breakage due to addition of external

[dpdk-dev] [PATCH v9 4/5] cryptodev: change burst API to be crypto op oriented

2016-03-10 Thread Trahe, Fiona
HI Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 10, 2016 4:03 PM > To: Trahe, Fiona > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 4/5] cryptodev: change burst API to be > crypto > op oriented > >

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM.

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj Enable NEON support in exact match mode. l3fwd example did not compile on ARM due to SSE2 instrincics used in generic part. Some instrinsins were used to initialize data structures and those were replaced by ordinary structure initalization.

[dpdk-dev] [PATCH] l3fwd: Fix compilation & enable exact match mode on ARM

2016-03-10 Thread maciej.cze...@caviumnetworks.com
From: Maciej Czekaj This patch depends on following pending patches: lpm: add support for NEON http://dpdk.org/dev/patchwork/patch/10479/ lpm: make rte_lpm_lookupx4 API definition architecture agnostic http://dpdk.org/dev/patchwork/patch/10478/ Maciej Czekaj

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-10 Thread Tetsuya Mukawa
Currently, default values of kickfd and callfd are -1. If the values are -1, current code guesses kickfd and callfd haven't been initialized yet. And vhost library will guess the virtqueue isn't ready for processing. But callfd and kickfd will be set as -1 when "--enable-kvm" isn't specified in

[dpdk-dev] [PATCH] ethdev: don't count missed packets in erroneous packets counter

2016-03-10 Thread Igor Ryzhov
Comment for "ierrors" counter says that it counts erroneous received packets. But for some reason "imissed" counter is added to "ierrors" counter in most drivers. It is a mistake, because missed packets are obviously not received. This patch fixes it. Signed-off-by: Igor Ryzhov ---

[dpdk-dev] [PATCH v3 0/2] add support for buffered tx to ethdev

2016-03-10 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Thursday, March 10, 2016 12:32 PM > To: Kulasek, TomaszX ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/2] add support for buffered tx to > ethdev > > > Many sample apps

[dpdk-dev] [PATCH] doc: add mempool mgr ABI deprication notice

2016-03-10 Thread Thomas Monjalon
2016-03-10 13:56, Wiles, Keith: > >On Thu, Mar 10, 2016 at 01:37:27PM +0100, Olivier MATZ wrote: > >> Hi David, > >> > >> On 03/10/2016 12:55 PM, David Hunt wrote: > >> > Announce the ABI breakage due to addition of external mempool > >> > manager functionality which requires changes to

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-10 Thread Yuanhan Liu
On Thu, Mar 10, 2016 at 08:43:37AM +0100, David Marchand wrote: > On Thu, Mar 10, 2016 at 8:01 AM, Yuanhan Liu > wrote: > > Declare dst as type uint32_t instead of uint64_t, otherwise, we will get > > a random upper 32 bit feature bits, as the following io port read reads > > lower 32 bit only.

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-10 Thread Panu Matilainen
Tell the compiler to use unsigned constants for left shift ops, otherwise building with gcc >= 6.0 fails due to multiple warnings like: warning: left shift of negative value [-Wshift-negative-value] Signed-off-by: Panu Matilainen --- examples/ip_pipeline/pipeline/pipeline_common_fe.c | 4 ++--

[dpdk-dev] [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > Silence a compiler warning that this variable may be used uninitialized. > > Signed-off-by: Aaron Conole > --- > drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[dpdk-dev] [PATCH] vhost: Fix default value of kickfd and callfd

2016-03-10 Thread Tetsuya Mukawa
On 2016/03/10 15:39, Tan, Jianfeng wrote: > > On 3/10/2016 2:34 PM, Tetsuya Mukawa wrote: >> On 2016/03/10 15:25, Tan, Jianfeng wrote: >>> >>> On 3/10/2016 2:14 PM, Tetsuya Mukawa wrote: Currently, default value of kickfd and callfd is -1. If the value is -1, current code guess kickfd

[dpdk-dev] [PATCH V3 0/4] bonding: fixes and enhancements

2016-03-10 Thread Bruce Richardson
On Tue, Mar 01, 2016 at 09:31:58AM -0800, Eric Kinzie wrote: > These are bug fixes and some small enhancements to allow bonding > to work with external control (teamd). Please consider integrating > these into DPDK 2.2 > > Changes in v2: > - remove "bond: handle slaves with fewer queues than

[dpdk-dev] [PATCH v9 5/5] mbuf_offload: remove library

2016-03-10 Thread Fiona Trahe
From: Declan Doherty As cryptodev library does not depend on mbuf_offload library any longer, this patch removes it. Signed-off-by: Declan Doherty --- MAINTAINERS| 4 - app/test/test_cryptodev.c | 1

[dpdk-dev] [PATCH v9 4/5] cryptodev: change burst API to be crypto op oriented

2016-03-10 Thread Fiona Trahe
From: Declan Doherty This patch modifies the crypto burst enqueue/dequeue APIs to operate on bursts rte_crypto_op's rather than the current implementation which operates on rte_mbuf bursts, this simplifies the burst processing in the crypto PMDs and the use of crypto

[dpdk-dev] [PATCH v9 3/5] cryptodev: remove unused phys_addr field from key

2016-03-10 Thread Fiona Trahe
Remove unused phys_addr field from key in crypto_xform, simplifiy struct and fix knock-on impacts in l2fwd-crypto app Signed-off-by: Fiona Trahe --- examples/l2fwd-crypto/main.c | 42 ++- lib/librte_cryptodev/rte_crypto_sym.h | 16 ++--- 2 files

[dpdk-dev] [PATCH v9 2/5] cryptodev: refactor to partition common from symmetric-specific code

2016-03-10 Thread Fiona Trahe
This patch splits symmetric specific definitions and functions away from the common crypto APIs to facilitate the future extension and expansion of the cryptodev framework, in order to allow asymmetric crypto operations to be introduced at a later date, as well as to clean the logical structure of

[dpdk-dev] [PATCH v9 1/5] cryptodev: code cleanup

2016-03-10 Thread Fiona Trahe
- Fixed >80char lines in test file - Removed unused elements from stats struct - Removed unused objects in rte_cryptodev_pmd.h - Renamed variables - Replaced leading spaces with tabs - Improved performance results display in test Signed-off-by: Fiona Trahe Signed-off-by: Declan Doherty ---

[dpdk-dev] [PATCH v9 0/5] cryptodev API changes

2016-03-10 Thread Fiona Trahe
From: Pablo de Lara This patch set separates the symmetric crypto operations from generic operations and then modifies the cryptodev burst API to accept bursts of rte_crypto_op rather than rte_mbufs. v9: - include missing casting that was making C++ complain

[dpdk-dev] [PATCH] vhost: Fix default value of kickfd and callfd

2016-03-10 Thread Tetsuya Mukawa
On 2016/03/10 15:25, Tan, Jianfeng wrote: > > > On 3/10/2016 2:14 PM, Tetsuya Mukawa wrote: >> Currently, default value of kickfd and callfd is -1. >> If the value is -1, current code guess kickfd and callfd hasn't been >> initialized yet. And vhost library will guess the virtqueue isn't ready >>

[dpdk-dev] [PATCH v3] ixgbe: fix ixgbevf RX/TX function assignment

2016-03-10 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 03:29:13PM +, Zhang, Helin wrote: > > > > -Original Message- > > From: Richardson, Bruce > > Sent: Thursday, March 10, 2016 11:26 PM > > To: dev at dpdk.org; Tao, Zhe > > Cc: Zhang, Helin ; Richardson, Bruce > > > > Subject: [PATCH v3] ixgbe: fix ixgbevf

[dpdk-dev] [PATCH 7/8] drivers/net/ixgbe: Signed left shift operator

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > Tell the compiler to use an unsigned constant for the config shifts. > > Signed-off-by: Aaron Conole > --- > drivers/net/ixgbe/ixgbe_pf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_pf.c

[dpdk-dev] [PATCH 6/8] drivers/net/e1000/igb: Signed left shift operator

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > Tell the compiler to use an unsigned constant for the config shifts. > > Signed-off-by: Aaron Conole > --- > drivers/net/e1000/igb_pf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/e1000/igb_pf.c

[dpdk-dev] [PATCH v3] ixgbe: fix ixgbevf RX/TX function assignment

2016-03-10 Thread Zhang, Helin
> -Original Message- > From: Richardson, Bruce > Sent: Thursday, March 10, 2016 11:26 PM > To: dev at dpdk.org; Tao, Zhe > Cc: Zhang, Helin ; Richardson, Bruce > > Subject: [PATCH v3] ixgbe: fix ixgbevf RX/TX function assignment > > From: Zhe Tao Acked-by: Helin Zhang

[dpdk-dev] [PATCH v3] ip_pipeline: add load balancing function to pass-through pipeline

2016-03-10 Thread Jasvinder Singh
The pass-through pipeline implementation is extended with load balancing function. This function allows uniform distribution of the packets among its output ports. For packets distribution, any application level logic can be applied. For instance, in this implementation, hash value computed over

[dpdk-dev] [PATCH 5/8] drivers/net/ixgbe: Fix vlan filter missing brackets

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > The ixgbe vlan filter code has an if check with an incorrect whitespace. > > Signed-off-by: Aaron Conole > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

[dpdk-dev] [PATCH 4/8] drivers/net/e1000: Fix missing lsc interrupt check brackets

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > The device lsc interupt check has a misleading whitespace around it which > can be improved by adding appropriate braces to the check. Since the ret > variable was checked after previous assignment, this introduces no functional > change. > >

[dpdk-dev] [PATCH v3] ixgbe: fix ixgbevf RX/TX function assignment

2016-03-10 Thread Bruce Richardson
From: Zhe Tao For the secondary process of DPDK to initialize ixgbevf, it will always use the simple RX function or LRO RX function, and this behavior is not the same RX/TX function selection logic as it is for the primary process. Use the ixgbe_set_tx_function and

[dpdk-dev] [PATCH 2/8] app/test/test: Fix missing brackets

2016-03-10 Thread Panu Matilainen
On 02/25/2016 08:48 PM, Aaron Conole wrote: > The test application calls printf(...) with the suite->suite_name argument. > The intent (based on whitespace) in the printf is to check suite->suite_name > first and then apply the printf. This doesn't happen due to missing brackets. > >

[dpdk-dev] [PATCH v5 4/4] ena: DPDK polling-mode driver for Amazon Elastic Network Adapters (ENA)

2016-03-10 Thread Hunt, David
Hi Jan, On 3/7/2016 8:05 PM, Jan Medala wrote: --snip-- > diff --git a/drivers/net/ena/ena_ethdev.h b/drivers/net/ena/ena_ethdev.h > new file mode 100644 > index 000..7f069b9 > --- /dev/null > +++ b/drivers/net/ena/ena_ethdev.h > @@ -0,0 +1,154 @@ > +/*- > +* BSD LICENSE > +* > +* Copyright

[dpdk-dev] [PATCH v2] ixgbe: fix ixgbevf RX/TX function assignment

2016-03-10 Thread Bruce Richardson
On Tue, Mar 08, 2016 at 04:49:41PM +0800, Zhe Tao wrote: > For the secondary process of DPDK to initialize ixgbevf, it will always > use the simple RX function or LRO RX function, and this behavior is not > the same RX/TX function selection logic as it is for the primary process, > so use the

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-10 Thread Tan, Jianfeng
On 3/10/2016 3:01 PM, Yuanhan Liu wrote: > Declare dst as type uint32_t instead of uint64_t, otherwise, we will get > a random upper 32 bit feature bits, as the following io port read reads > lower 32 bit only. It could lead a feature bits that include > VIRTIO_F_VERSION_1 > (the 32th bit) for

[dpdk-dev] [PATCH v3 3/3] mk: add DT_NEEDED entries for librte_eal external dependencies

2016-03-10 Thread Panu Matilainen
Details between the platforms differ somewhat, and for static builds they need to be handled from mk/exec-env still. Signed-off-by: Panu Matilainen --- lib/librte_eal/bsdapp/eal/Makefile | 4 lib/librte_eal/linuxapp/eal/Makefile | 4 2 files changed, 8 insertions(+) diff --git

[dpdk-dev] [PATCH v3 2/3] mk: add DT_NEEDED entries for librte_vhost external dependencies

2016-03-10 Thread Panu Matilainen
Add DT_NEEDED entries for external library dependencies which are the most critical ones for sane operation. Clean up vhost_cuse CFLAGS/LDFLAGS confusion while at it. Signed-off-by: Panu Matilainen --- lib/librte_vhost/Makefile | 7 --- mk/rte.app.mk | 14 ++ 2

[dpdk-dev] [PATCH v3 1/3] mk: clear up libm and librt linkage confusion

2016-03-10 Thread Panu Matilainen
There are two places that need -lm (test app and librte_sched) and exactly one that needs -lrt (librte_sched). Add the relevant DT_NEEDED entries to both, and eliminate the bogus discrepancy between Linux and BSD EXECENV_LDLIBS wrt these libs. Signed-off-by: Panu Matilainen ---

[dpdk-dev] [PATCH v3 0/3] mk: add DT_NEEDED entries for external library deps

2016-03-10 Thread Panu Matilainen
Add hopefully all the remaining missing DT_NEEDED entries for external library dependencies on the libraries side: librte_vhost, librte_sched and librte_eal. Panu Matilainen (3): mk: clear up libm and librt linkage confusion mk: add DT_NEEDED entries for librte_vhost external dependencies

[dpdk-dev] [PATCH v8 4/5] cryptodev: change burst API to be crypto op oriented

2016-03-10 Thread Thomas Monjalon
2016-03-10 13:43, Fiona Trahe: > lib/librte_cryptodev/rte_crypto.h | 352 +++- One of the problems with inline functions in a header, is that it must compile with C and C++. Unfortunately there is a small error here when included in a C++ app: rte_crypto.h:172:24: error:

[dpdk-dev] [PATCH] i40e: Fix a typo.

2016-03-10 Thread Bruce Richardson
On Sun, Feb 28, 2016 at 07:29:28AM +, Zhang, Helin wrote: > > > > -Original Message- > > From: Rosen, Rami > > Sent: Saturday, February 27, 2016 2:34 AM > > To: Zhang, Helin > > Cc: dev at dpdk.org; Rosen, Rami > > Subject: [PATCH] i40e: Fix a typo. > > > > This patch fixes a typo

[dpdk-dev] [PATCH] virtio: fix wrong features returned for legacy virtio

2016-03-10 Thread Yuanhan Liu
Declare dst as type uint32_t instead of uint64_t, otherwise, we will get a random upper 32 bit feature bits, as the following io port read reads lower 32 bit only. It could lead a feature bits that include VIRTIO_F_VERSION_1 (the 32th bit) for legacy virtio, which is obviously wrong. Fixes:

[dpdk-dev] [PATCH v7 00/11] Add API to get packet type info

2016-03-10 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 03:31:24AM +0800, Jianfeng Tan wrote: > To achieve this, a new function pointer, dev_ptype_info_get, is added > into struct eth_dev_ops. For those devices who do not implement it, it > means it does not provide any ptype info. > FYI: If doing a V8, please remove the

[dpdk-dev] [PATCH v7 04/11] pmd/enic: add dev_ptype_info_get implementation

2016-03-10 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 02:50:04PM +, Bruce Richardson wrote: > On Thu, Mar 10, 2016 at 03:31:28AM +0800, Jianfeng Tan wrote: > > Signed-off-by: Jianfeng Tan > > Acked-by: Konstantin Ananyev > > Acked-by: Adrien Mazarguil > > --- > > drivers/net/enic/enic_ethdev.c | 17 + >

[dpdk-dev] [PATCH v7 04/11] pmd/enic: add dev_ptype_info_get implementation

2016-03-10 Thread Bruce Richardson
On Thu, Mar 10, 2016 at 03:31:28AM +0800, Jianfeng Tan wrote: > Signed-off-by: Jianfeng Tan > Acked-by: Konstantin Ananyev > Acked-by: Adrien Mazarguil > --- > drivers/net/enic/enic_ethdev.c | 17 + > 1 file changed, 17 insertions(+) > I get compile errors when I apply this

[dpdk-dev] [PATCH] doc: fill in cxgbe driver features matrix

2016-03-10 Thread Thomas Monjalon
2016-03-10 19:08, Rahul Lakkireddy: > Fill in the supported features matrix for CXGBE PMD. > > Signed-off-by: Rahul Lakkireddy > Signed-off-by: Kumar Sanghvi Applied, thanks

[dpdk-dev] [PATCH v2 02/10] qede: add documentation

2016-03-10 Thread Thomas Monjalon
2016-03-10 05:45, Rasesh Mody: > doc/guides/nics/index.rst |1 + > doc/guides/nics/qede.rst | 340 > + > 2 files changed, 341 insertions(+) It would be nice to see a new column in the matrix of overview.rst.

[dpdk-dev] [PATCH v5 1/4] ena: Amazon ENA documentation

2016-03-10 Thread Hunt, David
On 3/7/2016 8:05 PM, Jan Medala wrote: > Signed-off-by: Evgeny Schemeilin > Signed-off-by: Alexander Matushevsky > Signed-off-by: Jan Medala > Signed-off-by: Jakub Palider > --- > MAINTAINERS | 8 ++ > doc/guides/nics/ena.rst | 252 >

[dpdk-dev] [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning

2016-03-10 Thread Remy Horton
On 10/03/2016 13:42, Panu Matilainen wrote: > On 02/25/2016 08:48 PM, Aaron Conole wrote: >> Silence a compiler warning that this variable may be used uninitialized. >> >> Signed-off-by: Aaron Conole [..] > > The patch looks ok as such, but then again warning looks like a false > positive to me:

[dpdk-dev] [PATCH 3/3] scripts: ignore self-generated directories in validate-abi startup check

2016-03-10 Thread Panu Matilainen
On 03/10/2016 02:34 PM, Ferruh Yigit wrote: > On 3/10/2016 12:29 PM, Panu Matilainen wrote: >> On 03/10/2016 02:22 PM, Ferruh Yigit wrote: >>> On 3/10/2016 10:53 AM, Panu Matilainen wrote: When doing multiple runs of validate-abi.sh, the git status check will more often than not

  1   2   3   >