[dpdk-dev] next technical board meeting, 2017-04-10

2017-04-09 Thread Yuanhan Liu
Hi all, The last techboard meeting was canceled, and it's been rescheduled to today, 10th Apr, at 3pm UTC. I should have sent it out a bit earlier. Sorry! The agenda remains the same (see below). --yliu On Thu, Apr 06, 2017 at 03:31:43PM +0530, Jerin Jacob wrote: > -Original Message

Re: [dpdk-dev] [PATCH v3 7/9] net/virtio: Add MTU feature support

2017-04-09 Thread Tan, Jianfeng
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Saturday, April 8, 2017 12:41 AM > To: Tan, Jianfeng; acon...@redhat.com; so...@sonusnet.com; > yuanhan@linux.intel.com; thomas.monja...@6wind.com; dev@dpdk.org > Subject: Re: [PATCH v3 7/9] net/v

[dpdk-dev] [PATCH 1/2] net/liquidioi/base: fix mbox command initialization

2017-04-09 Thread Shijith Thotton
Initialize mail box command to request VF FLR. Data field was uninitialized before as it was not required and caused the following error during scan. Reported by Coverity scan: 1384518 Uninitialized scalar variable Fixes: cdb166963cae ("net/liquidio: add API for VF FLR") Signed-off-by: Shijith T

[dpdk-dev] [PATCH 2/2] net/liquidio: fix null pointer check

2017-04-09 Thread Shijith Thotton
Fix null pointer check in release Rx/Tx queue APIs. Reported by Coverity scan: 1423923 Dereference before null check 1423924 Dereference before null check Fixes: 9a30013b9884 ("net/liquidio: add API to release Rx queue") Fixes: cf6bfcbea178 ("net/liquidio: add API to release Tx queue") Signed-of

[dpdk-dev] [PATCH] doc: fix build error in DPAA2 PMD guide

2017-04-09 Thread Shreyansh Jain
Signed-off-by: Shreyansh Jain --- doc/guides/nics/dpaa2.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/guides/nics/dpaa2.rst b/doc/guides/nics/dpaa2.rst index 7d7a6c5..46225b6 100644 --- a/doc/guides/nics/dpaa2.rst +++ b/doc/guides/nics/dpaa2.rst @@ -441,8 +441,7 @@

[dpdk-dev] [PATCH v7 3/3] app/testpmd: add port reset command into testpmd

2017-04-09 Thread Wei Zhao
Add port reset command into testpmd project, it is the interface for user to reset port. And also it is not limit to be used only in vf reset, but also for pf port reset.But this patch set only realted to vf reset feature. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdli

[dpdk-dev] [PATCH v7 1/3] lib/librte_ether: add support for port reset

2017-04-09 Thread Wei Zhao
Add support for port reset in rte layer.This reset feature can be used not only in vf port reset in the following code develop process later, but also pf port.But in this patch set, we only limit the discussion scope to vf reset. This patch add an API to restart the device. It's for VF device in th

[dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on port

2017-04-09 Thread Wei Zhao
This patch implement the device reset function on vf port. This restart function will detach device then attach device, reconfigure dev, re-setup the Rx/Tx queues. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h

[dpdk-dev] [PATCH v7 0/3] net/i40e: vf port reset

2017-04-09 Thread Wei Zhao
The patches mainly finish following functions: 1) get pf reset vf comamand falg from interrupt server function. 2) reset vf port from testpmd app using a command. 3) sore and restore vf related parameters. v2: -change the order of patch in the set. -add more details in patch comment to clarify tha

Re: [dpdk-dev] [PATCH] net/bonding: allow configuring jumbo frames without slaves

2017-04-09 Thread Eric Kinzie
On Fri Apr 07 18:07:12 +0300 2017, Ilya Maximets wrote: > Currently, 'rte_eth_dev_configure' fails on attempt to setup > max_rx_pkt_len > 2048 if no slaves was added to bonded device. > > For example: > > rte_eth_dev_attach("eth_bond0,slave=05:00.0,mode=l34", &id) > conf.rxmode.jumbo_

Re: [dpdk-dev] [PATCH v6 1/3] lib/librte_ether: add support for port reset

