[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-08-25 Thread Pablo de Lara
As discussed in the past release, driver names are modified to be more consistent, and the future driver should follow this new convention. Driver names consist of: "driver category"_"driver folder name"_"optional extra name". For example: - Crypto null driver -> "crypto_null" - Network

[dpdk-dev] [PATCH v2 0/2] lpm6: speed improvement on delete rule

2016-08-25 Thread Nikita Kozlov
This serie of pathes focus on improving the speed of deleting rules in lpm6. It also contains some other improvement like having a dynamic number of rules in lpm6 and increasing the lpm6 nexthop size to 16bit for matching the nexthop size in lpm4. The performances improvement can be seen by

[dpdk-dev] [PATCH v2 2/2] test_lpm6: make test_lpm6* compatible with the new rte_lpm6.c lib

2016-08-25 Thread Nikita Kozlov
Modify of test_lpm6.c to reflect that we no longer have a maximum number of rules. Check in some places that we are using the same number of tbl8 as the previous implementation after a rte_lpm6_delete. Signed-off-by: Nikita Kozlov Signed-off-by: Baptiste Daroussin --- app/test/test_lpm6.c

[dpdk-dev] [PATCH v2 1/2] lpm6: speed inmprovement on delete rule

2016-08-25 Thread Nikita Kozlov
Rewrite rte_lpm6_delete* logic for deleting only the selected rule instead of deleting all rules and re-inserting them. the delete_step() function is called recursively and delete the rule until the rule depth is covered. Then it calls delete_expand_step() which will ensure to delete the expanded

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-25 Thread Lu, Wenzhuo
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Wednesday, August 24, 2016 11:22 PM > To: Iremonger, Bernard; Lu, Wenzhuo; dev at dpdk.org > Cc: De Lara Guarch, Pablo; Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe > > Hi

[dpdk-dev] [PATCH 7/7] vhost: simplify features set/get

2016-08-25 Thread Yuanhan Liu
On Wed, Aug 24, 2016 at 10:11:57AM +0200, Maxime Coquelin wrote: > > > On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > >No need to use a pointer to store/retrieve features. > > > >Signed-off-by: Yuanhan Liu > >--- > > lib/librte_vhost/vhost_user.c | 20 > > 1 file changed, 8

[dpdk-dev] [PATCH v3 4/5] vhost: batch update used ring

2016-08-25 Thread Yuanhan Liu
On Fri, Aug 19, 2016 at 01:43:49AM -0400, Zhihong Wang wrote: > This patch enables batch update of the used ring for better efficiency. > > Signed-off-by: Zhihong Wang ... > diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c > index 1785695..87d09fa 100644 > ---

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-25 Thread Yuanhan Liu
On Mon, Aug 22, 2016 at 11:35:47AM +0200, Maxime Coquelin wrote: > >-virtio_enqueue_offload(m, _hdr.hdr); > >-copy_virtio_net_hdr(dev, desc_addr, virtio_hdr); > >+/* handle virtio header */ > >+virtio_hdr = (struct virtio_net_hdr_mrg_rxbuf *)(uintptr_t)desc_addr; > >+

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Keren Hochman
Hi, I there a way to permanently bind a nic port when using DPDK drier with kernel < 3.6 ? (In this kernel VFIO driver is not supported)? Thanks, Keren

[dpdk-dev] [PATCH v3 4/5] vhost: batch update used ring

2016-08-25 Thread Wang, Zhihong
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, August 25, 2016 11:48 AM > To: Wang, Zhihong > Cc: dev at dpdk.org; maxime.coquelin at redhat.com > Subject: Re: [PATCH v3 4/5] vhost: batch update used ring > > On Fri, Aug 19, 2016 at

[dpdk-dev] Huge ring allocation

2016-08-25 Thread Gregory Etelson
Hello, I have a DPDK process that creates pktmbuf pool with 2_000_000 objects In CentOS 6.x x86-64, ring size of this pool is 16MB 8 2MB hugepages required to hold such ring. In some cases, hugepages are too fragmented and there are no 8 contiguous hugepages for the ring. As the result, the

[dpdk-dev] Vhost user: Increase robustness by kicking guest at ring full

2016-08-25 Thread Patrik Andersson R
Hi, during trouble shooting sessions (OVS 2.4.1, DPDK 2.2.0) it was noticed that some guests trigger the SET_VRING_CALL message rather frequently. This can be all from a few times per minute up to 10 times per second. From DPDK log: ... 2016-08-01T19:58:39.829222+09:00 compute-0-6

[dpdk-dev] [PATCH 7/7] vhost: simplify features set/get

2016-08-25 Thread Maxime Coquelin
On 08/25/2016 05:03 AM, Yuanhan Liu wrote: > On Wed, Aug 24, 2016 at 10:11:57AM +0200, Maxime Coquelin wrote: >> >> >> On 08/18/2016 10:48 AM, Yuanhan Liu wrote: >>> No need to use a pointer to store/retrieve features. >>> >>> Signed-off-by: Yuanhan Liu >>> --- >>> lib/librte_vhost/vhost_user.c

[dpdk-dev] [PATCH 00/12] net/i40e: share code update

2016-08-25 Thread Zhang Qi
The patch enable 25G PHY support, add WoL and proxy configure feature for X722 and other features for all i40e familiy. Zhang Qi (12): net/i40e/base: add function to clear default VSI net/i40e/base: fix UDP packet header net/i40e/base: define macros for PHY type caps net/i40e/base: add

[dpdk-dev] [PATCH 01/12] net/i40e/base: add function to clear default VSI

2016-08-25 Thread Zhang Qi
Add function that help to return the VSI to Promiscuous Unicast mode. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_common.c| 28 drivers/net/i40e/base/i40e_prototype.h | 2 ++ 2 files changed, 30 insertions(+) diff --git

[dpdk-dev] [PATCH 02/12] net/i40e/base: fix UDP packet header

2016-08-25 Thread Zhang Qi
Correct Rx ptype payload layer for non_tunneled ipv6. Fixes: 8db9e2a1b232 ("i40e: base driver") Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH 03/12] net/i40e/base: define macros for PHY type cap

