Re: [dpdk-dev] [PATCH 1/6] event/dpaa2: fix def queue conf

2019-09-29 Thread Jerin Jacob
On Fri, Sep 27, 2019 at 1:31 PM Hemant Agrawal wrote: > > Test vector expect only one type of scheduling as default. > The old code is provide support scheduling types instead of default. > > Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") > Cc: sta...@dpdk.org > Signed-off-by:

Re: [dpdk-dev] [PATCH v4 08/10] examples/l2fwd-event: add eventdev main loop

2019-09-29 Thread Jerin Jacob
On Mon, Sep 30, 2019 at 11:08 AM Nipun Gupta wrote: > > > > > -Original Message- > > From: Pavan Nikhilesh Bhagavatula > > Sent: Friday, September 27, 2019 8:05 PM > > To: Nipun Gupta ; Jerin Jacob Kollanukkaran > > ; bruce.richard...@intel.com; Akhil Goyal > > ; Marko Kovacevic ; > > Ori

Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support

2019-09-29 Thread Su, Simei
Hi, Andrew > -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Monday, September 30, 2019 2:15 PM > To: Su, Simei ; Shahaf Shuler ; > Adrien Mazarguil > Cc: Zhang, Qi Z ; Wu, Jingjing ; > dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: add s

Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support

2019-09-29 Thread Andrew Rybchenko
Hi Simei, On 9/30/19 6:12 AM, Su, Simei wrote: Hi, Andrew -Original Message- From: Andrew Rybchenko [mailto:arybche...@solarflare.com] Sent: Sunday, September 29, 2019 7:51 PM To: Shahaf Shuler ; Adrien Mazarguil Cc: Su, Simei ; Zhang, Qi Z ; Wu, Jingjing ; dev@dpdk.org Subject: Re: [

Re: [dpdk-dev] [PATCH ] event/octeontx2: fix Rx adapter capabilities

2019-09-29 Thread Jerin Jacob
On Mon, Aug 19, 2019 at 4:17 PM wrote: > > From: Pavan Nikhilesh > > Octeontx2 SSO co-processor allows multiple ethernet device Rx queues > connected to a single Event device queue. > Fix the Rx adapter capabilities to allow application to configure > Rx queueus in n:1 ratio to event queues by ad

Re: [dpdk-dev] [PATCH v4 08/10] examples/l2fwd-event: add eventdev main loop

2019-09-29 Thread Nipun Gupta
> -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Friday, September 27, 2019 8:05 PM > To: Nipun Gupta ; Jerin Jacob Kollanukkaran > ; bruce.richard...@intel.com; Akhil Goyal > ; Marko Kovacevic ; > Ori Kam ; Radu Nicolau ; > Tomasz Kantecki ; Sunil Kumar Kori > > Cc: de

[dpdk-dev] [PATCH v5 9/9] net/ice: add FDIR GTPU tunnel support

2019-09-29 Thread Yahui Cao
Enable FDIR GTPU matching for RTE_FLOW Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 4 + drivers/net/ice/ice_fdir_filter.c | 145 -- 2 files changed, 140 insertions(+), 9 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/i

[dpdk-dev] [PATCH v5 5/9] net/ice: add FDIR counter resource init/release

2019-09-29 Thread Yahui Cao
The patch integrates the counter resource init/release into fdir's init/release scenario Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 33 +++ drivers/net/ice/ice_fdir_filter.c | 92 +++ 2 files changed, 125 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH v5 6/9] net/ice: add FDIR counter support

2019-09-29 Thread Yahui Cao
This patch add FDIR statistical counter support and it includes RTE_FLOW count actions support and query support. RTE_FLOW count actions support id and shared. RTE_FLOW query record packet hits by default. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 7 ++ drivers/net/ice/

[dpdk-dev] [PATCH v5 7/9] net/ice: reject duplicate flow for FDIR

2019-09-29 Thread Yahui Cao
Enable duplication lookup for existing flow director rule entry. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 17 +++ drivers/net/ice/ice_fdir_filter.c | 185 -- 2 files changed, 195 insertions(+), 7 deletions(-) diff --git a/drivers/net/ice/ice_

[dpdk-dev] [PATCH v5 8/9] net/ice: add FDIR vxlan tunnel support

2019-09-29 Thread Yahui Cao
Enable FDIR vxlan tunnel matching for RTE_FLOW Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 8 +++ drivers/net/ice/ice_fdir_filter.c | 108 ++ 2 files changed, 104 insertions(+), 12 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.h b/driver

[dpdk-dev] [PATCH v5 3/9] net/ice: add FDIR create and destroy

2019-09-29 Thread Yahui Cao
Add ice_create_fdir_filter to create a rule. If a flow is matched by flow director filter, filter rule will be set to HW. For now common pattern and queue/passthru/drop/mark actions are supported. Signed-off-by: Yahui Cao --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/ice_et

[dpdk-dev] [PATCH v5 4/9] net/ice: enable FDIR queue group

2019-09-29 Thread Yahui Cao
FDIR can send packet to a group of queues and distruibte it by RSS. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_fdir_filter.c | 68 +++ 1 file changed, 68 insertions(+) diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c index 984

[dpdk-dev] [PATCH v5 2/9] net/ice: configure HW FDIR rule

2019-09-29 Thread Yahui Cao
From: Beilei Xing This patch adds a HW FDIR rule to the FDIR HW table without adding a FDIR filter. Signed-off-by: Beilei Xing --- drivers/net/ice/ice_ethdev.h | 2 + drivers/net/ice/ice_fdir_filter.c | 276 +- 2 files changed, 277 insertions(+), 1 deletion(-

[dpdk-dev] [PATCH v5 1/9] net/ice: enable flow director engine

2019-09-29 Thread Yahui Cao
From: Beilei Xing Enable flow director engine, including initialization and teardown. - Control VSI create and release. - Queue pair allocated, set up and release. - Programming packet create and release. - FDIR profile create and release. Signed-off-by: Beilei Xing --- drivers/net/ice/Mak

[dpdk-dev] [PATCH v5 0/9] net/ice: add ice Flow Director driver

2019-09-29 Thread Yahui Cao
This patch series adds Flow Director support for Intel Ethernet Controller E810 series using RTE_FLOW - Patch 01-02 are FDIR init,teardown and configuration - Remaining patches are FDIR RTE_FLOW enablement The patchset depends on: http://patchwork.dpdk.org/project/dpdk/list/?series=6557 --- v5: *

Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support

2019-09-29 Thread Su, Simei
Hi, Andrew > -Original Message- > From: Andrew Rybchenko [mailto:arybche...@solarflare.com] > Sent: Sunday, September 29, 2019 7:51 PM > To: Shahaf Shuler ; Adrien Mazarguil > > Cc: Su, Simei ; Zhang, Qi Z ; Wu, > Jingjing ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: add s

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

2019-09-29 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 | 54 +- drivers/net/qede/qede_ethdev.h | 19 2 files changed, 46 insertions(+), 27 deletions(

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

2019-09-29 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 5/9] net/qede/base: update rt defs NVM cfg and mcp code

2019-09-29 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 3/9] net/qede/base: lock entire QM reconfiguration flow

2019-09-29 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 6/9] net/qede/base: move dmae code to HSI

