[dpdk-dev] [PATCH] maintainers: claim responsability for crypto subtree

2016-09-15 Thread De Lara Guarch, Pablo
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, September 15, 2016 8:17 AM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [PATCH] maintainers: claim responsability for crypto subtree > > 2016-08-30 19:47, Pablo de Lar

[dpdk-dev] ipv4 fragmentation bug?

2016-09-15 Thread Александр Киселев
I am sorry for the late reply. I am not sure anymore about is it a bug I found or the author of rte_ipv4_fragment_packet() realy wanted to constraint the size of mtu writing lines: frag_size = (uint16_t)(mtu_size - sizeof(struct ipv4_hdr)); /* Fragment size should be a multiply of 8. */ assert((f

[dpdk-dev] [PATCH] kni: support RHEL 7.3

2016-09-15 Thread De Lara Guarch, Pablo
> -Original Message- > From: Yigit, Ferruh > Sent: Thursday, September 15, 2016 3:13 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [PATCH] kni: support RHEL 7.3 > > On 9/14/2016 7:25 PM, Pablo de Lara wrote: > > Add support for RHEL 7.3, which uses kernel 3.10, > > but b

[dpdk-dev] [PATCH v2 2/2] mempool:pktmbuf pool default fallback for mempool ops error

2016-09-15 Thread Hemant Agrawal
In the rte_pktmbuf_pool_create, if the default external mempool is not available, the implementation can default to "ring_mp_mc", which is an software implementation. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_

[dpdk-dev] [PATCH v2 1/2] eal/mempool: introduce check for external mempool availability

2016-09-15 Thread Hemant Agrawal
External offloaded mempool may not be available always. This check enables run time verification of the presence of external mempool before the mempool ops are installed. An application built with a specific external mempool may work fine on host. But, may not work on VM, specificaly if non-hw spe

[dpdk-dev] [PATCH v3 2/2] crypto/qat: adding support for 3DES cipher algorithm

2016-09-15 Thread Fiona Trahe (fiona.tr...@intel.com)
From: Fiona Trahe 3DES support added to QuickAssist PMD With CTR and CBC mode. Both cipher-only and chained with HMAC_SHAx This patch depends on following patch : crypto/qat: enable support of Kasumi F8 in QAT cryptodev http://dpdk.org/dev/patchwork/patch/15813/ Signed-off-by: Fiona Trahe

[dpdk-dev] [PATCH v3 1/2] crypto/qat: code cleanup

2016-09-15 Thread Fiona Trahe (fiona.tr...@intel.com)
From: Fiona Trahe Cleanup of unused code. Rename and simplify a badly named struct element, was aes, but used for all types of ciphers Print correct error msg (Unsupported rather than Undefined) for all ciphers not supported by qat PMD. Signed-off-by: Fiona Trahe --- drivers/crypto/qat/qat_adf

[dpdk-dev] [PATCH v3 0/2] Add 3DES support to Quickassist PMD

2016-09-15 Thread Fiona Trahe (fiona.tr...@intel.com)
From: Fiona Trahe Some preparatory cleanup done in QAT PMD for adding 3DES 3DES support added to QuickAssist PMD With CTR and CBC mode. Both cipher-only and chained with HMAC_SHAx 3DES test code is included in the libcrypto patch, which will be sent separately. Changes since v1: * rebased qat

[dpdk-dev] [PATCH v5 5/6] vhost: batch update used ring

2016-09-15 Thread Maxime Coquelin
On 09/14/2016 10:43 AM, Wang, Zhihong wrote: > > >> -Original Message- >> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] >> Sent: Monday, September 12, 2016 11:46 PM >> To: Wang, Zhihong ; dev at dpdk.org >> Cc: yuanhan.liu at linux.intel.com; thomas.monjalon at 6wind.com >>

[dpdk-dev] [PATCH v5 2/6] vhost: rewrite enqueue

2016-09-15 Thread Maxime Coquelin
Hi, On 09/14/2016 10:20 AM, Wang, Zhihong wrote: >>> + desc_current = >>> + vq->avail->ring[(vq->last_used_idx) >> & >>> + (vq->size - 1)]; >>> + desc_chain_head = desc_current; >

[dpdk-dev] [PATCH v3 2/2] app/test: add test cases for aes-sha224-hmac for Intel QAT driver

2016-09-15 Thread Deepak Kumar Jain
From: "Jain, Deepak K" Added aes-sha224-hmac algorithm to test file for Intel(R) QuickAssist Technology Driver Signed-off-by: Deepak Kumar Jain Acked-by: Fiona Trahe --- app/test/test_cryptodev_aes.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test/test_crypt

[dpdk-dev] [PATCH v3 1/2] crypto/qat: add aes-sha224-hmac capability to Intel QAT driver

2016-09-15 Thread Deepak Kumar Jain
From: "Jain, Deepak K" Added support of aes-sha224-hmac in Intel(R) QuickAssist driver Signed-off-by: Deepak Kumar Jain Acked-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst| 1 + doc/guides/rel_notes/release_16_11.rst | 1 + drivers/crypto/qat/qat_adf/qat_al

[dpdk-dev] [PATCH v3 0/2] add aes-sha224-hmac support to Intel QAT driver

2016-09-15 Thread Deepak Kumar Jain
This patchset adds support of aes-sha224-hmac in Intel(R) QuickAssist Technology driver. This patchset depends on following patchset: "crypto/qat: add MD5 HMAC capability to Intel QAT driver" (http://dpdk.org/dev/patchwork/patch/15754/) Jain, Deepak K (2): crypto/qat: add aes-sha224-hmac capab

[dpdk-dev] [PATCH] maintainers: claim responsability for crypto subtree

2016-09-15 Thread Thomas Monjalon
2016-08-30 19:47, Pablo de Lara: > From 16.07, I will be the maintainer of the crypto subtree. [...] > Crypto Drivers > -- > +T: Pablo de Lara I think that the syntax should be: M: Pablo de Lara T: git://dpdk.org/dpdk-next-crypto

[dpdk-dev] [PATCH 19/19] kni: move kernel version ifdefs to compat header

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/compat.h| 12 lib/librte_eal/linuxapp/kni/kni_vhost.c | 16 +--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h i

[dpdk-dev] [PATCH 18/19] kni: prefer uint32_t to unsigned int

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_dev.h | 8 lib/librte_eal/linuxapp/kni/kni_fifo.h | 22 +++--- lib/librte_eal/linuxapp/kni/kni_misc.c | 17 +++-- lib/librte_eal/linuxapp/kni/kni_net.c | 24 lib/li

[dpdk-dev] [PATCH 17/19] kni: updated log messages

2016-09-15 Thread Ferruh Yigit
Remove some function entrance logs and changed log level of some logs. Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_misc.c | 9 ++--- lib/librte_eal/linuxapp/kni/kni_net.c | 6 ++ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/lib/librte_eal/linuxapp/

[dpdk-dev] [PATCH 16/19] kni: remove compile time debug configuration

2016-09-15 Thread Ferruh Yigit
Since switched to kernel dynamic debugging it is possible to remove compile time debug log configuration. Signed-off-by: Ferruh Yigit --- config/common_base | 3 --- lib/librte_eal/linuxapp/kni/kni_dev.h | 18 - lib/librte_eal/linuxapp/kni/kni_misc.c | 8 +++

[dpdk-dev] [PATCH 15/19] kni: move functions to eliminate function declarations

2016-09-15 Thread Ferruh Yigit
Function implementations kept same. Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_misc.c | 301 - lib/librte_eal/linuxapp/kni/kni_net.c | 293 2 files changed, 287 insertions(+), 307 deletions(-) diff --git a/li

[dpdk-dev] [PATCH 14/19] kni: remove unnecessary 'out of memory' message

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_net.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index 1dca5f0..9585879 100644 --- a/lib/librte_eal/linuxapp/kni/kni_net.c +

[dpdk-dev] [PATCH 13/19] kni: update kernel logging

2016-09-15 Thread Ferruh Yigit
Switch to dynamic logging functions. Depending kernel configuration this may cause previously visible logs disappear. How to enable dynamic logging: https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_dev.h | 13

[dpdk-dev] [PATCH 12/19] kni: prefer ether_addr_copy to memcpy

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/compat.h | 4 lib/librte_eal/linuxapp/kni/kni_misc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h index d79d626..9ae50a7 100644

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-15 Thread Iremonger, Bernard
Hi Thomas, > Subject: Re: [dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF > management > > 2016-09-12 16:28, Iremonger, Bernard: > > > On Fri, Aug 26, 2016 at 10:10:18AM +0100, Bernard Iremonger wrote: > > > > Add new API functions to configure and manage VF's on a NIC. > > > > > >

[dpdk-dev] [PATCH 11/19] kni: prefer min_t to min

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_net.c | 6 +++--- lib/librte_eal/linuxapp/kni/kni_vhost.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index 81d139e..a6458fa

[dpdk-dev] [PATCH 10/19] kni: macros with complex values should be enclosed in parentheses

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h index 962a4e7..d79d626 100644 --- a/lib/librte_eal/linuxapp/kni/compat.h +++ b/lib/

[dpdk-dev] [PATCH 09/19] kni: do not use assignment in if condition

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_vhost.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c b/lib/librte_eal/linuxapp/kni/kni_vhost.c index bef4889..eacfe3f 100644 --- a/lib/librte_eal/linuxapp/kni

[dpdk-dev] [PATCH 08/19] kni: trailing statements should be on next line

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_vhost.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c b/lib/librte_eal/linuxapp/kni/kni_vhost.c index ec39538..bef4889 100644 --- a/lib/librte_eal/linuxapp/kni/kni

[dpdk-dev] [PATCH 07/19] kni: comparisons should place the constant on the right

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_vhost.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c b/lib/librte_eal/linuxapp/kni/kni_vhost.c index f1345c3..ec39538 100644 --- a/lib/librt

[dpdk-dev] [PATCH 06/19] kni: remove useless return

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_net.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index f4afd83..81d139e 100644 --- a/lib/librte_eal/linuxapp/kni/kni_net.c +++ b/lib/librte_eal/li

[dpdk-dev] [PATCH 05/19] kni: prefer unsigned int to unsigned

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_dev.h | 4 ++-- lib/librte_eal/linuxapp/kni/kni_fifo.h | 22 +++--- lib/librte_eal/linuxapp/kni/kni_net.c | 22 +++--- lib/librte_eal/linuxapp/kni/kni_vhost.c | 12 ++-- 4 files changed,

[dpdk-dev] [PATCH 04/19] kni: whitespace, indentation, long line corrections

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_dev.h | 11 +++--- lib/librte_eal/linuxapp/kni/kni_ethtool.c | 39 +++- lib/librte_eal/linuxapp/kni/kni_fifo.h| 2 +- lib/librte_eal/linuxapp/kni/kni_misc.c| 18 +- lib/librte_eal/linuxapp/kni/kni

[dpdk-dev] [PATCH 03/19] kni: make static struct const

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index c8a2ef1..551e7de 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c ++

[dpdk-dev] [PATCH 02/19] kni: uninitialize global variables

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index a046142..c8a2ef1 100644 --- a/lib/librte_eal/linuxapp/kni/kni_mis

[dpdk-dev] [PATCH 01/19] kni: move externs to the header file

2016-09-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_dev.h | 13 + lib/librte_eal/linuxapp/kni/kni_misc.c | 13 - lib/librte_eal/linuxapp/kni/kni_vhost.c | 11 +-- 3 files changed, 14 insertions(+), 23 deletions(-) diff --git a/lib/librte_eal/linuxap

[dpdk-dev] [PATCH 00/19] KNI checkpatch cleanup

2016-09-15 Thread Ferruh Yigit
KNI checkpatch cleanup, mostly non-functional but cosmetic modifications. Only functional change is related logging, switched to kernel dynamic logging and compile time KNI debug options removed, some log message levels updated. Ferruh Yigit (19): kni: move externs to the header file kni: unin

[dpdk-dev] [PATCH] scripts: disable optimization for ABI validation

2016-09-15 Thread Thomas Monjalon
2016-08-26 16:06, Ferruh Yigit: > abi-dumper giving following warning: > WARNING: incompatible build option detected: -O3 > > Although this patch won't fix warning, it is to ensure code compiled > with optimization disabled. > > Signed-off-by: Ferruh Yigit Applied, thanks

[dpdk-dev] [PATCH] drivers: advertise kmod dependencies in pmdinfo

2016-09-15 Thread Olivier Matz
Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to declare the list of kernel modules required to run properly. Today, most PCI drivers require uio/vfio. Signed-off-by: Olivier Matz --- rfc -> v1: - the kmod information can be per-device using a modalias-like pattern - change

[dpdk-dev] [PATCH v3 02/15] eal/soc: add rte_eal_soc_register/unregister logic

2016-09-15 Thread Thomas Monjalon
2016-09-15 15:09, Jan Viktorin: > On Thu, 15 Sep 2016 14:00:25 +0100 > "Hunt, David" wrote: > > > > new file mode 100644 > > > index 000..56135ed > > > --- /dev/null > > > +++ b/lib/librte_eal/common/eal_common_soc.c > > > @@ -0,0 +1,56 @@ > > > +/*- > > > + * BSD LICENSE > > > + * > > > +

[dpdk-dev] [PATCH v3 12/15] ether: extract function eth_dev_get_intr_handle

2016-09-15 Thread Thomas Monjalon
2016-09-15 14:02, Hunt, David: > On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > > +static inline > > +struct rte_intr_handle *eth_dev_get_intr_handle(struct rte_eth_dev *dev) > > +{ > > + if (dev->pci_dev) { > > + return &dev->pci_dev->intr_handle; > > + } > > + > > + RTE_VERIFY(0); >

[dpdk-dev] [PATCH v3 02/15] eal/soc: add rte_eal_soc_register/unregister logic

2016-09-15 Thread Jan Viktorin
On Thu, 15 Sep 2016 14:00:25 +0100 "Hunt, David" wrote: > > new file mode 100644 > > index 000..56135ed > > --- /dev/null > > +++ b/lib/librte_eal/common/eal_common_soc.c > > @@ -0,0 +1,56 @@ > > +/*- > > + * BSD LICENSE > > + * > > + * Copyright(c) 2016 RehiveTech. All rights reserved. >

[dpdk-dev] [PATCH v3 3/3] app/test: add Kasumi tests in QAT test suite

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Thursday, September 15, 2016 11:06 AM > To: dev at dpdk.org > Cc: Jain, Deepak K > Subject: [dpdk-dev] [PATCH v3 3/3] app/test: add Kasumi tests in QAT test > suite > > This patch ad

[dpdk-dev] [PATCH v3 2/3] crypto/qat: add Kasumi support in Intel(R) QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Thursday, September 15, 2016 11:04 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v3 2/3] crypto/qat: add Kasumi support in Intel

[dpdk-dev] [PATCH v3 1/3] app/test: cleanup of test code for kasumi

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Thursday, September 15, 2016 11:04 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v3 1/3] app/test: cleanup of test code for kasu

[dpdk-dev] [RFC][PATCH V2 2/3] examples/vhost: Add vswitch command line options

2016-09-15 Thread Pankaj Chauhan
On 9/13/2016 5:44 PM, Yuanhan Liu wrote: > On Mon, Sep 05, 2016 at 04:24:30PM +0530, Pankaj Chauhan wrote: >> Add command line options for selecting switch implementation >> and maximum ports for the vswitch.following are two new command >> line options: >> >> --switch [char string, Selects the sw

[dpdk-dev] [PATCH v3] doc/guides: add info on how to enable QAT

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Tuesday, September 13, 2016 3:09 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Breen, Eoin > ; Jain, Deepak K > Subject: [dpdk-dev] [PATCH v3] doc/guides: add info on how to

[dpdk-dev] [PATCH v2] sched: fix releasing enqueued packets

2016-09-15 Thread Dumitrescu, Cristian
> -Original Message- > From: Hiroyuki Mikita [mailto:h.mikita89 at gmail.com] > Sent: Monday, September 5, 2016 4:15 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org > Subject: [PATCH v2] sched: fix releasing enqueued packets > > rte_sched_port_free should release only enqueued packe

[dpdk-dev] [RFC][PATCH V2 1/3] examples/vhost: Add vswitch (generic switch) framework

2016-09-15 Thread Pankaj Chauhan
On 9/13/2016 12:21 PM, Tan, Jianfeng wrote: Hi Jianfeng, >>> >>> On 9/5/2016 6:54 PM, Pankaj Chauhan wrote: Introduce support for a generic framework for handling of switching between physical and vhost devices. The vswitch framework introduces the following concept:

[dpdk-dev] [PATCH] app/test: fix failing packet-framework table unit-tests

2016-09-15 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Monday, September 12, 2016 12:06 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH] app/test: fix failing packet-framework table unit-tests > > The pipeline object is not freed when a particular test-case of the u

[dpdk-dev] [PATCH 2/3] docs:tun/tap PMD information

2016-09-15 Thread Wiles, Keith
Regards, Keith > On Sep 15, 2016, at 9:13 AM, Wiles, Keith wrote: > > self Nak - just noticed the copyright notices are wrong. My mistake I was looking at the wrong file the headers appear correct. > > Regards, > Keith > >> On Sep 15, 2016, at 9:10 AM, Keith Wiles wrote: >> >> Signed-off

[dpdk-dev] [PATCH] app/test: decrease memory requirements for sched

2016-09-15 Thread Dumitrescu, Cristian
> -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Monday, September 12, 2016 12:39 PM > To: dev at dpdk.org; Dumitrescu, Cristian > Subject: [PATCH] app/test: decrease memory requirements for sched > > The sched test consumes 35MB memory. When memory i

[dpdk-dev] [PATCH 2/3] docs:tun/tap PMD information

2016-09-15 Thread Wiles, Keith
self Nak - just noticed the copyright notices are wrong. Regards, Keith > On Sep 15, 2016, at 9:10 AM, Keith Wiles wrote: > > Signed-off-by: Keith Wiles > --- > doc/guides/nics/tap.rst | 84 + > 1 file changed, 84 insertions(+) > create mode 1006

[dpdk-dev] [PATCH v3 13/15] ether: extract function eth_dev_get_driver_name

2016-09-15 Thread Hunt, David
On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > Signed-off-by: Hemant Agrawal > --- > lib/librte_ether/rte_ethdev.c | 15 ++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/lib/librte_ether/rte_ethdev

[dpdk-dev] [PATCH v3 12/15] ether: extract function eth_dev_get_intr_handle

2016-09-15 Thread Hunt, David
On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > We abstract access to the intr_handle here as we want to get > it either from the pci_dev or soc_dev. > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > Signed-off-by: Hemant Agrawal > --- > lib/librte_ether/rte_ethdev.c | 15 +++

[dpdk-dev] [PATCH v3 02/15] eal/soc: add rte_eal_soc_register/unregister logic

2016-09-15 Thread Hunt, David
On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > Registeration of a SoC driver through a helper DRIVER_REGISTER_SOC > (on the lines of DRIVER_REGISTER_PCI). soc_driver_list stores all the > registered drivers. > > Test case has been introduced to verify the registration and > deregistration. > > Sign

[dpdk-dev] [PATCH v3 01/15] eal/soc: introduce very essential SoC infra definitions

2016-09-15 Thread Hunt, David
Some small comments below: On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > Define initial structures and functions for the SoC infrastructure. > This patch supports only a very minimal functions for now. > More features will be added in the following commits. > > Includes rte_device/rte_driver inheri

[dpdk-dev] [PATCH] doc/guides: fix name of algorithm

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Tuesday, September 13, 2016 12:06 PM > To: dev at dpdk.org > Cc: Mcnamara, John ; De Lara Guarch, Pablo > ; Jain, Deepak K intel.com> > Subject: [dpdk-dev] [PATCH] doc/guides: fix nam

[dpdk-dev] [PATCH v3 00/15] Introduce SoC device/driver framework for EAL

2016-09-15 Thread Hunt, David
Shreyansh, Jan, Hemant, On 9/9/2016 9:43 AM, Shreyansh Jain wrote: > Introduction: > = > > This patch set is direct derivative of Jan's original series [1],[2]. > > - As this deviates substantially from original series, if need be I can > post it as a separate patch rather than v

[dpdk-dev] [PATCH v3 2/2] app/test: add test cases for NULL for Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Tuesday, September 13, 2016 9:59 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v3 2/2] app/test: add test cases for NULL for Int

[dpdk-dev] [PATCH v3 1/2] crypto/qat: add NULL capability to Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Tuesday, September 13, 2016 9:59 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v3 1/2] crypto/qat: add NULL capability to Intel

[dpdk-dev] [PATCH v2 2/2] app/test: add test cases for aes-sha384-hmac for Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Monday, September 12, 2016 8:51 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v2 2/2] app/test: add test cases for aes-sha384- >

[dpdk-dev] [PATCH v2 1/2] crypto/qat: add aes-sha384-hmac capability to Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Monday, September 12, 2016 8:51 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v2 1/2] crypto/qat: add aes-sha384-hmac > capabili

[dpdk-dev] [PATCH v2 2/2] app/test: add test cases for aes-sha224-hmac for Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Monday, September 12, 2016 8:47 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v2 2/2] app/test: add test cases for aes-sha224- >

[dpdk-dev] [PATCH v2 1/2] crypto/qat: add aes-sha224-hmac capability to Intel QAT driver

2016-09-15 Thread Trahe, Fiona
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Monday, September 12, 2016 8:47 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Jain, Deepak K > > Subject: [dpdk-dev] [PATCH v2 1/2] crypto/qat: add aes-sha224-hmac > capabili

[dpdk-dev] [PATCH] kni: fix compilation error when debug enabled

2016-09-15 Thread Ferruh Yigit
Fix build error with Linux kernel >= v4.7 Fix compile error because of Linux API change, 'trans_start' field removed from 'struct net_device'. Linux: 9b36627acecd ("net: remove dev->trans_start") Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_net.c | 2 +- 1 file changed, 1 in

[dpdk-dev] [PATCH v9 13/25] ethdev: convert to eal hotplug

2016-09-15 Thread Shreyansh Jain
On Monday 12 September 2016 12:46 PM, David Marchand wrote: > On Wed, Sep 7, 2016 at 4:08 PM, Shreyansh Jain > wrote: > > [snip] > >> diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c >> index fdeac86..86c9d1a 100644 >> --- a/lib/librte_ether/rte_ethdev.c >> +++ b/lib/lib

[dpdk-dev] [PATCH v9 06/25] eal: introduce init macros

2016-09-15 Thread Shreyansh Jain
On Monday 12 September 2016 12:45 PM, David Marchand wrote: > On Wed, Sep 7, 2016 at 4:07 PM, Shreyansh Jain > wrote: >> diff --git a/lib/librte_eal/common/include/rte_pci.h >> b/lib/librte_eal/common/include/rte_pci.h >> index fa74962..cf673e4 100644 >> --- a/lib/librte_eal/common/include/rte_p

[dpdk-dev] [PATCH] kni: support RHEL 7.3

2016-09-15 Thread Ferruh Yigit
On 9/14/2016 7:25 PM, Pablo de Lara wrote: > Add support for RHEL 7.3, which uses kernel 3.10, > but backported features from newer kernels. > > Signed-off-by: Pablo de Lara > --- > lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) >

[dpdk-dev] [PATCH v3 3/3] app/test: add Kasumi tests in QAT test suite

2016-09-15 Thread Deepak Kumar Jain
This patch adds Kausmi tests in the QAT tesuite. Signed-off-by: Deepak Kumar Jain --- app/test/test_cryptodev.c | 244 +++-- app/test/test_cryptodev_kasumi_hash_test_vectors.h | 76 +++ app/test/test_cryptodev_kasumi_test_vectors.h | 103 +++

[dpdk-dev] [PATCH v3 2/3] crypto/qat: add Kasumi support in Intel(R) QAT driver

2016-09-15 Thread Deepak Kumar Jain
This patch add kasumi support in Intel(R) QuickAssist driver. Signed-off-by: Deepak Kumar Jain --- doc/guides/cryptodevs/qat.rst| 10 +-- doc/guides/rel_notes/release_16_11.rst | 2 +- drivers/crypto/qat/qat_adf/qat_algs.h| 10 ++- drivers/crypto/qat/qa

[dpdk-dev] [PATCH v3 1/3] app/test: cleanup of test code for kasumi

2016-09-15 Thread Deepak Kumar Jain
Cleanup for easier kasumi enabling. Changed name of funcitons for clear understanding. Signed-off-by: Deepak Kumar Jain --- app/test/test_cryptodev.c | 117 ++ 1 file changed, 55 insertions(+), 62 deletions(-) diff --git a/app/test/test_cryptodev.c b/

[dpdk-dev] [PATCH v3 0/3] add kasumi in Intel(R) QuickAssist driver

2016-09-15 Thread Deepak Kumar Jain
This patchset contains patches to enable kasumi functionality in Intel(R) QuickAsisst Technology Driver. This patchset depends on following patch: "crypto/qat: add Intel(R) QuickAssist C3xxx device" (http://dpdk.org/dev/patchwork/patch/15794/ Deepak Kumar Jain (3): app/test: cleanup of test cod

[dpdk-dev] [PATCH v1]:rte_timer:timer lag issue correction

2016-09-15 Thread Pattan, Reshma
Hi, > > For Periodic timers ,if the lag gets introduced, the current code added > additional > delay when the next peridoc timer was initialized by not taking into account > the > delay added, with this fix the code would start the next occurrence of timer > keeping in account the lag added.Co

[dpdk-dev] [PATCH 3/3] drivers/net:build support for new tap device driver

2016-09-15 Thread Keith Wiles
Signed-off-by: Keith Wiles --- config/common_linuxapp | 3 +++ drivers/net/Makefile | 1 + mk/rte.app.mk | 1 + 3 files changed, 5 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 2483dfa..704c01c 100644 --- a/config/common_linuxapp +++ b/config/common_

[dpdk-dev] [PATCH 2/3] docs:tun/tap PMD information

2016-09-15 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 84 + 1 file changed, 84 insertions(+) create mode 100644 doc/guides/nics/tap.rst diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst new file mode 100644 index 000..072def8 -

[dpdk-dev] [PATCH 1/3] drivers/net:new PMD using tun/tap host interface

2016-09-15 Thread Keith Wiles
The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces on the local host. The PMD allows for DPDK and the host to communicate using a raw device interface on the host and in the DPDK application. The device created is a Tap device with a L2 packet header. Signed-off-by: Keith Wiles ---

[dpdk-dev] [PATCH v2 2/2] vhost: add vhost-scsi support to vhost library

2016-09-15 Thread Changpeng Liu
Since we changed the vhost library as a common framework to add other VIRTIO device type, here we add VIRTIO_ID_SCSI device type to vhost library to support vhost-scsi target. Signed-off-by: Changpeng Liu --- lib/librte_vhost/Makefile | 4 +- lib/librte_vhost/rte_virtio_dev.h | 1 +

[dpdk-dev] [PATCH v2 1/2] vhost: change the vhost library to a common framework which can support more VIRTIO devices

2016-09-15 Thread Changpeng Liu
For storage virtualization use cases, vhost-scsi becomes a more popular solution to support VMs. However a user space vhost-scsi-user solution does not exist currently. SPDK(Storage Performance Development Kit, https://github.com/spdk/spdk) will provide a user space vhost-scsi target to support mul

[dpdk-dev] hw checksum offload feature issue

2016-09-15 Thread Balasubramanian, RajaramanX
Hi, We are developing CGNAT VNF over DPDK. In that, we have NAT64 feature included which basically does IPv6 to IPv4 NAT translation and vice versa. When we do conversion from IPv6 to IPv4, we have used dpdk mbuf library function rte_pktmbuf_adj() to remove 20 bytes of IPv6 header at t