Re: [dpdk-dev] [PATCH] crypto/armv8: enable meson build

2019-10-06 Thread Thomas Monjalon
05/10/2019 17:28, Jerin Jacob: > On Fri, Oct 4, 2019 at 4:27 AM Dharmik Thakkar > wrote: > > > > Add new meson.build file for crypto/armv8 > > > > Signed-off-by: Dharmik Thakkar > > --- > > drivers/crypto/armv8/meson.build | 25 + > > drivers/crypto/meson.build |

[dpdk-dev] [PATCH v2 3/9] net/qede/base: lock entire QM reconfiguration flow

2019-10-06 Thread Rasesh Mody
Multiple flows can issue QM reconfiguration, hence hold the lock longer to account for entire duration of reconfiguration flow. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/

[dpdk-dev] [PATCH v2 6/9] net/qede/base: move dmae code to HSI

2019-10-06 Thread Rasesh Mody
Move DMA engine (DMAE) structures from base driver to HSI module. Use DMAE_PARAMS_* in place of ECORE_DMAE_FLAG_*. Enforce SET_FIELD() macro where appropriate. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c| 12 ++-- drivers/net/qede/base/ecore_dev_api.h| 92 ---

[dpdk-dev] [PATCH v2 1/9] net/qede/base: calculate right page index for PBL chains

2019-10-06 Thread Rasesh Mody
ecore_chain_set_prod/cons() sets the wrong page index in chains with non-power of 2 page count. Fix ecore_chain_set_prod/cons() for PBL chains with non power of 2 page count. Calculate the right page index according to current indexes. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_c

[dpdk-dev] [PATCH v2 2/9] net/qede/base: change MFW mailbox command log verbosity

2019-10-06 Thread Rasesh Mody
Change management FW mailboxes DP_VERBOSE module to ECORE_MSG_HW Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_mcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_mcp.c index 6c6560688..1a5152

[dpdk-dev] [PATCH v2 0/9] net/qede/base: update FW to 8.40.25.0

2019-10-06 Thread Rasesh Mody
Hi, This patch series updates the FW to 8.40.25.0 and includes corresponding base driver changes. It also includes some enhancements and fixes. The PMD version is bumped to 2.11.0.1. v2: Addressed checkpatch issues 9/9 - print adapter info for any failure (not just probe) during init Thank

[dpdk-dev] [PATCH v2 7/9] net/qede/base: update HSI code

2019-10-06 Thread Rasesh Mody
Update hardware software common base driver code in preparation to update the firmware to version 8.40.25.0. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.c | 1 + drivers/net/qede/base/common_hsi.h| 164 -- drivers/net/qede/base/ecore.h

[dpdk-dev] [PATCH v2 5/9] net/qede/base: update rt defs NVM cfg and mcp code

2019-10-06 Thread Rasesh Mody
Update and add runtime array offsets (rt defs), non-volatile memory configuration options (nvm cfg) and management co-processor (mcp) shared code in preparation to update the firmware to version 8.40.25.0. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h | 5 +- drivers/net

[dpdk-dev] [PATCH v2 9/9] net/qede: print adapter info during init failure

2019-10-06 Thread Rasesh Mody
Dump the info logs banner with available information in case of device initialization failure. Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 81 ++ drivers/net/qede/qede_ethdev.h | 19 +--- 2 files changed, 67 insertions(+), 33 deletions(-)

Re: [dpdk-dev] [PATCH v3] eal: add manual probing option

2019-10-06 Thread Vamsi Krishna Attunuru
> -Original Message- > From: dev On Behalf Of Gaetan Rivet > Sent: Friday, October 4, 2019 6:25 PM > To: dev@dpdk.org; Vamsi Krishna Attunuru > Cc: Gaetan Rivet ; Ferruh Yigit > ; Anatoly Burakov ; > Thomas Monjalon ; Jerin Jacob Kollanukkaran > ; David Marchand > Subject: [dpdk-dev]

Re: [dpdk-dev] [EXT] Re: [PATCH v1 1/3] lib/ethdev: add ethdev op to get hash index

2019-10-06 Thread Vamsi Krishna Attunuru
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, October 3, 2019 6:31 PM > To: Vamsi Krishna Attunuru ; dev@dpdk.org > Cc: Jerin Jacob Kollanukkaran ; ferruh.yi...@intel.com; > tho...@monjalon.net > Subject: [EXT] Re: [dpdk-dev] [PATCH v1 1/3] lib/ethdev: add ethdev op to

[dpdk-dev] [PATCH v9 4/7] drivers/net: update Rx RSS hash offload capabilities

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash delivery. Signed-off-by: Pavan Nikhilesh Reviewed-by: Andrew Rybchenko Reviewed-by: Hemant Agrawal Acked-by: Jerin Jacob Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- driv

[dpdk-dev] [PATCH v9 3/7] ethdev: add flow action type update as an offload

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add new Rx offload flag `DEV_RX_OFFLOAD_FLOW_MARK` that can be used to enable/disable PMDs write to `rte_mbuf::hash::fdir::hi` and `rte_mbuf::ol_flags` when flow actions `RTE_FLOW_ACTION_MARK` and `RTE_FLOW_ACTION_FLAG` are enabled. PMDs notify the validity of `rte_mbuf::ha

[dpdk-dev] [PATCH v9 0/7] ethdev: add new Rx offload flags

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add new Rx offload flags `DEV_RX_OFFLOAD_RSS_HASH` and `DEV_RX_OFFLOAD_FLOW_MARK`. These flags can be used to enable/disable PMD writes to rte_mbuf fields `hash.rss` and `hash.fdir.hi` and also `ol_flags:PKT_RX_RSS` and `ol_flags:PKT_RX_FDIR`. Add new packet type set functi

[dpdk-dev] [PATCH v9 1/7] ethdev: add set ptype function

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add `rte_eth_dev_set_supported_ptypes` function that will allow the application to inform the PMD the packet types it is interested in. Based on the ptypes set PMDs can optimize their Rx path. -If application doesn’t want any ptype information it can call `rte_eth_dev_set_s

[dpdk-dev] [PATCH v9 6/7] examples/eventdev_pipeline: add new Rx RSS hash offload

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Since pipeline_generic uses `rte_mbuf::hash::rss` add the new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` to inform PMD to copy the RSS hash result into the mbuf. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline/main.c | 113 - .../p

[dpdk-dev] [PATCH v9 2/7] ethdev: add mbuf RSS update as an offload

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` which can be used to enable/disable PMDs write to `rte_mbuf::hash::rss`. PMDs notify the validity of `rte_mbuf::hash:rss` to the applcation by enabling `PKT_RX_RSS_HASH ` flag in `rte_mbuf::ol_flags`. Signed-off-by: Pavan Ni

[dpdk-dev] [PATCH v9 5/7] drivers/net: update Rx flow flag and mark capabilities

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Add DEV_RX_OFFLOAD_FLOW_MARK flag for all PMDs that support flow action flag and mark. Signed-off-by: Pavan Nikhilesh Reviewed-by: Andrew Rybchenko Acked-by: Jerin Jacob --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- drivers/net/enic/enic_res.c | 3 ++-

[dpdk-dev] [PATCH v9 7/7] examples: disable Rx packet type parsing

2019-10-06 Thread pbhagavatula
From: Pavan Nikhilesh Disable packet type parsing in examples that don't use `rte_mbuf::packet_type` by setting ptype_mask as 0 in `rte_eth_dev_set_supported_ptypes` Signed-off-by: Pavan Nikhilesh --- examples/bbdev_app/main.c | 1 + examples/bond/main.c