2016-08-25 Thread Zhang Qi
Define macros for PHY type capabilities to replace exist enum type. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_type.h | 60 +++ 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/drivers/net/i40e/base/i40e_type.h

[dpdk-dev] [PATCH 04/12] net/i40e/base: add 25G PHY capability support

2016-08-25 Thread Zhang Qi
Add PHY type macros for 25G PHY capabilities. Change data type and bit setting defines for 25G. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 11 ++- drivers/net/i40e/base/i40e_type.h | 6 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH 05/12] net/i40e/base: enable 25G get PHY abilities

2016-08-25 Thread Zhang Qi
Add extended PHY types to get PHY abilities command response struct for 25G, then put PHY types for 25g into the proper PHY_Type_Ext field. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 15 +-- drivers/net/i40e/base/i40e_common.c | 4 +++- 2 files

[dpdk-dev] [PATCH 06/12] net/i40e/base: enable wake on LAN for X722

2016-08-25 Thread Zhang Qi
Add macro and data structure to support wake on LAN feature for X722. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 36 + 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h

[dpdk-dev] [PATCH 07/12] net/i40e/base: enable set/get HMC resource profile

2016-08-25 Thread Zhang Qi
Enable admin queue command that can get or set HMC resource profile Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h

[dpdk-dev] [PATCH 08/12] net/i40e/base: add multicast magic packet enable flag

2016-08-25 Thread Zhang Qi
Add a definiation for multicast magic packet enable flag Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h index 271bebe..a1594eb 100644 ---

[dpdk-dev] [PATCH 09/12] net/i40e/base: enable proxy cmd for x722