2019-09-29 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 0/9] net/qede/base: update FW to 8.40.25.0

2019-09-29 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. Please apply. Thanks! -Rasesh Rasesh Mody (9): net/qede/base: calculate right page index for PBL chains net/

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

2019-09-29 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 1/9] net/qede/base: calculate right page index for PBL chains

2019-09-29 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

Re: [dpdk-dev] [PATCH v5 0/2] net/ice: enable advanced RSS

2019-09-29 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Sunday, September 29, 2019 6:30 PM > To: Zhang, Qi Z ; Xing, Beilei ; > Yang, Qiming ; Ye, Xiaolong > Cc: dev@dpdk.org; Su, Simei > Subject: [PATCH v5 0/2] net/ice: enable advanced RSS > > [PATCH v5 1/2] add teid hash for gtupu and sessio

Re: [dpdk-dev] [PATCH v3 0/5] rework for ice generic flow framework and switch filter

2019-09-29 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Ying A > Sent: Friday, September 27, 2019 2:55 AM > To: Ye, Xiaolong ; Zhang, Qi Z > Cc: dev@dpdk.org; Yang, Qiming ; Zhao1, Wei > ; Wang, Ying A > Subject: [PATCH v3 0/5] rework for ice generic flow framework and switch > filter > > patch 1/5 minor

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

