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

2016-09-16 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 cbb934d..4e09da4 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c ++

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

2016-09-16 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 v2 05/19] kni: prefer unsigned int to unsigned

2016-09-16 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 v2 06/19] kni: remove useless return

2016-09-16 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 v2 07/19] kni: comparisons should place the constant on the right

2016-09-16 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 v2 08/19] kni: trailing statements should be on next line

2016-09-16 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 v2 09/19] kni: do not use assignment in if condition

2016-09-16 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 v2 10/19] kni: macros with complex values should be enclosed in parentheses

2016-09-16 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 v2 11/19] kni: prefer min_t to min

2016-09-16 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 v2 12/19] kni: prefer ether_addr_copy to memcpy

2016-09-16 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] [PATCH v2 13/19] kni: update kernel logging

2016-09-16 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 v2 14/19] kni: remove unnecessary 'out of memory' message

2016-09-16 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 v2 15/19] kni: move functions to eliminate function declarations

2016-09-16 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 v2 16/19] kni: remove compile time debug configuration

2016-09-16 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 v2 17/19] kni: updated log messages

2016-09-16 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 v2 18/19] kni: prefer uint32_t to unsigned int

2016-09-16 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 v2 19/19] kni: move kernel version ifdefs to compat header

2016-09-16 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] How to include pre-build object file (.o) in DPDK makefile?

2016-09-16 Thread Lu, Patrick
Hi, I'm trying to include some hand written assembly (compiled by yasm) in my DPDK program. I couldn't find any example linking the DPDK C code with pre-compiled .o file. I've searched the mk/ and found OBJS-y seems the right variable to include .o file, but when generating the final executable

[dpdk-dev] [PATCH v5]net/virtio: add mtu set in virtio

2016-09-16 Thread souvikdey33
Virtio interfaces should also support setting of mtu, as in case of cloud it is expected to have the consistent mtu across the infrastructure that the dhcp server sends and not hardcoded to 1500(default). In case when GRE/VXLAN tunneling is used, it adds overheads to the total size of 1518, and in

[dpdk-dev] How to include pre-build object file (.o) in DPDK makefile?

2016-09-16 Thread Ferruh Yigit
On 9/16/2016 6:04 PM, Lu, Patrick wrote: > Hi, > > I'm trying to include some hand written assembly (compiled by yasm) in my > DPDK program. I couldn't find any example linking the DPDK C code with > pre-compiled .o file. I've searched the mk/ and found OBJS-y seems the right > variable to incl

[dpdk-dev] How to include pre-build object file (.o) in DPDK makefile?

2016-09-16 Thread Lu, Patrick
-Original Message- From: Yigit, Ferruh Sent: Friday, September 16, 2016 11:05 AM To: Lu, Patrick ; dev at dpdk.org Subject: Re: [dpdk-dev] How to include pre-build object file (.o) in DPDK makefile? On 9/16/2016 6:04 PM, Lu, Patrick wrote: > Hi, > > I'm trying to include some hand writt

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

2016-09-16 Thread Pablo de Lara
Add support for RHEL 7.3, which uses kernel 3.10, but backported features from newer kernels. Signed-off-by: Pablo de Lara --- Changes in v2: - Simplified conditional logic lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[dpdk-dev] [PATCH] crypto/null: fix key size increment value

2016-09-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jain, Deepak K > Sent: Friday, September 16, 2016 3:50 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [PATCH] crypto/null: fix key size increment value > > This patch fixes the values of increment in key size. > > Fixes:

[dpdk-dev] [PATCH v4 0/2] add NULL crypto support in Intel QAT driver

2016-09-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jain, Deepak K > Sent: Friday, September 16, 2016 1:57 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [PATCH v4 0/2] add NULL crypto support in Intel QAT driver > > This patchset adds support of NULL crypto in Intel(R) QuickAs

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

2016-09-16 Thread De Lara Guarch, Pablo
Hi Deepak, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Thursday, September 15, 2016 3: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

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

2016-09-16 Thread De Lara Guarch, Pablo
Hi Deepak, > -Original Message- > From: Jain, Deepak K > Sent: Thursday, September 15, 2016 3:04 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [PATCH v3 2/3] crypto/qat: add Kasumi support in Intel(R) QAT > driver > > This patch add kasumi support in Inte

[dpdk-dev] [PATCH 01/17] qede/base: update base driver

2016-09-16 Thread Mody, Rasesh
Hi Ferruh, > From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > Sent: Friday, September 16, 2016 5:49 AM > > Hi Rasesh, > > On 8/27/2016 7:26 AM, Rasesh Mody wrote: > > This patch updates the base driver and incorporates neccessary changes > > required to bring in the new firmware 8.10.9.0.

<    1   2