2016-08-25 Thread Zhang Qi
Fill the data structure for set proxying configuration command table entry for X722 Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 38 ++--- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h

[dpdk-dev] [PATCH 10/12] net/i40e: minor changes for clean up

2016-08-25 Thread Zhang Qi
Remove unused device ID. Remove unused compile option. Adjust code alignment. Standardize macros. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_common.c | 18 -- drivers/net/i40e/base/i40e_devids.h | 1 - drivers/net/i40e/base/i40e_type.h | 6 --

[dpdk-dev] [PATCH 11/12] net/i40e/base: add function to get SAN MAC address

2016-08-25 Thread Zhang Qi
Add function that reads the adapter's SAN MAC address from NVM Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_common.c| 26 ++ drivers/net/i40e/base/i40e_prototype.h | 1 + 2 files changed, 27 insertions(+) diff --git a/drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH 12/12] net/i40e/base: add FCoE support

2016-08-25 Thread Zhang Qi
Enable FCoE in get PHY capability. Add data structure for FCoE statistics collection. Signed-off-by: Zhang Qi --- drivers/net/i40e/base/i40e_adminq_cmd.h | 12 +- drivers/net/i40e/base/i40e_type.h | 219 2 files changed, 230 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH 7/7] vhost: simplify features set/get

2016-08-25 Thread Xu, Qian Q
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin Sent: Thursday, August 25, 2016 3:19 PM To: Yuanhan Liu Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 7/7] vhost: simplify features set/get On 08/25/2016 05:03 AM, Yuanhan Liu wrote: > On

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-25 Thread Iremonger, Bernard
Hi Wenzhuo, > > > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on > > > > ixgbe > > > > > > > > An issue is found that DCB cannot be configured on ixgbe NICs. > > > > It's said the TX queue number is not right. > > > > On ixgbe the max TX queue number is not fixed, it depends

[dpdk-dev] [PATCH 7/7] vhost: simplify features set/get

2016-08-25 Thread Maxime Coquelin
On 08/25/2016 10:36 AM, Xu, Qian Q wrote: > > > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maxime Coquelin > Sent: Thursday, August 25, 2016 3:19 PM > To: Yuanhan Liu > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 7/7] vhost: simplify features

[dpdk-dev] [PATCH] vhost: add pmd xstats

2016-08-25 Thread Yang, Zhiyong
> -Original Message- > From: Panu Matilainen [mailto:pmatilai at redhat.com] > Sent: Wednesday, August 24, 2016 8:37 PM > To: Thomas Monjalon ; Yuanhan Liu > > Cc: dev at dpdk.org; Yang, Zhiyong > Subject: Re: [dpdk-dev] [PATCH] vhost: add pmd xstats > > On 08/24/2016 11:44 AM, Thomas

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Mcnamara, John
Hi, Welcome to DPDK and thanks for the contribution. It looks like a useful fix. Since you are a new contributor the user guide on "Contributing Code to DPDK" explains some of the steps involved: http://dpdk.org/doc/guides/contributing/patches.html Some comments below. > -Original

[dpdk-dev] [PATCH] tools: add crypto device details

2016-08-25 Thread Eoin Breen
Adding the support to bind/unbind crypto devices with dpdk-devbind.py script, as now it is not restricted to network devices anymore. Signed-off-by: Eoin Breen --- tools/dpdk-devbind.py | 106 ++ 1 file changed, 98 insertions(+), 8 deletions(-)

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, August 25, 2016 11:19 AM > To: Mcnamara, John > Cc: dev at dpdk.org; souvikdey33 ; nhorman at > tuxdriver.com > Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface >

[dpdk-dev] [PATCH] tools: add crypto device details