2017-04-09 Thread Zhao1, Wei
Hi, Qiming > -Original Message- > From: Yang, Qiming > Sent: Friday, April 7, 2017 2:59 PM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Lu, Wenzhuo ; Zhao1, Wei > > Subject: RE: [dpdk-dev] [PATCH v6 1/3] lib/librte_ether: add support for port > reset > > Hi, Wei > > > -Original Message

[dpdk-dev] [PATCH v2 3/3] net/i40e: add missing 25G link speed

2017-04-09 Thread Qi Zhang
Add missing 25G link speed decode in i40evf_dev_link_update. Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev_vf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index d3659c9..caafa2d 100

[dpdk-dev] [PATCH v2 2/3] net/i40e: fix wrong VF link speed

2017-04-09 Thread Qi Zhang
When PF notify link speed to VF, encode of link speed need to be converted from ETH_SPEED_XXX to I40E_LINK_SPEED_XXX. Fixes: bb6722fb5c0e ("net/i40e: fix VF bonded device link down") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- v2: - fix checkpatch warning. drivers/net/i40e/i40e_pf.c | 29

[dpdk-dev] [PATCH v2 0/3] net/i40e: fix wrong VF link speed

2017-04-09 Thread Qi Zhang
VF link speed is not correct due to encode mismatch between VF and PF, the patch set fix this issue. v2: - fix checkpatch warning. Qi Zhang (3): net/i40e: remove duplicate code net/i40e: fix wrong VF link speed net/i40e: add missing 25G link speed drivers/net/i40e/i40e_ethdev.c| 10 +

[dpdk-dev] [PATCH v2 1/3] net/i40e: remove duplicate code

2017-04-09 Thread Qi Zhang
Make i40e_notify_all_vfs_link_status as a wrapper of i40e_notify_vf_link_status so duplicate code can be removed. Signed-off-by: Qi Zhang Cc: sta...@dpdk.org --- drivers/net/i40e/i40e_ethdev.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/net/i40e/i40e_eth

Re: [dpdk-dev] [PATCH 0/2] reduce writes to mbuf in ixgbe vRX

2017-04-09 Thread Ananyev, Konstantin
Hi Ferruh, > > Hi Konstantin, > > I talked a little early, getting following build error [1] with > "default" machine type. Patches dropped from tree for now. My bad, forgot to check with 'default' Thanks for flagging that, will update and resend v2. Konstantin > > [1] > ...drivers/net/ixgb

Re: [dpdk-dev] [PATCH v2 1/2] test/mempool_perf: Free mempool on exit

2017-04-09 Thread santosh
Hi Olivier, On Monday 10 April 2017 12:47 AM, Shukla, Santosh wrote: > > > > *From:* Olivier Matz > *Sent:* Friday, April 7, 2017 9:21 PM > *To:* Shukla, Santosh > *Cc:* dev@dpdk.org; hemant.agra...@nxp.com; shreyan

[dpdk-dev] sr-iov

2017-04-09 Thread 张伟
Hi all, I have a question related to sr-iov. The problem is that there are two machines directly connected. On one machine, create an VF and assign IP to it. From another machine, ping it. VF receives the packets. ifconfig has tx increase. tcpdump shows the arp reply. But ethtool tx is 0. an

[dpdk-dev] does XL710 only support limited packet types ?

2017-04-09 Thread Chillance Zen
Hi,all what I observe with my XL710 is it only recognize RTE_PTYPE_L3_IPV4(6)_EXT_UNKNOWN within L3 mask,it would never recognize it's still a vxlan packet as well ,and after I configured all RSS ,I can retrieve hash value from mbuf,if only ETH_RSS_IP is configured ,I can not get any hash at all.

Re: [dpdk-dev] [PATCH v11 02/22] doc: add DPAA2 NIC details

2017-04-09 Thread Shreyansh Jain
Hello Ferruh, > -Original Message- > From: Hemant Agrawal [mailto:hemant.agra...@nxp.com] > Sent: Sunday, April 09, 2017 1:41 PM > To: dev@dpdk.org > Cc: thomas.monja...@6wind.com; bruce.richard...@intel.com; Shreyansh Jain > ; john.mcnam...@intel.com; ferruh.yi...@intel.com; > jerin.ja...