2019-09-29 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

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

2019-09-29 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 v3 4/7] drivers/net: update Rx RSS hash offload capabilities

2019-09-29 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 --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- drivers/net/cxgbe/cxgbe.h| 3 ++- drivers/net/dpaa/dpaa_ethdev.c | 3 ++- drivers/net/dpaa2/

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

2019-09-29 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 v3 2/7] ethdev: add mbuf RSS update as an offload

2019-09-29 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 v3 1/7] ethdev: add set ptype function

2019-09-29 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 v3 5/7] drivers/net: update Rx flow flag and mark capabilities

2019-09-29 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 --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- drivers/net/enic/enic_res.c | 3 ++- drivers/net/i40e/i40e_ethdev.c | 3 ++- dri

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

2019-09-29 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

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

2019-09-29 Thread Pavan Nikhilesh Bhagavatula
>On 8/21/19 11:47 PM, pbhagavat...@marvell.com wrote: >> 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 appl

[dpdk-dev] [PATCH] port: Eventdev port support added in the rte_port library

2019-09-29 Thread Rahul Shah
Signed-off-by: Rahul Shah --- lib/librte_port/Makefile | 4 +- lib/librte_port/meson.build | 8 +- lib/librte_port/rte_port_eventdev.c | 585 +++ lib/librte_port/rte_port_eventdev.h | 96 + lib/librte_port/rte_port_version.map | 9 + 5 fil

Re: [dpdk-dev] [PATCH v5 2/4] examples/ipsec-secgw: add fallback session feature

2019-09-29 Thread Ananyev, Konstantin
Hi Marcin, > > diff --git a/doc/guides/sample_app_ug/ipsec_secgw.rst > b/doc/guides/sample_app_ug/ipsec_secgw.rst > index ad2d79e75..21b4b4418 100644 > --- a/doc/guides/sample_app_ug/ipsec_secgw.rst > +++ b/doc/guides/sample_app_ug/ipsec_secgw.rst > @@ -401,7 +401,7 @@ The SA rule syntax is show

Re: [dpdk-dev] [PATCH 01/10] security: introduce CPU Crypto action type and API

2019-09-29 Thread Ananyev, Konstantin
Hi Hemant, > > On 06-Sep-19 6:43 PM, Fan Zhang wrote: > > This patch introduce new RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO action type to > > security library. The type represents performing crypto operation with CPU > > cycles. The patch also includes a new API to process crypto operations in > > bu

Re: [dpdk-dev] [PATCH v3 0/3] add fallback session

2019-09-29 Thread Anoob Joseph
Hi Konstantin, Please see inline. Thanks, Anoob > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, September 26, 2019 6:08 PM > To: Anoob Joseph ; Smoczynski, MarcinX > ; akhil.go...@nxp.com > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Narayana > Prasad Raju Athreya ;

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-09-29 Thread Wei Hu (Xavier)
Hi, Ferruh Yigit On 2019/9/28 2:30, Ferruh Yigit wrote: > On 9/26/2019 3:01 PM, Wei Hu (Xavier) wrote: >> The Hisilicon Network Subsystem is a long term evolution IP which is >> supposed to be used in Hisilicon ICT SoCs such as Kunpeng 920. >> >> This series add DPDK rte_ethdev poll mode driver f

Re: [dpdk-dev] [PATCH 01/13] ethdev: support setup function for hairpin queue

2019-09-29 Thread Andrew Rybchenko
Hi Ori, On 9/28/19 6:19 PM, Ori Kam wrote: Hi Andrew. PSB -Original Message- From: Andrew Rybchenko Sent: Thursday, September 26, 2019 8:24 PM To: Ori Kam ; Thomas Monjalon ; Ferruh Yigit Cc: dev@dpdk.org; jingjing...@intel.com; step...@networkplumber.org Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH v3 18/22] net/hns3: add dump register ops for hns3 PMD driver

2019-09-29 Thread Wei Hu (Xavier)
On 2019/9/28 2:31, Ferruh Yigit wrote: > On 9/26/2019 3:02 PM, Wei Hu (Xavier) wrote: >> This patch adds get_reg related function codes for hns3 PMD driver. >> >> Signed-off-by: Wei Hu (Xavier) >> Signed-off-by: Chunsong Feng >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Hao Chen >> Si

Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support