2016-08-25 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Eoin Breen > Sent: Thursday, August 25, 2016 11:05 AM > To: Jain, Deepak K ; Trahe, Fiona > ; Griffin, John > Cc: dev at dpdk.org; Breen, Eoin > Subject: [dpdk-dev] [PATCH] tools: add crypto device details >

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Ferruh Yigit
On 8/25/2016 5:57 AM, Keren Hochman wrote: > Hi, > I there a way to permanently bind a nic port when using DPDK drier with > kernel < 3.6 ? (In this kernel VFIO driver is not supported)? > Thanks, Keren > There was a tool from Panu for this purpose:

[dpdk-dev] [PATCH] net/bnxt: make driver less verbose

2016-08-25 Thread Ferruh Yigit
This line printed for every application even if driver is not used at all. Removing the line to reduce the noise. Signed-off-by: Ferruh Yigit --- drivers/net/bnxt/bnxt_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c

[dpdk-dev] [PATCH 1/3] kni: remove single mempool, single mem_chunk restriction

2016-08-25 Thread Ferruh Yigit
Use mempool buf_addr and buf_physaddr fields for address translation. Since each mbuf address calculated separately, the restriction of all mbufs should come from a continuous memory restriction is no more valid. mbuf related FIFO's content changed, rx_q and alloc_q now carries physical address

[dpdk-dev] [PATCH 2/3] kni: don't use mbuf_va and mbuf_kva

2016-08-25 Thread Ferruh Yigit
These variables was for address translation and no more used. Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/kni_misc.c | 6 -- lib/librte_kni/rte_kni.c | 2 -- 2 files changed, 8 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c

[dpdk-dev] [PATCH 3/3] kni: remove mempool number of mem chunk check

2016-08-25 Thread Ferruh Yigit
KNI supports only single mem chunk restriction is no more valid. Signed-off-by: Ferruh Yigit --- lib/librte_kni/rte_kni.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/librte_kni/rte_kni.c b/lib/librte_kni/rte_kni.c index 21bf9d4..08bd999 100644 --- a/lib/librte_kni/rte_kni.c +++

[dpdk-dev] [PATCH] kni: bug fix in module_init and module_exit

2016-08-25 Thread 郭鹏飞

[PATCH] kni: bug fix in module_init and module_exit unregister_XXX should be called when module exits or error occurs during module init, but register_XXX is called in case that HAVE_SIMPLIFIED_PERNET

2016-08-25 Thread Vincent Guo
--- lib/librte_eal/linuxapp/kni/kni_misc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index 67e9b7d..d7850be 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c +++

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Panu Matilainen
On 08/25/2016 02:01 PM, Ferruh Yigit wrote: > On 8/25/2016 5:57 AM, Keren Hochman wrote: >> Hi, >> I there a way to permanently bind a nic port when using DPDK drier with >> kernel < 3.6 ? (In this kernel VFIO driver is not supported)? >> Thanks, Keren >> > > There was a tool from Panu for this

[dpdk-dev] [PATCH 0/3] Fix compability issues between crypto drivers for GCM test cases

2016-08-25 Thread Arek Kusztal
This patchset fix pre-counter block issues between crypto divers for AES-GCM tests. Pre-counter block 96b computation from test file is moved into the AES-GCM PMD. This patch set fixes too problems with verification of digest for AES-GCM. Arek Kusztal (3): crypto/aesni_gcm: move pre-counter

[dpdk-dev] [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM driver

2016-08-25 Thread Arek Kusztal
This patch moves computing of pre-counter block into the AESNI-GCM driver so it can be moved from test files. Signed-off-by: Arek Kusztal --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH 2/3] app/test: move pre-counter block computation from test files

2016-08-25 Thread Arek Kusztal
This patch removes pre-counter block computation from test_cryptodev.c file for AES GCM Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 647787d..227bd7d

[dpdk-dev] [PATCH 3/3] app/test: fix verification of digest in GCM crypto test

2016-08-25 Thread Arek Kusztal
This patch fixes verification of digest in test_cryptodev.c file for AES GCM test cases Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations") Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[dpdk-dev] Huge ring allocation

