[dpdk-dev] [PATCH 7/8] crypto/dpaa2_sec: statistics support

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 75 + 1 file changed, 75 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index f249e48..7ec0

[dpdk-dev] [PATCH 8/8] app/test: add dpaa2_sec crypto test

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev_perf.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c index 59a6891..8de80ed 100644 --- a/app/test/test_cryptodev_perf.c +++ b/app/

[dpdk-dev] [PATCH 5/8] crypto/dpaa2_sec: debug and log support

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 3 ++ drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 10 + drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 70 + 3 files changed, 83 insertions(+) create mode 1

[dpdk-dev] [PATCH 4/8] crypto/dpaa2_sec: Introducing dpaa2_sec based on NXP SEC HW

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 3 + drivers/crypto/Makefile| 1 + drivers/crypto/dpaa2_sec/Makefile | 78 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c

[dpdk-dev] [PATCH 6/8] crypto/dpaa2_sec: add sec procssing functionality

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc |6 + drivers/crypto/dpaa2_sec/Makefile |1 - drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1337 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 51

[dpdk-dev] [PATCH 3/8] doc: Adding NXP DPAA2_SEC in cryptodev

2016-12-04 Thread Akhil Goyal
Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 96 + doc/guides/cryptodevs/index.rst | 1 + 2 files changed, 97 insertions(+) create mode 100644 doc/guides/cryptodevs/dpaa2_sec.rst diff --git a/doc/guide

[dpdk-dev] [PATCH 0/8] Introducing NXP DPAA2 SEC based cryptodev PMD

2016-12-04 Thread Akhil Goyal
Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryption, stream cipher,

Re: [dpdk-dev] [RFC] igb_uio: deprecate iomem and ioport mapping

2016-12-04 Thread Tan, Jianfeng
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, December 3, 2016 7:47 AM > To: Tan, Jianfeng > Cc: dev@dpdk.org; david.march...@6wind.com; Yigit, Ferruh > Subject: Re: [RFC] igb_uio: deprecate iomem and ioport mapping > > On

Re: [dpdk-dev] [PATCH 3/3] maintainers: add stable mailing list

2016-12-04 Thread Yuanhan Liu
On Sun, Dec 04, 2016 at 04:36:36PM +, Mcnamara, John wrote: > > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > > Sent: Thursday, December 1, 2016 7:07 AM > > To: dev@dpdk.org > > Cc: Thomas Monjalon ; Mcnamara, John > > ; Yuanhan Liu > > Subject:

[dpdk-dev] [PATCH v3] mempool: remove a redundant word "for" in comment

2016-12-04 Thread Wei Zhao
There is a redundant repetition word "for" in commnet line of the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360. One of them is redundant, so delete it. Fixes: 449c49b93a6b ("mempool: support handler operations") Signed-off-by:

[dpdk-dev] [PATCH v3] mempool: remove a redundant socket id assignment