[dpdk-dev] [PATCH v11 22/22] net/dpaa2: enable frame queue based dequeuing

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index e7b2745..986404b 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net

[dpdk-dev] [PATCH v11 21/22] net/dpaa2: enable DMA Mapping during device scanning

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 8d6f419..e7b2745 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c

[dpdk-dev] [PATCH v11 17/22] net/dpaa2: enable stashing for LS2088A devices

2017-04-09 Thread Hemant Agrawal
As the hardware determines which core will process which packet, performance is boosted by direct cache warming/stashing as well as by providing biasing for core-to-flow affinity, which ensures that flow-specific data structures can remain in the core’s cache. This patch enables the one cache line

[dpdk-dev] [PATCH v11 20/22] config: add configuration for toggling physical addressing

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/common_base| 1 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+) diff --git a/config/common_base b/config/common_base index 80538ed..c177201 100644 --- a/config/common_base +++ b/config/common_bas

[dpdk-dev] [PATCH v11 16/22] net/dpaa2: basic stats support

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 86 ++ 2 files changed, 87 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 0660cab..d43f

[dpdk-dev] [PATCH v11 19/22] net/dpaa2: enable physical addressing for packet buffers

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 4 ++-- drivers/net/dpaa2/dpaa2_rxtx.c | 16 +--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c index

[dpdk-dev] [PATCH v11 18/22] net/dpaa2: handle non-hardware backed buffer pool

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 75 -- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index c1ea33a..deec210 100644 --- a/drivers/net/dpaa2/dp

[dpdk-dev] [PATCH v11 12/22] net/dpaa2: add MTU configuration support

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 34 ++ 2 files changed, 35 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index b7c274a..a6b7964

[dpdk-dev] [PATCH v11 14/22] net/dpaa2: support for Rx packet parsing and packet type

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

[dpdk-dev] [PATCH v11 13/22] net/dpaa2: enable packet Rx and Tx operations

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 4 + drivers/net/dpaa2/dpaa2_ethdev.h | 3 + drivers/net/dpaa2/dpaa2_rxtx.c | 260 +++ 4 files changed, 268 insertions(+) create mode 100644 dr

[dpdk-dev] [PATCH v11 15/22] net/dpaa2: link status update

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 107 + 2 files changed, 108 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 0746d4b..06

[dpdk-dev] [PATCH v11 10/22] net/dpaa2: add support for L3 and L4 checksum offload

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 2 ++ drivers/net/dpaa2/dpaa2_ethdev.c | 72 +++--- 2 files changed, 70 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini in

[dpdk-dev] [PATCH v11 11/22] net/dpaa2: add support for promiscuous mode

2017-04-09 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 v11 08/22] net/dpaa2: configure MAC address at init

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 28 drivers/net/dpaa2/dpaa2_ethdev.h | 3 +++ 2 files changed, 31 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 92d334c..6462e0b 100644 --- a/

[dpdk-dev] [PATCH v11 09/22] net/dpaa2: attach the buffer pool to dpni

2017-04-09 Thread Hemant Agrawal
This patch configures a MC-DPNI based DPAA2 PMD network port with a DPBP based buffer pool. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 2 ++ drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 57 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 62 +

[dpdk-dev] [PATCH v11 06/22] net/dpaa2: adding eth ops to dpaa2

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 410 - drivers/net/dpaa2/dpaa2_ethdev.h | 15 ++ 4 files changed, 426 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH v11 04/22] config: enable support for DPAA2 debug logging

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/common_base| 5 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 + 2 files changed, 10 insertions(+) diff --git a/config/common_base b/config/common_base index 0caf585..80538ed 100644 --- a/config/common_base +++ b/config/c

[dpdk-dev] [PATCH v11 05/22] net/dpaa2: add mc dpni object support

2017-04-09 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 Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile |3 + drivers/net/dpaa2/mc/dpni.c | 739 + drive

[dpdk-dev] [PATCH v11 03/22] net/dpaa2: add debug log support

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/Makefile | 5 + drivers/net/dpaa2/dpaa2_ethdev.c | 9 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile index c91e743..86db137 100644 --- a/drivers/net/dpa

