Re: [dpdk-dev] Vendor specific sub-trees under next-net

2017-10-14 Thread Shahaf Shuler
Friday, October 13, 2017 2:31 AM, Ferruh Yigit: > On 10/13/2017 12:29 AM, Ferruh Yigit wrote: > > Hi Thomas, et al > > > > Previously it has been mentioned [1] to have vendor specific driver > > trees under next-net. > > > > And recently Mellanox agreed to have a Mellanox tree [2]. > > > > Intel al

Re: [dpdk-dev] [PATCH v2 2/2] igb_uio: fix interrupt enablement after FLR in VM

2017-10-14 Thread Gregory Etelson
I'll start to build setup environment this week. Regards, Gregory On Sat, Oct 14, 2017 at 12:11 AM, Ferruh Yigit wrote: > On 10/13/2017 9:12 AM, Shijith Thotton wrote: > <...> > > > Hi Jingjing, > > > > This patch perfectly meets requirements as both resets are retained > > (open and release). T

[dpdk-dev] [PATCH v4 11/12] crypto/dpaa2_sec: add support for protocol offload ipsec

2017-10-14 Thread Akhil Goyal
Driver implementation to support rte_security APIs Signed-off-by: Akhil Goyal --- doc/guides/cryptodevs/features/dpaa2_sec.ini | 1 + drivers/crypto/Makefile | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 420 ++- drivers/crypto/dpaa2_sec/

[dpdk-dev] [PATCH v4 12/12] examples/ipsec-secgw: add support for security offload

2017-10-14 Thread Akhil Goyal
Ipsec-secgw application is modified so that it can support following type of actions for crypto operations 1. full protocol offload using crypto devices. 2. inline ipsec using ethernet devices to perform crypto operations 3. full protocol offload using ethernet devices. 4. non protocol offload Sig

[dpdk-dev] [PATCH v4 09/12] mk: add rte security into build system

2017-10-14 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Signed-off-by: Radu Nicolau --- MAINTAINERS| 6 ++ config/common_base | 6 ++ lib/Makefile | 5 + mk/rte.app.mk | 1 + 4 files changed, 18 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8518a99..bc9f9cf 100644 --- a/MAINTAINE

[dpdk-dev] [PATCH v4 10/12] net/ixgbe: enable inline ipsec

2017-10-14 Thread Akhil Goyal
From: Radu Nicolau Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty --- drivers/net/Makefile | 2 +- drivers/net/ixgbe/Makefile | 2 +- drivers/net/ixgbe/base/ixgbe_osdep.h | 8 + drivers/net/ixgbe/ixgbe_ethdev.c | 19 + drivers/net/ixgbe/i

[dpdk-dev] [PATCH v4 08/12] doc: add details of rte_flow security actions

2017-10-14 Thread Akhil Goyal
From: Boris Pismenny Signed-off-by: Boris Pismenny Reviewed-by: John McNamara --- doc/guides/prog_guide/rte_flow.rst | 84 +- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.

[dpdk-dev] [PATCH v4 07/12] ethdev: add rte flow action for crypto

2017-10-14 Thread Akhil Goyal
From: Boris Pismenny The crypto action is specified by an application to request crypto offload for a flow. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel --- lib/librte_ether/rte_flow.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/l

[dpdk-dev] [PATCH v4 06/12] ethdev: support security APIs

2017-10-14 Thread Akhil Goyal
From: Declan Doherty rte_flow_action type and ethdev updated to support rte_security sessions for crypto offload to ethernet device. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v4 04/12] net: add ESP header to generic flow steering

2017-10-14 Thread Akhil Goyal
From: Boris Pismenny The ESP header is required for IPsec crypto actions. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel --- doc/api/doxy-api-index.md | 3 ++- lib/librte_ether/rte_flow.h | 26 lib/librte_net/Makefile | 2 +- lib/librte_net/rte_esp.h

[dpdk-dev] [PATCH v4 05/12] mbuf: add security crypto flags and mbuf fields

2017-10-14 Thread Akhil Goyal
From: Boris Pismenny Add security crypto flags and update mbuf fields to support IPsec crypto offload for transmitted packets, and to indicate crypto result for received packets. Signed-off-by: Aviad Yehezkel Signed-off-by: Boris Pismenny Signed-off-by: Radu Nicolau --- lib/librte_mbuf/rte_m

[dpdk-dev] [PATCH v4 03/12] cryptodev: support security APIs

2017-10-14 Thread Akhil Goyal
Security ops are added to crypto device to support protocol offloaded security operations. Signed-off-by: Akhil Goyal Signed-off-by: Declan Doherty --- doc/guides/cryptodevs/features/default.ini | 1 + lib/librte_cryptodev/rte_crypto.h | 3 ++- lib/librte_cryptodev/rte_crypto

[dpdk-dev] [PATCH v4 02/12] doc: add details of rte security

2017-10-14 Thread Akhil Goyal
Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked-by: John McNamara --- doc/api/doxy-api-index.md | 3 +- doc/api/doxy-api.conf | 1 + doc/guides/prog_guide/index.rst| 1 + doc/guides/prog_guide/rte_security.rst | 559

[dpdk-dev] [PATCH v4 01/12] lib/rte_security: add security library

2017-10-14 Thread Akhil Goyal
rte_security library provides APIs for security session create/free for protocol offload or offloaded crypto operation to ethernet device. Signed-off-by: Akhil Goyal Signed-off-by: Boris Pismenny Signed-off-by: Radu Nicolau Signed-off-by: Declan Doherty Signed-off-by: Aviad Yehezkel --- lib/