2016-08-25 Thread Wiles, Keith
Regards, Keith > On Aug 25, 2016, at 1:05 AM, Gregory Etelson wrote: > > Hello, > > I have a DPDK process that creates pktmbuf pool with 2_000_000 objects > In CentOS 6.x x86-64, ring size of this pool is 16MB > 8 2MB hugepages required to hold such ring. Have you try to use 1G huge pages,

[dpdk-dev] Huge ring allocation

2016-08-25 Thread anupam
> [2016-08-25T17:52:26+0530]: "Keith Wiles" (keith-wiles): ,[ keith-wiles ] | Another issue sometimes is huge pages are allocated after the system | has booted, which means you need to assign the number of huge pages very | early in the boot process. This means adding a line in the

[dpdk-dev] [PATCH v2] crypto/qat: add Intel QuickAssist C62x device

2016-08-25 Thread Deepak Kumar Jain
From: Deepak Kumar JAIN Signed-off-by: Deepak Kumar Jain --- Changes since V1: Removed trialing white spaces doc/guides/cryptodevs/qat.rst | 82 -- drivers/crypto/qat/rte_qat_cryptodev.c | 3 ++ 2 files changed, 81

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

2016-08-25 Thread Deepak Kumar Jain
This patchset contains patches to enable kasumi cipher only and hash only functionality in Intel(R) QuickAsisst Technology Driver. This patchset depends on following patch: "crypto/qat: add NULL capability to Intel QAT driver" (http://dpdk.org/dev/patchwork/patch/15230/) Changes since V1: *

[dpdk-dev] [PATCH v2 1/4] crypto/qat: enable Kasumi F9 support in QAT driver

2016-08-25 Thread Deepak Kumar Jain
From: Deepak Kumar JAIN The changes in this patch enables the Kasumi F9 functionality for Intel Quick Assist Technology Signed-off-by: Deepak Kumar Jain --- doc/guides/cryptodevs/qat.rst| 5 ++-- drivers/crypto/qat/qat_adf/qat_algs.h|

[dpdk-dev] [PATCH v2 2/4] app/test: add Kasumi f9 tests in QAT test suite

2016-08-25 Thread Deepak Kumar Jain
From: Deepak Kumar JAIN This patch adds Kausmi f9 tests in the QAT tesuite and add an additional test for Kasumi F9. Signed-off-by: Deepak Kumar Jain --- app/test/test_cryptodev.c | 12 ++ app/test/test_cryptodev_kasumi_hash_test_vectors.h

[dpdk-dev] [PATCH v2 3/4] crypto/qat: enable support of Kasumi F8 in QAT cryptodev

2016-08-25 Thread Deepak Kumar Jain
From: Deepak Kumar JAIN This patch enables the support of Kasumi F8 for Intel Quick Assist Technology. Signed-off-by: Deepak Kumar Jain --- doc/guides/cryptodevs/qat.rst| 5 +-- drivers/crypto/qat/qat_adf/qat_algs.h| 3 +-

[dpdk-dev] [PATCH v2 4/4] app/test: add kasumi f8 test into QAT testsuite

2016-08-25 Thread Deepak Kumar Jain
From: Deepak Kumar JAIN Signed-off-by: Deepak Kumar Jain --- app/test/test_cryptodev.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index a0dae4f..fa16d32 100644 --- a/app/test/test_cryptodev.c +++

[dpdk-dev] [PATCH] kni: error rollback with kni_dev_remove could cause a kernel crash

2016-08-25 Thread Ferruh Yigit
From: ZhouYates Signed-off-by: ZhouYates --- lib/librte_eal/linuxapp/kni/kni_misc.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index 59d15ca..7ef17f5 100644

[dpdk-dev] [PATCH v2] tools: add crypto device details

2016-08-25 Thread Eoin Breen
Adding the support to bind/unbind crypto devices with dpdk-devbind.py script, as now it is not restricted to network devices anymore. Signed-off-by: Eoin Breen --- Changes since v1: * Resolved coding issues tools/dpdk-devbind.py | 107 ++ 1 file

[dpdk-dev] [PATCH] kni: error rollback with kni_dev_remove could cause a kernel crash

2016-08-25 Thread Ferruh Yigit
Hi ZhouYates, On 8/25/2016 2:41 PM, Ferruh Yigit wrote: > From: ZhouYates I have re-sent your exact patch which was sent as attachment. Thank you for the patch, can you please follow contribution guide for next version of the patch? More details on:

[dpdk-dev] dpdk 16.07, issues with rte_mempool_create and rte_kni_alloc()

2016-08-25 Thread Ferruh Yigit
On 8/10/2016 11:51 AM, Ferruh Yigit wrote: > Hi Gopakumar, > > On 8/4/2016 5:14 PM, Ferruh Yigit wrote: >> On 8/1/2016 10:19 PM, Gopakumar Choorakkot Edakkunni wrote: >>> Well, for my purpose I just ended up creating a seperate/smaller pool >>> earlier during bootup to try to guarantee its from

[dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)

2016-08-25 Thread Ajay Khambadkone
Let me rephrase the question. I just started a skeleton app that uses dpdk, did the rte_eal_init. After that I did a pthread_create that failed, why does this happen? How do I get around this? -Ajay -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ajay

[dpdk-dev] dpdk 16.07, issues with rte_mempool_create and rte_kni_alloc()

2016-08-25 Thread Gopakumar Choorakkot Edakkunni
Thank you Ferruh, I will give this a spin over the weekend and let you know. Rgds, Gopa. On Thu, Aug 25, 2016 at 6:51 AM, Ferruh Yigit wrote: > On 8/10/2016 11:51 AM, Ferruh Yigit wrote: > > Hi Gopakumar, > > > > On 8/4/2016 5:14 PM, Ferruh Yigit wrote: > >> On 8/1/2016 10:19 PM, Gopakumar

[dpdk-dev] [PATCH] kni: add module parameter 'bind_to_core'

2016-08-25 Thread Ferruh Yigit
Hi Vladyslav, On 8/16/2016 7:24 PM, Vladyslav Buslov wrote: > Allow binding KNI thread to specific core in single threaded mode. I think this is good idea. But I am not sure about making this a module parameter, setting core can be more dynamic. There is already a kni->core_id field, which is

[dpdk-dev] [PATCH 0/3] add GMAC capability Intel QAT driver

2016-08-25 Thread Arek Kusztal
This patches add AES GMAC capability to Intel(R) QuickAssist Technology driver and corresponsing test cases. This patchset depends on the following patches/patchsets: "crypto/qat: enable Kasumi F9 support in QAT driver" (http://dpdk.org/dev/patchwork/patch/15320/) Arek Kusztal (3):

[dpdk-dev] [PATCH 1/3] crypto/qat: add GMAC capability to QAT crypto driver

2016-08-25 Thread Arek Kusztal
Added Galois Message Authentication Code (GMAC) capability to QuickAssist Technology symmetric cryptographic driver. GMAC is authentication only variant of Galois Counter Mode (GCM) where all plaintext is provided with AAD pointer only. Signed-off-by: Arek Kusztal ---

[dpdk-dev] [PATCH 2/3] app/test: add GMAC authentication tests to cryptodev tests

2016-08-25 Thread Arek Kusztal
Added Galois Message Authentication Code (GMAC) tests to Cryptodev tests Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 265 + app/test/test_cryptodev_gcm_test_vectors.h | 150 2 files changed, 415 insertions(+) diff

[dpdk-dev] [PATCH 3/3] lib/librte_cryptodev: change GMAC API comments

2016-08-25 Thread Arek Kusztal
File rte_crypto_sym.h GMAC API comments need to be changed to comply to the GMAC specification. Main areas of changes is aad pointer and aad len which now will be used to provide plaintext. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_sym.h | 17 - 1 file

[dpdk-dev] [PATCH] kni: bug fix in module_init and module_exit

2016-08-25 Thread Ferruh Yigit
Hi Vincent, On 8/25/2016 12:45 PM, ??? wrote: > From 932e33f33cf2a19ac5fa4295535b6b0e20c61890 Mon Sep 17 00:00:00 2001 > From: Vincent Guo > Date: Thu, 25 Aug 2016 17:50:10 +0800 > Subject: [PATCH] kni: bug fix in module_init and module_exit > unregister_XXX should be called when module exits

[dpdk-dev] Reminder: Registration for DPDK Userspace Summit 2016 - Dublin Ireland IS NOW OPEN

2016-08-25 Thread Butler, Siobhan A
Hi all, Just a reminder to register now for DPDK Userspace Summit 2016! Call for submissions (presentations, lightning talks, or discussion topics) has been extended to September 1st - please send your proposal to dpdk.summit at intel.com or if you have any

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

2016-08-25 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 dependent on the libcrypto patch, so will be sent separately after that

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

2016-08-25 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 ---

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

2016-08-25 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/15277/

[dpdk-dev] [PATCH] net/bnxt: make driver less verbose

2016-08-25 Thread Ajit Khaparde
On Thu, Aug 25, 2016 at 6:05 AM, Ferruh Yigit wrote: > This line printed for every application even if driver is not used at > all. Removing the line to reduce the noise. > > Signed-off-by: Ferruh Yigit > --- > drivers/net/bnxt/bnxt_ethdev.c | 1 - > 1 file changed, 1 deletion(-) > > diff

[dpdk-dev] [PATCH v2] tools: add crypto device details

2016-08-25 Thread Jain, Deepak K
> -Original Message- > From: Breen, Eoin > Sent: Thursday, August 25, 2016 2:52 PM > To: Jain, Deepak K ; Trahe, Fiona > ; Griffin, John > Cc: dev at dpdk.org; Breen, Eoin > Subject: [PATCH v2] tools: add crypto device details > > Adding the support to bind/unbind crypto devices with

[dpdk-dev] [PATCH 0/3] Fix compability issues between crypto drivers for GCM test cases

2016-08-25 Thread Jain, Deepak K
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Thursday, August 25, 2016 1:03 PM > To: dev at dpdk.org > Cc: Trahe, Fiona ; Jain, Deepak K > ; De Lara Guarch, Pablo > ; Griffin, John intel.com>; > Kusztal, ArkadiuszX > Subject: [PATCH 0/3] Fix compability issues between

[dpdk-dev] [PATCH] pci: fix probing blacklisted device with RTE_PCI_DRV_MULTIPLE flag

2016-08-25 Thread Stephen Hemminger
On Tue, 16 Apr 2013 10:31:48 +0200 Julien Courtat wrote: > + if ((dr->drv_flags & RTE_PCI_DRV_MULTIPLE) && > + (!dev->blacklisted)) { parens around !dev->blacklisted are unnecessary

[dpdk-dev] [PATCH] ethdev: add support for device offload capabilities

2016-08-25 Thread Stephen Hemminger
On Tue, 16 Apr 2013 14:42:33 +0200 Ivan Boule wrote: > + /* Default device offload capabilities to zero */ > + dev_info->rx_offload_capa = 0; > + dev_info->tx_offload_capa = 0; dev_info is already memset to 0 about 3 lines before this so this is unnecessary.

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Stephen Hemminger
On Wed, 24 Aug 2016 22:25:46 -0400 souvikdey33 wrote: > +#The path for virtio devices are different. Get the correct path. > + virtio = "/sys/bus/pci/devices/%s/" % dev_id > +cmd = " ls %s | grep 'virt' " %virtio > +virtio = commands.getoutput(cmd) I am not a python export but

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

2016-08-25 Thread Karmarkar Suyash
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.Corrected the