[dpdk-dev] [PATCH v11 07/22] net/dpaa2: add RSS flow distribution

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 287 + drivers/net/dpaa2/dpaa2_ethdev.c | 31 +++- drivers/net/dpaa2/dpaa2_ethdev.h

[dpdk-dev] [PATCH v11 00/22] NXP DPAA2 PMD

2017-04-09 Thread Hemant Agrawal
This patches has been split from DPAA2 PMD v8 series [2] as per comments received on ML [3].) 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 Acce

[dpdk-dev] [PATCH v11 02/22] doc: add DPAA2 NIC details

2017-04-09 Thread Hemant Agrawal
This patch adds the NXP dpaa2 architecture and pmd details in the Network interfaces section. Signed-off-by: Hemant Agrawal Acked-by: John McNamara --- MAINTAINERS| 1 + doc/guides/nics/dpaa2.rst | 614 + doc/guides/nics

[dpdk-dev] [PATCH v11 01/22] net/dpaa2: introducing NXP DPAA2 PMD driver

2017-04-09 Thread Hemant Agrawal
add support for fsl-mc bus based dpaa2 pmd driver. Signed-off-by: Hemant Agrawal --- MAINTAINERS | 2 + config/common_base | 5 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 + drivers/Makefile| 1 +

[dpdk-dev] [PATCH v2] mempool/dpaa2: add DPAA2 hardware offloaded mempool

2017-04-09 Thread Hemant Agrawal
DPAA2 Hardware Mempool handlers allow enqueue/dequeue from NXP's QBMAN hardware block. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS is set to 'dpaa2', if the pool is enabled. This memory pool currently supports packet mbuf type blocks only. Signed-off-by: Hemant Agrawal --- MAINTAINERS

[dpdk-dev] [PATCH v2] NXP DPAA2 External Mempool Driver

2017-04-09 Thread Hemant Agrawal
From: Hemant Agrawal (This patches has been split from DPAA2 PMD v8 series [1] as per comments received on ML [2].) This patch implements the HW mempool offload driver for packets buffers using the FSLMC provided DPBP object. The new pool is being configured using compile time option and pool n

[dpdk-dev] [PATCH v3 21/21] bus/fslmc: frame queue based dq storage alloc

2017-04-09 Thread Hemant Agrawal
This patch adds generic functions for allowing dq storage for the frame queues. As the frame queues are common resource for different drivers this is helpful. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 32 + drivers/bus/fslmc/porta

[dpdk-dev] [PATCH v3 20/21] bus/fslmc: add support for DMA mapping for ARM SMMU

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 96 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 3 files changed, 98 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH v3 17/21] bus/fslmc: define VLAN header length

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e5c8761..4e25803 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/dr

[dpdk-dev] [PATCH v3 18/21] bus/fslmc: add packet FLE definitions

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 53 + 1 file changed, 53 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 4e25803..b405af8 100644 --- a/drivers/bus/fslmc

[dpdk-dev] [PATCH v3 19/21] bus/fslmc: add physical-virtual address translation helpers

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 66 + 1 file changed, 66 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index b405af8..41bcf03 100644 --- a/drivers/bus/fslmc

[dpdk-dev] [PATCH v3 15/21] bus/fslmc: define hardware annotation area size

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index b230e78..9ce1a9c 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH v3 16/21] bus/fslmc: introduce true and false macros

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 9ce1a9c..e5c8761 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/

[dpdk-dev] [PATCH v3 12/21] bus/fslmc: introduce support for hardware mempool object

2017-04-09 Thread Hemant Agrawal
Each mempool instance is represented by a DPBP object from the FSL-MC bus. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.c | 9 +- drivers/bus/fslmc/fslmc_vfio.h | 2 + drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v3 13/21] bus/fslmc: affine dpio to crypto threads

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 45 + drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 3 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 3 files changed, 49 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2

[dpdk-dev] [PATCH v3 14/21] bus/fslmc: define queues for DPAA2 devices