2019-09-29 Thread Andrew Rybchenko
On 7/31/19 4:43 PM, Shahaf Shuler wrote: Wednesday, July 31, 2019 3:31 PM, Adrien Mazarguil: Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: add symmetric toeplitz hash support On Wed, Jul 31, 2019 at 03:08:19PM +0300, Andrew Rybchenko wrote: On 7/25/19 7:57 AM, simei wrote: From: Simei Su Curr

Re: [dpdk-dev] [PATCH 00/12] net/mlx5: add bonding configuration support

2019-09-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, September 25, 2019 10:53 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > > Subject: [PATCH 00/12] net/mlx5: add bonding configuration support > > Multiport Mellanox NICs may support the bonding configu

Re: [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag

2019-09-29 Thread Andrew Rybchenko
On 9/29/19 7:29 AM, Vivek Kumar Sharma wrote: From: Vivek Sharma Use correct flag for indicating QinQ strip rx offload. Fixes: dfebfc9882fb ("ethdev: support dynamic configuration of QinQ strip") Cc: sta...@dpdk.org Signed-off-by: Vivek Sharma Reviewed-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH v6 2/3] ethdev: extend RSS offload types

2019-09-29 Thread Andrew Rybchenko
On 9/29/19 8:11 AM, Simei Su wrote: This patch reserves several bits as input set selection from the high end of the 64 bits. It is combined with exisiting ETH_RSS_* to represent rss types. rss -> RSS for example: ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY: hash on src ip address only ETH_RSS_I

Re: [dpdk-dev] [PATCH v4 1/3] ethdev: decouple flow types and RSS offload types

2019-09-29 Thread Andrew Rybchenko
On 9/27/19 11:54 AM, Simei Su wrote: This patch decouples RTE_ETH_FLOW_* and ETH_RSS_*. Both serves different purposes. The former defines flow types. The later defines RSS offload types. Signed-off-by: Simei Su Acked-by: Andrew Rybchenko [snip] @@ -482,31 +481,29 @@ struct rte_eth_rss_co

[dpdk-dev] [PATCH v5 1/2] net/ice: add RSS configuration for gtpu/pppoe

2019-09-29 Thread Simei Su
This patch adds rss support for gtpu with input set teid and pppoe/pppod with input set source mac and session id. Signed-off-by: Simei Su --- drivers/net/ice/ice_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_et

[dpdk-dev] [PATCH v5 2/2] net/ice: enable advanced RSS

2019-09-29 Thread Simei Su
This patch supports: (1)symmetric hash by rte_flow RSS action. (2)input set change by rte_flow RSS action. Signed-off-by: Simei Su --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/Makefile | 1 + drivers/net/ice/ice_ethdev.c | 7 + drivers/net/i

[dpdk-dev] [PATCH v5 0/2] net/ice: enable advanced RSS

2019-09-29 Thread Simei Su
[PATCH v5 1/2] add teid hash for gtupu and session id hash for pppoe/pppod. [PATCH v5 2/2] support input set change and symmetric hash by rte_flow RSS action. [PTACH v5 2/2] depends on the following patches on patchwork: (1)net/ice: rework for generic flow enabling (2)https://patchwork.dpdk.o

Re: [dpdk-dev] [PATCH v7 2/3] ethdev: extend RSS offload types

2019-09-29 Thread Su, Simei
Sorry to miss to add the Ori's ack to this patch and sorry to add to wrong location. I re-add ack this time. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Su, Simei > Sent: Sunday, September 29, 2019 4:56 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Ye, Xiaolong ;

[dpdk-dev] [PATCH] add Hisilicon hns3 to supported NICs

2019-09-29 Thread Wei Hu (Xavier)
The PMD hns3 was added in DPDK 19.11. Signed-off-by: Wei Hu (Xavier) --- content/supported/nics/hisilicon.md | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 content/supported/nics/hisilicon.md diff --git a/content/supported/nics/hisilicon.md b/content/supported/nics/hisilicon.

Re: [dpdk-dev] [PATCH] net/mlx5: fix ConnectX-6 VF type recognition

2019-09-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, September 25, 2019 10:32 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix ConnectX-6 VF type recognition > > The PCI virtual function type was not recog