[dpdk-dev] [PATCH v4 00/12] introduce security offload library

2017-10-14 Thread Akhil Goyal
This patchset introduce the rte_security library in DPDK. This also includes the sample implementation of drivers and changes in ipsec gateway application to demonstrate its usage. rte_security library is implemented on the idea proposed earlier [1],[2],[3] to support IPsec Inline and look aside

Re: [dpdk-dev] Shared compilation issue - mempool/octeontx: add build and log infrastructure

2017-10-14 Thread santosh
On Saturday 14 October 2017 11:37 AM, Hemant Agrawal wrote: > Santosh/jerin, > Your patch "mempool/octeontx: add build and log infrastructure" is > causing shared build failure for NXP's patch "event/dpaa2: support event eth > adapter", which is still under review. > http://dpdk.org/dev/pa

[dpdk-dev] [PATCH 07/11] examples/ipsec-secgw: Fixed phyiscal address of aad

2017-10-14 Thread aviadye
From: Aviad Yehezkel Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/esp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index 689e917..aa2233d 100644 --- a/examples/ipsec-secgw/esp.c +++ b/examples/ipsec-sec

[dpdk-dev] [PATCH 10/11] app/testpmd: compile even if ixgbe anf bnxt pmds are not compiling

2017-10-14 Thread aviadye
From: Aviad Yehezkel Signed-off-by: Aviad Yehezkel Signed-off-by: Nicolai Radu --- app/test-pmd/cmdline.c | 13 ++--- app/test-pmd/config.c | 12 +++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index bb19d72.

[dpdk-dev] [PATCH 11/11] examples/ipsec-secgw: Ethernet MAC configuration is now dynamic throw conf file

2017-10-14 Thread aviadye
From: Aviad Yehezkel Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/Makefile | 1 + examples/ipsec-secgw/ep0.cfg | 6 + examples/ipsec-secgw/ep1.cfg | 6 + examples/ipsec-secgw/eth.c | 238 + examples/ipsec-secgw/ipsec-s

[dpdk-dev] [PATCH 05/11] examples/ipsec-secgw: Fixed transport

2017-10-14 Thread aviadye
From: Aviad Yehezkel Seems like transport was broken for a long time Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/esp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index 70bb81f..56ad7a0 100644 --- a/exam

[dpdk-dev] [PATCH 08/11] examples/ipsec-secgw: iv should be be64

2017-10-14 Thread aviadye
From: Aviad Yehezkel To be compatibile with Linux kernel Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/esp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index aa2233d..81ebf55 100644 --- a/examples

[dpdk-dev] [PATCH 09/11] examples/ipsec-secgw: Fixed ip length in case of transport

2017-10-14 Thread aviadye
From: Aviad Yehezkel IP length was incorrect causing corrupted ICMP packets for example Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/esp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index 81ebf55..12

[dpdk-dev] [PATCH 06/11] examples/ipsec-secgw: Added correct padding to tunnel mode

2017-10-14 Thread aviadye
From: Aviad Yehezkel Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/esp.c | 51 ++ 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c index 56ad7a0..689e917 100644 --- a/exam

[dpdk-dev] [PATCH 01/11] examples/ipsec-secgw: updated MAINTAINERS file

2017-10-14 Thread aviadye
From: Aviad Yehezkel As agreed with Sergio and Pablo Signed-off-by: Aviad Yehezkel --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c00d6d8..d814ac1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -919,6 +919,7 @@ F: examples/helloworld/ F: doc

[dpdk-dev] [PATCH 04/11] examples/ipsec-secgw: Fix aad_len for for aes-gcm support

2017-10-14 Thread aviadye
From: Aviad Yehezkel This cause auth failure issue Seems like this was broken for aes-gcm for a long time Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c index

[dpdk-dev] [PATCH 03/11] examples/ipsec-secgw: Fixed create session also for aead

2017-10-14 Thread aviadye
From: Aviad Yehezkel Search for session also with aead key Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/ipsec.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index 0afb9d6..daa1d7b 100644 --- a/

[dpdk-dev] [PATCH 02/11] examples/ipsec-secgw: Fixed init of aead crypto devices

2017-10-14 Thread aviadye
From: Aviad Yehezkel This was broken since new aead xfrom was introduced Signed-off-by: Aviad Yehezkel --- examples/ipsec-secgw/ipsec-secgw.c | 29 +++-- examples/ipsec-secgw/ipsec.h | 1 + 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/examples

[dpdk-dev] [PATCH v9 3/3] app/test-pmd: add CLI for TM nodes and hierarchy commit

2017-10-14 Thread Jasvinder Singh
Add following CLIs in testpmd application for device traffic management; - commands to add TM hierarchy nodes (leaf and nonleaf). - command for runtime update of node weight. - command to commit the TM hierarchy Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- v8 change: - change

[dpdk-dev] [PATCH v9 2/3] app/test-pmd: add CLI for shaper and wred profiles

2017-10-14 Thread Jasvinder Singh
Add following CLIs in testpmd application for device traffic management; - commands to add/del shaper profile for TM hieraqrchy nodes. - commands to add/update shared shapers - commands to add/del WRED profiles for TM hiearchy leaf nodes. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitres

[dpdk-dev] [PATCH v9 1/3] app/test-pmd: add CLI for TM capability and stats

2017-10-14 Thread Jasvinder Singh
Add following CLIs to testpmd application for device traffic management; - commands to display TM capability information. (per port, per hierarchy level and per hierarchy node) - command to display hiearchy node type - stats collection Signed-off-by: Jasvinder Singh Tested-by: Yulong Pei Revie