2017-04-09 Thread Hemant Agrawal
Before DPAA2 devices can communicate using hardware queues, this patch adds queue definitions in the FSLMC bus which the DPAA2 devices would instantitate. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 20 1 file changed, 20 insertions(+) diff -

[dpdk-dev] [PATCH v3 11/21] bus/fslmc: dpio portal driver

2017-04-09 Thread Hemant Agrawal
The portal driver is bound to DPIO objects discovered on the fsl-mc bus and provides services that: - allow other drivers, such as the Ethernet driver, to enqueue and dequeue frames for their respective objects A system will typically allocate 1 DPIO object per CPU to allow queuing operations to

[dpdk-dev] [PATCH v3 10/21] bus/fslmc: add debug log support

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_logs.h | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 drivers/bus/fslmc/fslmc_logs.h diff --git a/drivers/bus/fslmc/fslmc_logs.h b/drivers/bus/fslmc/fslmc_logs.h new file mode 100644

[dpdk-dev] [PATCH v3 09/21] bus/fslmc: scan for net and sec device

2017-04-09 Thread Hemant Agrawal
This patch will add support in fslmc vfio process to scan and parse the dpni and dpseci object for net and crypto devices. It will add the scanned devices to the fslmc bus. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 63 +- 1 file ch

[dpdk-dev] [PATCH v3 07/21] eal/vfio: adding vfio utility functions in map file

2017-04-09 Thread Hemant Agrawal
adding extra vfio utility functions to map file. They will be used by other vfio supported buses like fslmc bus for NXP DPAA2 devices Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 +++ lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +++ 2 files change

[dpdk-dev] [PATCH v3 08/21] bus/fslmc: add vfio support

2017-04-09 Thread Hemant Agrawal
Add support for using VFIO for dpaa2 based fsl-mc bus. There are some differences in the way vfio used for fsl-mc bus from the eal vfio. - The scanning of bus for individual objects on the basis of the DPRC container. - The use and mapping of MC portal for object access With the evolution of

[dpdk-dev] [PATCH v3 03/21] bus/fslmc: add QBMAN driver to bus

2017-04-09 Thread Hemant Agrawal
QBMAN, is a hardware block which interfaces with the other accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2 SoC for queue, buffer and packet scheduling. This patch introduces a userspace driver for interfacing with the QBMAN hw block. The qbman-portal component provides APIs to do th

[dpdk-dev] [PATCH v3 06/21] bus/fslmc: add mc dpbp object support

2017-04-09 Thread Hemant Agrawal
DPBP object represent a hw based buffer pool instance in the DPAA2 hardware. Signed-off-by: Alex Marginean Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpbp.c | 261 drivers/bus/fslmc/mc/

[dpdk-dev] [PATCH v3 05/21] bus/fslmc: add mc dpio object support

2017-04-09 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 Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/

[dpdk-dev] [PATCH v3 04/21] bus/fslmc: introduce MC object functions

2017-04-09 Thread Hemant Agrawal
This patch intoduces the DPAA2 MC(Management complex Driver). This is a minimal set of low level functions to send and receive commands to the fsl-mc. It includes support for basic management commands and commands to manipulate MC objects. This is common to be used by various DPAA2 PMDs. e.g.net,

[dpdk-dev] [PATCH v3 02/21] bus/fslmc: introducing fsl-mc bus driver

2017-04-09 Thread Hemant Agrawal
The fslmc bus driver is a rte_bus driver which scans the fsl-mc bus for NXP DPAA2 SoCs. Signed-off-by: Hemant Agrawal --- MAINTAINERS | 4 + config/common_base | 5 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 8 +- drivers/Makefi

[dpdk-dev] [PATCH v3 00/21] NXP DPAA2 FSLMC Bus driver

2017-04-09 Thread Hemant Agrawal
From: Hemant Agrawal (This patches has been split from DPAA2 PMD v8 series [1] as per comments received on ML [2].) The patchset introduces NXP’s QorIQ-Layerscape DPAA2 Architecture based fsl-mc bus driver. This version of the driver supports NXP LS208xA, LS204xA and LS108x family of Network SoC

[dpdk-dev] [PATCH v3 01/21] mk/dpaa2: add the crc support to the machine type

2017-04-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal Acked-by: Jerin Jacob --- 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/mach