2016-12-04 Thread Wei Zhao
There is a redundant repetition mempool socket_id assignment in the file rte_mempool.c in function rte_mempool_create_empty. The statement "mp->socket_id = socket_id;"appear twice in line 821 and 824. One of them is redundant, so delete it. Fixes: 85226f9c526b ("mempool: introduce a function to cr

[dpdk-dev] [PATCH v3] mempool: remove a redundant socket id assignment

2016-12-04 Thread Wei Zhao
From: zhao wei There is a redundant repetition mempool socket_id assignment in the file rte_mempool.c in function rte_mempool_create_empty. The statement "mp->socket_id = socket_id;"appear twice in line 821 and 824. One of them is redundant, so delete it. Fixes: 85226f9c526b ("mempool: introduce

[dpdk-dev] [PATCH v3] mempool: remove a redundant socket id assignment

2016-12-04 Thread Wei Zhao
From: zhao wei There is a redundant repetition mempool socket_id assignment in the file rte_mempool.c in function rte_mempool_create_empty. The statement "mp->socket_id = socket_id;"appear twice in line 821 and 824. One of them is redundant, so delete it. Fixes: 85226f9c526b ("mempool: introduce

Re: [dpdk-dev] [PATCH v2] mempool: remove a redundant word "for" in comment

2016-12-04 Thread Zhao1, Wei
Hi, olivier > -Original Message- > From: Olivier Matz [mailto:olivier.m...@6wind.com] > Sent: Monday, November 28, 2016 9:25 PM > To: Zhao1, Wei > Cc: dev@dpdk.org > Subject: Re: [PATCH v2] mempool: remove a redundant word "for" in > comment > > Hi Wei, > > On Mon, 28 Nov 2016 09:42:12

Re: [dpdk-dev] [PATCH 30/31] net/i40e: support Linux VF to configure IRQ link list

2016-12-04 Thread Lu, Wenzhuo
Hi Ferruh, Thanks for the comments! Hi Ferruh, Jing, Bernard, As they're not functionality issues. Most of them are compile and typo issues. I'll fix them and send a V2. Best regards Wenzhuo Lu

Re: [dpdk-dev] ixgbevf: support multicast packets from PF to VF

2016-12-04 Thread Lu, Wenzhuo
Hi Souvik, To my opinion, rte_eth_dev_set_mc_addr_list has nothing to do with rte_eth_allmulticast_enable. rte_eth_allmulticast_enable is enough for the multicast packets. I'm curious about the 1, what MAC addresses are set by rte_eth_dev_set_mc_addr_list? 2, What multicast packets are sent? Tha

[dpdk-dev] proposal deadline

2016-12-04 Thread Thomas Monjalon
Hi all, There were a lot of patches v1 submitted these last days, just before the proposal deadline (December 4). It's good to have a lot of features for 17.02, but it means we are going to have a hard time to review, rework and integrate them. I think we should make an effort to send our v1 patch

[dpdk-dev] [PATCH] config: remove insecure warnings

2016-12-04 Thread Thomas Monjalon
There was an option CONFIG_RTE_INSECURE_FUNCTION_WARNING (disabled by default), which prevents from using some libc functions: sprintf, snprintf, vsnprintf, strcpy, strncpy, strcat, strncat, sscanf, strtok, strsep and strlen. It's all about using them at the right place with the right precautions.

[dpdk-dev] [PATCH v1] doc: fix relative path of Nic table input file

2016-12-04 Thread John McNamara
Fix relative path between sphinx conf.py file and Nic table file to allow automatic build on ReadTheDocs. Fixes: 9db3f52126fb ("doc: generate NIC overview table from ini files") Signed-off-by: John McNamara --- doc/guides/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

Re: [dpdk-dev] [PATCH 3/3] maintainers: add stable mailing list

2016-12-04 Thread Mcnamara, John
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Thursday, December 1, 2016 7:07 AM > To: dev@dpdk.org > Cc: Thomas Monjalon ; Mcnamara, John > ; Yuanhan Liu > Subject: [PATCH 3/3] maintainers: add stable mailing list > > Signed-off-by: Yuanhan Liu

[dpdk-dev] [PATCH v1] net/i40e: set no drop for traffic class

2016-12-04 Thread Rory Sexton
From: John McNamara The default traffic class in i40e is set to drop versus on ixgbe it isset to no drop. This means when packets build up in the RX SRAM on the NIC, they are dropped, and they do this when the SW descriptor rings fill up. This patch changes this behaviour and our testing shows t

[dpdk-dev] [PATCH 31/32] net/dpaa2: add support for non hw buffer pool packet transmit

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 73 -- 1 file changed, 71 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 2fe902f..78342a1 100644 --- a/drivers/net/dpaa2/dp

[dpdk-dev] [PATCH 32/32] net/dpaa2: enable stashing for LS2088A devices

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 1a25f07..dd8e8fb 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa

[dpdk-dev] [PATCH 30/32] net/dpaa2: frame queue based dq storage alloc

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpio.c | 32 drivers/net/dpaa2/base/dpaa2_hw_dpio.h | 8 drivers/net/dpaa2/dpaa2_ethdev.c | 7 +++ 3 files changed, 43 insertions(+), 4 deletions(-) diff --git a/drivers/net/dp

[dpdk-dev] [PATCH 29/32] net/dpaa2: rx packet parsing and packet type support

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 256 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 23 +++ drivers/net/dpaa2/dpaa2_rxtx.c | 91 +- 4 files ch

[dpdk-dev] [PATCH 28/32] net/dpaa2: add support for physical address usages

2016-12-04 Thread Hemant Agrawal
DPAA2 HW accelerators with ARM SMMU can be configured to use virtual or physical address from users space. Adding support for Physical address (default). Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 + drivers/net/dpaa2/Makefile| 1 + drivers/

[dpdk-dev] [PATCH 24/32] net/dpaa2: add support for l3 and l4 checksum offload

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini| 2 + drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 6 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 71 +-- 3 files changed, 76 insertions(+), 3 deletions(-) diff --git a/doc/guides/nics/features/

[dpdk-dev] [PATCH 27/32] net/dpaa2: add packet rx and tx support

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile| 2 +- drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 58 drivers/net/dpaa2/dpaa2_ethdev.c | 3 + drivers/net/dpaa2/dpaa2_ethdev.h | 2 + drivers/net/dpaa2/dpaa2_rxtx.c| 261 +++

[dpdk-dev] [PATCH 26/32] net/dpaa2: add mtu config support

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini| 1 + drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 4 drivers/net/dpaa2/dpaa2_ethdev.c | 33 + 3 files changed, 38 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/

[dpdk-dev] [PATCH 25/32] net/dpaa2: add support for promiscuous mode

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 41 ++ 2 files changed, 42 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index d50c62e..b7c2

[dpdk-dev] [PATCH 23/32] net/dpaa2: attach the buffer pool to dpni

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 56 + drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 6 drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 10 ++ drivers/net/dpaa2/dpaa2_ethdev.c | 65 ++ 4 file

[dpdk-dev] [PATCH 22/32] net/dpaa2: configure mac address at init

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 3 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 26 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.h b/drivers/net/dpaa2/base/dpaa2_hw_dpni.h index c109396

[dpdk-dev] [PATCH 21/32] net/dpaa2: add rss flow distribution

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/Makefile | 3 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 287 + drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 15 ++ drivers/net/dpaa2/base/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 20/32] net/dpaa2: add queue configuration support

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 14 +- drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 21 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 254 - 4 files changed, 288 insertions(+),

[dpdk-dev] [PATCH 19/32] net/dpaa2: adding eth ops to dpaa2

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 50 + drivers/net/dpaa2/dpaa2_ethdev.c | 130 - 2 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.h diff --git a/

[dpdk-dev] [PATCH 18/32] net/dpaa2: introducing dpaa2 pmd driver

2016-12-04 Thread Hemant Agrawal
add support for dpaa2 architucture fsl-mc bus based dpaa2 pmd driver. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_bus.c| 64 ++-- drivers/net/dpaa2/dpaa2_ethdev.c | 54 +

[dpdk-dev] [PATCH 17/32] net/dpaa2: dpbp based mempool hw offload driver

2016-12-04 Thread Hemant Agrawal
DPBP represent a buffer pool instance in DPAA2-QBMAN HW accelerator. All buffers needs to be programmed in the HW accelerator. Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 + drivers/net/dpaa2/Makefile| 2 + drivers/net/dpaa2/base/dpaa2_hw_

[dpdk-dev] [PATCH 16/32] net/dpaa2: dpio add support to check SOC type

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpio.c | 74 ++ 1 file changed, 74 insertions(+) diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpio.c b/drivers/net/dpaa2/base/dpaa2_hw_dpio.c index 9c6eb96..3b8f87d 100644 --- a/drivers/net/dpaa2/b

[dpdk-dev] [PATCH 15/32] net/dpaa2: dpio routine to affine to crypto threads

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpio.c | 45 ++ drivers/net/dpaa2/base/dpaa2_hw_dpio.h | 3 +++ 2 files changed, 48 insertions(+) diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpio.c b/drivers/net/dpaa2/base/dpaa2_hw_dpio.c index

[dpdk-dev] [PATCH 14/32] net/dpaa2: dpio object driver

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 4 +- drivers/net/dpaa2/base/dpaa2_hw_dpio.c | 362 + drivers/net/dpaa2/base/dpaa2_hw_dpio.h | 65 ++ drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 68 +++ drivers/net/dpaa2/dpaa2_vfi

[dpdk-dev] [PATCH 11/32] net/dpaa2: add dpaa2 vfio support

2016-12-04 Thread Hemant Agrawal
Add support for using VFIO for dpaa2 based fsl-mc bus. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_bus.c | 15 +- drivers/net/dpaa2/dpaa2_vfio.c | 451 + drivers/net/dpaa2/dpaa2_vfio.h | 74 +++

[dpdk-dev] [PATCH 13/32] net/dpaa2: add debug log macros

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 + drivers/net/dpaa2/Makefile| 5 ++ drivers/net/dpaa2/dpaa2_logs.h| 77 +++ 3 files changed, 84 insertions(+) create mode 100644 drivers/net/dpaa2/dpaa2_logs

[dpdk-dev] [PATCH 10/32] net/dpaa2: introducing dpaa2 bus driver for fsl-mc bus

2016-12-04 Thread Hemant Agrawal
The DPAA2 bus driver is a rte_bus driver which scans the fsl-mc bus. Signed-off-by: Hemant Agrawal --- drivers/net/Makefile| 2 +- drivers/net/dpaa2/Makefile | 60 ++ drivers/net/dpaa2/dpaa2_bus.c | 99 +++

[dpdk-dev] [PATCH 12/32] net/dpaa2: vfio scan for net and sec device

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_vfio.c | 68 -- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_vfio.c b/drivers/net/dpaa2/dpaa2_vfio.c index e7e33d3..58c77c9 100644 --- a/drivers/net/dpaa2/dp

[dpdk-dev] [PATCH 09/32] lib/ether: add rte_device in rte_eth_dev

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- lib/librte_ether/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 3c45a1f..6f5673f 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -1626,6 +1626,

[dpdk-dev] [PATCH 08/32] mk/dpaa2: add the crc support to the machine type

2016-12-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- mk/machine/dpaa2/rte.vars.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mk/machine/dpaa2/rte.vars.mk b/mk/machine/dpaa2/rte.vars.mk index 8541633..e4735c2 100644 --- a/mk/machine/dpaa2/rte.vars.mk +++ b/mk/machine/dpaa2/rte.vars.mk @

[dpdk-dev] [PATCH 06/32] drivers/common/dpaa2: add mc dpseci object support

2016-12-04 Thread Hemant Agrawal
dpseci represent a instance of SEC HW in DPAA2. Signed-off-by: Cristian Sovaiala [Hemant: rebase and user space driver] Signed-off-by: Hemant Agrawal --- drivers/common/dpaa2/mc/Makefile | 1 + drivers/common/dpaa2/mc/dpseci.c | 527 drivers/common/dpa

[dpdk-dev] [PATCH 05/32] drivers/common/dpaa2: add mc dpbp object support

2016-12-04 Thread Hemant Agrawal
DPBP object represent a hw based buffer pool instance in the DPAA2 hardware. Signed-off-by: Alex Marginean [Hemant: rebase and user space driver] Signed-off-by: Hemant Agrawal --- drivers/common/dpaa2/mc/Makefile | 1 + drivers/common/dpaa2/mc/dpbp.c | 230 ++

[dpdk-dev] [PATCH 03/32] drivers/common/dpaa2: add mc dpni object support

2016-12-04 Thread Hemant Agrawal
This patch add support for dpni object support in MC driver. DPNI represent a network interface object in DPAA2. Signed-off-by: Alex Marginean [Hemant: rebase and user space lib] Signed-off-by: Hemant Agrawal --- drivers/common/dpaa2/mc/Makefile |1 + drivers/common/dpaa2/mc/dpni.c

[dpdk-dev] [PATCH 04/32] drivers/common/dpaa2: add mc dpio object support

2016-12-04 Thread Hemant Agrawal
This patch adds the DPIO object support in MC driver. DPIO - Data Path Input Output represent the processing context to access the QBMAN HW for packet I/O. Signed-off-by: Alex Marginean [Hemant: rebase and user space driver] Signed-off-by: Hemant Agrawal --- drivers/common/dpaa2/mc/Makefile

[dpdk-dev] [PATCH 00/32] NXP DPAA2 PMD

2016-12-04 Thread Hemant Agrawal
The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based network SoC PMD. This version of the driver supports NXP LS208xA, LS204xA and LS108x families Network SoCs. DPAA2, or Data Path Acceleration Architecture, is a hardware architecture designed for high-speed network packet proces

[dpdk-dev] [PATCH 01/32] doc: add dpaa2 nic details

2016-12-04 Thread Hemant Agrawal
Add the dpaa2 architecture and pmd details Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa2.rst | 537 + doc/guides/nics/features/dpaa2.ini | 9 + doc/guides/nics/index.rst | 1 + 3 files changed, 547 insertions(+) create mode 100

[dpdk-dev] [PATCH 02/32] drivers/common: introducing dpaa2 mc driver

2016-12-04 Thread Hemant Agrawal
This patch intoduces the DPAA2 MC(Management complex Driver) This driver is common to be used by various DPAA2 net, crypto and other drivers Signed-off-by: Cristian Sovaiala [Hemant:rebase and conversion to library for DPDK] Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxa

Re: [dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-04 Thread Ananyev, Konstantin
Hi > > > > 2016-11-30 17:42, Ananyev, Konstantin: > > > > >Please, we need a comment for each driver saying > > > > >"it is OK, we do not need any checksum preparation for TSO" > > > > >or > > > > >"yes we have to implement tx_prepare or TSO will not work in this > > mode" > > > > > > > > > > > >

[dpdk-dev] [PATCH 10/13] eal/pci: generalize args of PCI scan/match towards RTE device/driver

2016-12-04 Thread Shreyansh Jain
PCI scan and match now work on rte_device/rte_driver rather than PCI specific objects. These functions can now be plugged to the generic bus callbacks for scanning and matching devices/drivers. Signed-off-by: Shreyansh Jain --- app/test/test_pci.c | 2 +- lib/librte_eal/bsda

[dpdk-dev] [PATCH 11/13] pci: Pass rte_pci_addr to functions instead of separate args

2016-12-04 Thread Shreyansh Jain
From: Ben Walker Instead of passing domain, bus, devid, func, just pass an rte_pci_addr. Signed-off-by: Ben Walker [Shreyansh: Checkpatch error fix] Signed-off-by: Shreyansh Jain --- lib/librte_eal/linuxapp/eal/eal_pci.c | 33 ++--- 1 file changed, 14 insertions(+)

[dpdk-dev] [PATCH 12/13] eal: enable PCI bus

2016-12-04 Thread Shreyansh Jain
Register a PCI bus with Scan/match and probe callbacks. Necessary changes in EAL layer for enabling bus interfaces. PCI devices and drivers now reside within the Bus object. Removing PCI init and probe from rte_eal_init now that bus performs these functions. Signed-off-by: Shreyansh Jain --- li

[dpdk-dev] [PATCH 13/13] eal/pci: remove PCI probe and init calls

2016-12-04 Thread Shreyansh Jain
Now that PCI bus handles the scan/probe methods, independent calls to PCI scan and probe can be removed from the code. PCI device and driver list are also removed. rte_device and rte_driver list continue to exist. As does the VDEV lists. Signed-off-by: Shreyansh Jain --- lib/librte_eal/bsdapp/e

[dpdk-dev] [PATCH 08/13] eal: enable probe and remove from bus infrastructure

2016-12-04 Thread Shreyansh Jain
The model is: rte_eal_init `--> calls rte_eal_bus_probe() This iterates over all the drivers and devices and matches them. For matched bus specific device-driver: `--> bus->probe() This would be responsible for generic work, equivalent to rte_eal_pci_probe

[dpdk-dev] [PATCH 09/13] pci: split match and probe function

2016-12-04 Thread Shreyansh Jain
Matching of PCI device address and driver ID table is being done at two discreet locations duplicating the code. (rte_eal_pci_probe_one_driver and rte_eal_pci_detach_dev). Splitting the matching function into rte_eal_pci_match_default. Signed-off-by: Shreyansh Jain --- lib/librte_eal/common/eal

[dpdk-dev] [PATCH 05/13] eal/bus: add support for inserting a device on a bus

2016-12-04 Thread Shreyansh Jain
Rather than adding a device to tail, a new device might be added to the list (pivoted on bus) at a predefined position, for example, adding it order of addressing. Signed-off-by: Shreyansh Jain --- lib/librte_eal/common/eal_common_bus.c | 11 +++ lib/librte_eal/common/include/rte_bus.h

[dpdk-dev] [PATCH 07/13] pci: replace probe and remove handlers with rte_driver

2016-12-04 Thread Shreyansh Jain
rte_pci_driver probe/remove callback are replaced with the rte_driver based probe/remove. This patch changes all the PCI drivers which reference rte_pci_driver->probe/remove. rte_pci_driver continues to have probe/remove callback which would be used once eth_driver is removed in later patches. On

[dpdk-dev] [PATCH 06/13] eal: integrate bus scan and probe with EAL

2016-12-04 Thread Shreyansh Jain
Still a dummy implementation as no real bus driver exists. This adds calls from EAL to bus specific scan, match functions. Once driver->probe is in place, and a bus handler has been installed, the code would become effective. Signed-off-by: Shreyansh Jain --- lib/librte_eal/bsdapp/eal/eal.c

[dpdk-dev] [PATCH 04/13] eal/bus: add scan and match support

2016-12-04 Thread Shreyansh Jain
When a PMD is registred, it will associate itself with a bus. A bus is responsible for 'scan' of all the devices attached to it. All the scanned devices are attached to bus specific device_list. During the probe operation, 'match' of the drivers and devices would be done. This patch also adds ne

[dpdk-dev] [PATCH 01/13] eal: define container_of macro

2016-12-04 Thread Shreyansh Jain
From: Jan Blunck This macro is based on Jan Viktorin's original patch but also checks the type of the passed pointer against the type of the member. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain [jblu...@infradead.org: add type checking and __extension__] Signed-off-by: Jan Blunck

[dpdk-dev] [PATCH 03/13] test: add basic bus infrastructure tests

2016-12-04 Thread Shreyansh Jain
Verification of bus registration, driver registration on a bus. Signed-off-by: Shreyansh Jain --- app/test/Makefile | 2 +- app/test/test.h | 2 + app/test/test_bus.c | 423 3 files changed, 426 insertions(+), 1 deletion(-) create m

[dpdk-dev] [PATCH 02/13] eal/bus: introduce bus abstraction

2016-12-04 Thread Shreyansh Jain
This patch introduces the rte_bus abstraction for devices and drivers in EAL framework. The model is: - One or more buses are connected to a CPU (or core) - One or more devices are conneted to a Bus - Drivers are running instances which manage one or more devices - Bus is responsible for identi

[dpdk-dev] [PATCH 00/13] Introducing EAL Bus-Device-Driver Model

2016-12-04 Thread Shreyansh Jain
DPDK has been inherently a PCI inclined framework. Because of this, the design of device tree (or list) within DPDK is also PCI inclined. A non-PCI device doesn't have a way of being expressed without using hooks started from EAL to PMD. :: Overview of the Proposed Changes :: Assuming the below g