Re: [dpdk-dev] [PATCH] net/mlx5: fix Bluefield VF type recognition

2019-09-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, September 25, 2019 10:31 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix Bluefield VF type recognition > > The PCI virtual function type was recognized

Re: [dpdk-dev] [PATCH v7 2/3] ethdev: extend RSS offload types

2019-09-29 Thread Su, Simei
> -Original Message- > From: Su, Simei > Sent: Sunday, September 29, 2019 3:09 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Ye, Xiaolong ; Yigit, Ferruh > Cc: dev@dpdk.org; Su, Simei > Subject: [PATCH v7 2/3] ethdev: extend RSS offload types > > This patch reserves several bits as input se

Re: [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handling

2019-09-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Sunday, September 22, 2019 10:47 AM > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handling >

Re: [dpdk-dev] [PATCH] net/mlx5: fix UAR remap initialization for 32-bit systems

2019-09-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, September 18, 2019 9:54 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > > Subject: [PATCH] net/mlx5: fix UAR remap initialization for 32-bit systems > > The txq_uar_init() routine uses the uninitialized

Re: [dpdk-dev] [PATCH v7 1/3] ethdev: decouple flow types and RSS offload types

2019-09-29 Thread Su, Simei
Hi, Zhiyong > -Original Message- > From: Yang, Zhiyong > Sent: Sunday, September 29, 2019 3:55 PM > To: Su, Simei ; Zhang, Qi Z ; Wu, > Jingjing ; Ye, Xiaolong ; Yigit, > Ferruh > Cc: dev@dpdk.org; Su, Simei ; or...@mellanox.com > Subject: RE: [dpdk-dev] [PATCH v7 1/3] ethdev: decouple fl

Re: [dpdk-dev] [PATCH v7 1/3] ethdev: decouple flow types and RSS offload types

2019-09-29 Thread Yang, Zhiyong
Hi Simei, Just one reminder. It looks that you miss to add the Ori's ack to this patch. Acked-by: Ori Kam Thanks Zhiyong -Original Message- From: dev On Behalf Of Simei Su Sent: Sunday, September 29, 2019 3:09 PM To: Zhang, Qi Z ; Wu, Jingjing ; Ye, Xiaolong ; Yigit, Ferruh Cc: dev@d

Re: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support

2019-09-29 Thread Su, Simei
Hi, Ori Kam, I have updated the patch for v7. Br Simei > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Su, Simei > Sent: Sunday, September 29, 2019 2:47 PM > To: Ori Kam ; Zhang, Qi Z ; Wu, > Jingjing ; Ye, Xiaolong > Cc: dev@dpdk.org > Subject: Re: [dpdk-de

[dpdk-dev] [PATCH v7 1/3] ethdev: decouple flow types and RSS offload types

2019-09-29 Thread Simei Su
This patch decouples RTE_ETH_FLOW_* and ETH_RSS_*. Both serves different purposes. The former defines flow types. The later\ defines RSS offload types. Signed-off-by: Simei Su --- lib/librte_ethdev/rte_ethdev.h | 49 -- 1 file changed, 23 insertions(+), 26

[dpdk-dev] [PATCH v7 3/3] app/testpmd: add RSS offload types extending support

2019-09-29 Thread Simei Su
This patch adds cmdline support for extended rss types configuration. Signed-off-by: Simei Su --- app/test-pmd/cmdline.c | 18 +++--- app/test-pmd/config.c | 4 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c inde

[dpdk-dev] [PATCH v7 0/3] extend RSS offload types

2019-09-29 Thread Simei Su
[PATCH v7 1/3] ethdev: decouple flow types and RSS offload types. [PATCH v7 2/3] ethdev: add several bits for extending rss offload types. [PATCH v7 3/3] app/testpmd: add cmdline support for extending rss types. v7: * Supplement related configuration for new flag in app/test-pmd/cmdline.c. v6: *

[dpdk-dev] [PATCH v7 2/3] ethdev: extend RSS offload types

2019-09-29 Thread Simei Su
This patch reserves several bits as input set selection from the high end of the 64 bits. It is combined with exisiting ETH_RSS_* to represent rss types. for example: ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY: hash on src ip address only ETH_RSS_IPV4_UDP | ETH_RSS_L4_DST_ONLY: hash on src/dst IP and