Re: [dpdk-dev] [PATCH 0/5] net/iavf: support FDIR capabiltiy

2020-03-17 Thread Stephen Hemminger
On Wed, 18 Mar 2020 13:41:56 +0800 Simei Su wrote: > [PATCH 1/5] support FDIR common patterns and actions. > [PATCH 2/5] support FDIR GTPU pattern. > [PATCH 3/5] support FDIR L2TPv3, ESP, AH and NAT-T pattern. > [PATCH 4/5] support FDIR PFCP node and session pattern. > [PATCH 5/5] support FDIR ma

[dpdk-dev] [PATCH 5/5] net/iavf: add support for FDIR mark action

2020-03-17 Thread Simei Su
This patch enables mark action support and takes mark only case into consideration. Signed-off-by: Simei Su --- drivers/net/iavf/iavf.h | 1 + drivers/net/iavf/iavf_fdir.c | 46 +++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/driv

[dpdk-dev] [PATCH 4/5] net/iavf: add support for FDIR PFCP

2020-03-17 Thread Simei Su
This patch enables PFCP node and session pattern for RTE_FLOW. Signed-off-by: Simei Su --- drivers/net/iavf/iavf_fdir.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/iavf/iavf_fdir.c b/drivers/net/iavf/iavf_fdir.c index 70437d6..8d49c28 100644 ---

[dpdk-dev] [PATCH 0/5] net/iavf: support FDIR capabiltiy

2020-03-17 Thread Simei Su
[PATCH 1/5] support FDIR common patterns and actions. [PATCH 2/5] support FDIR GTPU pattern. [PATCH 3/5] support FDIR L2TPv3, ESP, AH and NAT-T pattern. [PATCH 4/5] support FDIR PFCP node and session pattern. [PATCH 5/5] support FDIR mark action. This patchset depend on the following patches on pa

[dpdk-dev] [PATCH 3/5] net/iavf: add support for FDIR L2TPv3 and IPSec

2020-03-17 Thread Simei Su
This patch enables L2TPv3, ESP, AH and NAT-T pattern for RTE_FLOW. Signed-off-by: Simei Su --- drivers/net/iavf/iavf_fdir.c | 97 1 file changed, 97 insertions(+) diff --git a/drivers/net/iavf/iavf_fdir.c b/drivers/net/iavf/iavf_fdir.c index ad100c8.

[dpdk-dev] [PATCH 1/5] net/iavf: add support for FDIR basic rule

2020-03-17 Thread Simei Su
This patch adds FDIR create/destroy/validate function in AVF. Common pattern and queue/qgroup/passthru/drop actions are supported. Signed-off-by: Simei Su --- drivers/net/iavf/Makefile | 1 + drivers/net/iavf/iavf.h | 16 + drivers/net/iavf/iavf_fdir.c | 762 +++

[dpdk-dev] [PATCH 2/5] net/iavf: add support for FDIR GTPU

2020-03-17 Thread Simei Su
This patch enables GTPU pattern for RTE_FLOW. Signed-off-by: Simei Su --- drivers/net/iavf/iavf_fdir.c | 67 1 file changed, 67 insertions(+) diff --git a/drivers/net/iavf/iavf_fdir.c b/drivers/net/iavf/iavf_fdir.c index dd321ba..ad100c8 100644 --- a

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix X722 judgement when disable adminq operation

2020-03-17 Thread 王志克
Hi, Thanks for comment. I sent out v3. BTW, I do not use --subject-prefix='PATCH branch.x' since it seems do not take effect (and my git does not show such option) Br, Zhike Wang JDCloud, Product Development, IaaS   -

[dpdk-dev] [PATCH v2] net/i40e: enable MAC address as FDIR input set

2020-03-17 Thread Lunyuan Cui
FVL enable both src MAC address and dst MAC address as FDIR's input set for ipv4-other. And FVL enable only dst MAC address as FDIR's input set for ipv4-other. When OVS-DPDK is working as a pure L2 switch, Both two ways match offload with Mark+RSS action would help the performance speed up. And FVL

Re: [dpdk-dev] [PATCH 1/4] net/e1000: remove the legacy filter functions

2020-03-17 Thread Yang, Qiming
> -Original Message- > From: Di, ChenxuX > Sent: Wednesday, March 18, 2020 09:47 > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [PATCH 1/4] net/e1000: remove the legacy filter functions > > remove the legacy filter functions in Intel igb driver. > > Signed-off-by: C

Re: [dpdk-dev] [PATCH 0/4] drivers/net: remove legacy filter API and switch to rte flow

2020-03-17 Thread Stephen Hemminger
On Wed, 18 Mar 2020 01:47:06 + Chenxu Di wrote: > remove legacy filter functions already implemented in rte_flow > for drivers igb, ixgbe, and i40e. > implement hash function include set hash function and set hash > input set in rte_flow for driver i40e. > > Chenxu Di (4): > net/e1000: re

[dpdk-dev] [PATCH 4/4] net/i40e: implement hash function in rte flow API

2020-03-17 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- doc/guides/nics/i40e.rst | 14 + drivers/net/i40e/i40e_ethdev.c | 451 ++--- drivers/net/i40e/i40e_ethdev.h | 18 ++ drive

[dpdk-dev] [PATCH 1/4] net/e1000: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel igb driver. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_05.rst | 9 +++ drivers/net/e1000/igb_ethdev.c | 36 -- 2 files changed, 9 insertions(+), 36 deletions(-) diff --git a/doc/guides/rel_notes/r

[dpdk-dev] [PATCH 3/4] net/i40e: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel i40e driver Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c | 454 - drivers/net/i40e/i40e_ethdev.h | 8 - drivers/net/i40e/i40e_fdir.c | 393 3 files changed, 855 deletions(-

[dpdk-dev] [PATCH 0/4] drivers/net: remove legacy filter API and switch to rte flow

2020-03-17 Thread Chenxu Di
remove legacy filter functions already implemented in rte_flow for drivers igb, ixgbe, and i40e. implement hash function include set hash function and set hash input set in rte_flow for driver i40e. Chenxu Di (4): net/e1000: remove the legacy filter functions net/ixgbe: remove the legacy filt

[dpdk-dev] [PATCH 2/4] net/ixgbe: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel ixgbe driver Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 78 drivers/net/ixgbe/ixgbe_fdir.c | 11 - 2 files changed, 89 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net

Re: [dpdk-dev] [PATCH 3/4] net/vhost: leverage DMA engines to accelerate Tx operations

2020-03-17 Thread Liu, Yong
> -Original Message- > From: Hu, Jiayu > Sent: Tuesday, March 17, 2020 5:31 PM > To: Liu, Yong ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Ye, Xiaolong ; > Wang, Zhihong > Subject: RE: [dpdk-dev] [PATCH 3/4] net/vhost: leverage DMA engines to > accelerate Tx operations > > Hi Mar

Re: [dpdk-dev] [PATCH 2/4] net/vhost: setup vrings for DMA-accelerated datapath

2020-03-17 Thread Liu, Yong
> -Original Message- > From: Hu, Jiayu > Sent: Tuesday, March 17, 2020 5:36 PM > To: Liu, Yong ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Ye, Xiaolong ; > Wang, Zhihong > Subject: RE: [dpdk-dev] [PATCH 2/4] net/vhost: setup vrings for DMA- > accelerated datapath > > Hi Marvin, >

[dpdk-dev] [PATCH v2] doc: fix incorrect example for specifying log level

2020-03-17 Thread Xiaolong Ye
Now we need to add prefix like lib. to enable the log, also changing val 8 to "debug"" which would be more descriptive. Fixes: ffb9fd1b0808 ("log: update legacy modules dynamic logs regex") Cc: sta...@dpdk.org Reported-by: Haiyue Wang Signed-off-by: Xiaolong Ye --- doc/guides/linux_gsg/eal_arg

Re: [dpdk-dev] [PATCH] doc: fix incorrect example for specifying log level

2020-03-17 Thread Ye Xiaolong
On 03/17, Stephen Hemminger wrote: >On Tue, 17 Mar 2020 16:31:06 +0800 >Xiaolong Ye wrote: > >> Now we need to add prefix like lib. to enable the log. >> >> Fixes: ffb9fd1b0808 ("log: update legacy modules dynamic logs regex") >> Cc: sta...@dpdk.org >> >> Reported-by: Haiyue Wang >> Signed-off-

Re: [dpdk-dev] [PATCH 2/2] build: add module definitions and pci lib support

2020-03-17 Thread Dmitry Kozlyuk
> 17/03/2020 01:48, Pallavi Kadam: > > Added mman functions to eal exports list. > [...] > > --- a/lib/librte_eal/rte_eal_exports.def > > +++ b/lib/librte_eal/rte_eal_exports.def > > This file is generated. Only the .map can be updated. A minor correction: this file is not generated, it overr

Re: [dpdk-dev] [PATCH v4 0/7] MinGW-w64 support

2020-03-17 Thread Thomas Monjalon
11/03/2020 18:22, William Tu: > On Wed, Feb 26, 2020 at 8:25 PM Dmitry Kozlyuk > wrote: > > > > This patch series add support for building DPDK using MinGW-w64. > > > > MinGW-w64 provides GNU toolchain and independent platform SDK on > > Windows. It also supports cross-compilation to Windows from

Re: [dpdk-dev] [PATCH] eal: fix compiler detection in public headers

2020-03-17 Thread Thomas Monjalon
17/03/2020 08:09, Dmitry Kozlyuk: > > > This case is now better fixed with a patch removing EAL dependencies > > > from the PCI library, which drops rte_common.h inclusion from pmdinfogen: > > > http://patches.dpdk.org/patch/66701/ > > > > Actually rte_common.h is directly included by > > b

[dpdk-dev] [PATCH] raw/qat introduce QAT rawdev pmd

2020-03-17 Thread Mairtin o Loingsigh
Exposes QAT via rawdev API to allow the submission of operations requiring error detect and other non symmetric crypto transforms. Signed-off-by: Mairtin o Loingsigh --- config/common_base |5 + drivers/common/qat/Makefile | 14 +- drivers/common/qat/qat_device.c | 14 +

Re: [dpdk-dev] [PATCH 0/3] add new Double Word Key hash table

2020-03-17 Thread Wang, Yipeng1
> -Original Message- > From: Stephen Hemminger > Sent: Monday, March 16, 2020 12:33 PM > To: Medvedkin, Vladimir > Cc: Morten Brørup ; dev@dpdk.org; > Ananyev, Konstantin ; Wang, Yipeng1 > ; Gobriel, Sameh ; > Richardson, Bruce ; Suanming Mou > ; Olivier Matz ; > Xueming(Steven) Li ; Andr

Re: [dpdk-dev] [PATCH] pci: restore access to RTE_VERIFY for Power builds

2020-03-17 Thread David Marchand
On Tue, Mar 17, 2020 at 2:21 PM David Marchand wrote: > On Mon, Mar 16, 2020 at 9:48 PM David Christensen > wrote: > > > > The include file rte_debug.h is pulled into x86 builds through the > > following callchain: > > > > lib/librte_eal/common/include/generic/rte_cycles.h:17, > > lib/librte_eal/

Re: [dpdk-dev] [PATCH v3 1/4] test: enable tests to run in no-huge mode

2020-03-17 Thread Wang, Yipeng1
> -Original Message- > From: Ruifeng Wang > Sent: Friday, March 13, 2020 1:16 AM > To: acon...@redhat.com; maicolgabr...@hotmail.com; Richardson, Bruce > ; Ananyev, Konstantin > ; Dumitrescu, Cristian > ; Wang, Yipeng1 > ; Gobriel, Sameh > Cc: dev@dpdk.org; david.march...@redhat.com; Bura

Re: [dpdk-dev] [PATCH v2 4/4] add ABI checks

2020-03-17 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, March 17, 2020 4:10 PM > To: Trahe, Fiona ; Kusztal, ArkadiuszX > > Cc: David Marchand ; > nhor...@tuxdriver.com; bl...@debian.org; ktray...@redhat.com; Ray > Kinsella ; dev@dpdk.org; Akhil Goyal > ; Yigit, Ferruh ; Ananyev,

Re: [dpdk-dev] [PATCH 1/2] hash: add hash bulk lookup with hash signatures array

2020-03-17 Thread Wang, Yipeng1
> -Original Message- > From: Medvedkin, Vladimir > Sent: Monday, March 9, 2020 5:44 AM > To: dev@dpdk.org > Cc: Wang, Yipeng1 ; Gobriel, Sameh > ; Richardson, Bruce > > Subject: [PATCH 1/2] hash: add hash bulk lookup with hash signatures array > > Implement rte_hash_lookup_with_hash_bulk

Re: [dpdk-dev] [PATCH] doc: fix incorrect example for specifying log level

2020-03-17 Thread Stephen Hemminger
On Tue, 17 Mar 2020 16:31:06 +0800 Xiaolong Ye wrote: > Now we need to add prefix like lib. to enable the log. > > Fixes: ffb9fd1b0808 ("log: update legacy modules dynamic logs regex") > Cc: sta...@dpdk.org > > Reported-by: Haiyue Wang > Signed-off-by: Xiaolong Ye > --- > doc/guides/linux_gs

Re: [dpdk-dev] [PATCH 03/13] librte_security: fix session counter

2020-03-17 Thread Anoob Joseph
Hi Lukasz, The title need to be changed (librte_security -> security). With that change, Acked-by: Anoob Joseph > -Original Message- > From: dev On Behalf Of Lukasz Wojciechowski > Sent: Thursday, March 12, 2020 8:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 03/13] librte_secu

Re: [dpdk-dev] [PATCH v3 0/4] no-huge unit test

2020-03-17 Thread dwilder
On 2020-03-13 01:16, Ruifeng Wang wrote: For environments (such as containers) where hugetlbfs are not available, some unit tests can be run with 'no-huge' option. fast-tests suites is generated dynamically according to hugetlbfs availability in building environment. This allows unit test to ru

Re: [dpdk-dev] [PATCH 02/13] librte_security: fix return types in documentation

2020-03-17 Thread Anoob Joseph
Hi Lukasz, I think you will need to change the title to something like, "security: fix return types in documentation" Also, "Fixes" tag is missing. This should be applicable for stable also. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Lukasz Wojciechowski > Sent: Thurs

[dpdk-dev] [PATCH] devtools: silence meson install

2020-03-17 Thread David Marchand
Installing with ninja is quite verbose by default, hide ninja output under TEST_MESON_BUILD_VERBOSE and TEST_MESON_BUILD_VERY_VERBOSE options. Signed-off-by: David Marchand --- devtools/test-meson-builds.sh | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/devtools/tes

Re: [dpdk-dev] [RFC] net/mlx5: add large packet size support to MPRQ

2020-03-17 Thread Slava Ovsiienko
The packet rate with 64 bytes packet size over 100 Gbps line can reach 148.8 million packets per second. The ConnectX NICs descriptor part to specify the packet data receiving buffer is 16 bytes size. So, the required PCIe bandwidth just to read descriptors by the NIC from the host memory is 148

[dpdk-dev] [PATCH 32/33] net/bnxt: add support for injecting mark into packet’s mbuf

2020-03-17 Thread Venkat Duvvuru
When a flow is offloaded with MARK action (RTE_FLOW_ACTION_TYPE_MARK), each packet of that flow will have metadata set in its completion. This metadata will be used to fetch an index into a mark table where the actual MARK for that flow is stored. Fetch the MARK from the mark table and inject it in

[dpdk-dev] [PATCH 33/33] config: introduce BNXT TRUFLOW config flag

2020-03-17 Thread Venkat Duvvuru
BNXT_TRUFLOW flag controls TRUFLOW feature in Broadcom adapters. This flag is disabled by default. Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- config/common_base | 1 + 1 file changed, 1 insertion(+) diff --git a/config/common_base b/config

[dpdk-dev] [PATCH 27/33] net/bnxt: add support for rte flow validate driver hook

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Validates rte_flow_create arguments 2. Parses rte_flow_item types 3. Parses rte_flow_action types 4. Calls ulp_matcher_pattern_match to see if the flow is supported 5. If there is a match, returns success otherwise failure Signed-off-by:

[dpdk-dev] [PATCH 31/33] net/bnxt: disable vector mode when BNXT TRUFLOW is enabled

2020-03-17 Thread Venkat Duvvuru
clear BNXT_FLAG_RX_VECTOR_PKT_MODE bit in bp->flags when RTE_LIBRTE_BNXT_TRUFLOW is enabled. Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bnxt/bn

[dpdk-dev] [PATCH 30/33] net/bnxt: register tf rte flow ops

2020-03-17 Thread Venkat Duvvuru
Register bnxt_ulp_rte_flow_ops when RTE_LIBRTE_BNXT_TRUFLOW is enabled. Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt.h| 1 + drivers/net/bnxt/bnxt_ethdev.c | 4 2 files changed, 5 insertions(+) diff --git a

[dpdk-dev] [PATCH 28/33] net/bnxt: add support for rte flow destroy driver hook

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Gets the ulp session information from eth_dev 2. Fetches the flow associated with the flow id from the flow table 3. Calls ulp_mapper_resources_free which releases the key & action tables associated with that flow Signed-off-by: Kishor

[dpdk-dev] [PATCH 29/33] net/bnxt: add support for rte flow flush driver hook

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Gets the ulp session information from eth_dev 2. Fetches the rte_flow table associated with this session 3. Iterates through all the flows in the flow table 4. Calls ulp_mapper_resources_free which releases the key & action tables assoc

[dpdk-dev] [PATCH 26/33] net/bnxt: add support for rte flow create driver hook

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Validates rte_flow_create arguments 2. Parses rte_flow_item types 3. Parses rte_flow_action types 4. Calls ulp_matcher_pattern_match to see if the flow is supported 5. If there is a match, calls ulp_mapper_flow_create to program key & a

[dpdk-dev] [PATCH 23/33] net/bnxt: match rte flow actions with flow template actions

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Takes act_bitmap generated from the rte_flow_actions 2. Iterates through the static act_bitmap list 3. Returns success if a match is found, otherwise an error Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by:

[dpdk-dev] [PATCH 25/33] net/bnxt: add support for rte flow action parsing

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Registers a callback handler for each rte_flow_action type, if it is supported 2. Iterates through each rte_flow_action till RTE_FLOW_ACTION_TYPE_END 3. Invokes the action call back handler 4. Each action call back handler will populate

[dpdk-dev] [PATCH 24/33] net/bnxt: add support for rte flow item parsing

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha 1. Registers a callback handler for each rte_flow_item type, if it is supported 2. Iterates through each rte_flow_item till RTE_FLOW_ITEM_TYPE_END 3. Invokes the header call back handler 4. Each header call back handler will populate the respective fields in hdr_fie

[dpdk-dev] [PATCH 20/33] net/bnxt: add support to free key and action tables

2020-03-17 Thread Venkat Duvvuru
From: Mike Baucom This patch does the following 1. Gets all the flow resources from the flow id 2. Frees all the table resources 3. Frees the flow in the flow table Signed-off-by: Mike Baucom Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Review

[dpdk-dev] [PATCH 21/33] net/bnxt: add support to alloc and program key and act tbls

2020-03-17 Thread Venkat Duvvuru
From: Mike Baucom This patch does the following 1. Gets the action tables information from the action template id 2. Gets the class tables information from the class template id 3. Initializes the registry file 4. Allocates a flow id from the flow table 5. Process the class & action tables Signe

[dpdk-dev] [PATCH 19/33] net/bnxt: add support to process key tables

2020-03-17 Thread Venkat Duvvuru
From: Mike Baucom This patch creates the classifier table entries for a flow. Signed-off-by: Mike Baucom Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/tf_ulp/ulp_mapper.c| 773

[dpdk-dev] [PATCH 22/33] net/bnxt: match rte flow items with flow template patterns

2020-03-17 Thread Venkat Duvvuru
From: Kishore Padmanabha This patch does the following 1. Takes hdr_bitmap generated from the rte_flow_items 2. Iterates through the static hdr_bitmap list 3. Returns success if a match is found, otherwise an error Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by: La

[dpdk-dev] [PATCH 15/33] net/bnxt: add support for ULP session manager init

2020-03-17 Thread Venkat Duvvuru
A ULP session will contain all the resources needed to support rte flow offloads. A session is initialized as part of rte_eth_device start. A DPDK application can have multiple interfaces which means rte_eth_device start will be called for each of these devices. ULP session manager will make sure t

[dpdk-dev] [PATCH 18/33] net/bnxt: add support to process action tables

2020-03-17 Thread Venkat Duvvuru
From: Mike Baucom This patch processes the action template. Iterates through the list of action info templates and processes it. Signed-off-by: Mike Baucom Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson --- drivers/net/bnxt/Makefile

[dpdk-dev] [PATCH 17/33] net/bnxt: add helper functions for blob/regfile ops

2020-03-17 Thread Venkat Duvvuru
From: Mike Baucom 1. blob routines for managing key/mask/result data 2. regfile routines for managing temporal data during flow construction Signed-off-by: Mike Baucom Signed-off-by: Kishore Padmanabha Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Kha

[dpdk-dev] [PATCH 16/33] net/bnxt: add support for ULP session manager cleanup

2020-03-17 Thread Venkat Duvvuru
A ULP session will contain all the resources needed to support rte flow offloads. A session is initialized as part of rte_eth_device start. A DPDK application can have multiple interfaces which means rte_eth_device start will be called for each of these devices. ULP session manager will make sure t

[dpdk-dev] [PATCH 14/33] net/bnxt: fetch vnic info from DPDK port

2020-03-17 Thread Venkat Duvvuru
VNIC is needed for the driver to program the action record for rx flows. VNIC determines what receive rings to use to place the received packets. This patch introduces a routine that will convert a given dpdk port to VNIC. Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by:

[dpdk-dev] [PATCH 11/33] net/bnxt: add tf core table scope support

2020-03-17 Thread Venkat Duvvuru
From: Farah Smith - Added TruFlow Table public API - Added Table Scope capability including Table Type support code for setting and getting Table Types. Signed-off-by: Farah Smith Signed-off-by: Michael Wildt Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnx

[dpdk-dev] [PATCH 13/33] net/bnxt: fetch SVIF information from the firmware

2020-03-17 Thread Venkat Duvvuru
SVIF (source virtual interface) is used to represent a physical port, physical function, or a virtual function. SVIF is compared during L2 context and exact match lookups in TX direction. SVIF is masked for port information during L2 context and exact match lookup in RX direction. Hence, driver nee

[dpdk-dev] [PATCH 12/33] net/bnxt: add EM/EEM functionality

2020-03-17 Thread Venkat Duvvuru
From: Pete Spreadborough - Add TruFlow flow memory support - Exact Match (EM) adds the capability to manage and manipulate data flows using on chip memory. - Extended Exact Match (EEM) behaves similarly to EM, but at a vastly increased scale by using host DDR, with performance tradeoff due

[dpdk-dev] [PATCH 10/33] net/bnxt: add tf core TCAM support

2020-03-17 Thread Venkat Duvvuru
From: Shahaji Bhosle - Add TruFlow TCAM public API functions - Add TCAM support functions as well as public APIs. Signed-off-by: Shahaji Bhosle Signed-off-by: Jay Ding Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/tf_core/tf_core.c | 163 +

[dpdk-dev] [PATCH 09/33] net/bnxt: add tf core identifier support

2020-03-17 Thread Venkat Duvvuru
From: Farah Smith - Add TruFlow Identifier resource support - Add TruFlow public API for Identifier resources. - Add support code and stack for Identifier resource allocation control. Signed-off-by: Farah Smith Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt

[dpdk-dev] [PATCH 08/33] net/bnxt: add resource manager functionality

2020-03-17 Thread Venkat Duvvuru
From: Michael Wildt - Add TruFlow RM functionality for resource handling - Update the TruFlow Resource Manager (RM) with resource support functions for debugging as well as resource cleanup. - Add support for Internal and external pools. Signed-off-by: Michael Wildt Reviewed-by: Randy Schache

[dpdk-dev] [PATCH 06/33] net/bnxt: add tf core session sram functions

2020-03-17 Thread Venkat Duvvuru
From: Michael Wildt - Add TruFlow session resource support functionality - Add TruFlow session hw flush capability as well as sram support functions. - Add resource definitions for session pools. Signed-off-by: Michael Wildt Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde ---

[dpdk-dev] [PATCH 07/33] net/bnxt: add initial tf core resource mgmt support

2020-03-17 Thread Venkat Duvvuru
From: Shahaji Bhosle - Add TruFlow public API definitions for resources as well as RM infrastructure Signed-off-by: Shahaji Bhosle Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/Makefile |1 + drivers/net/bnxt/tf_core/tf_core.c| 39 +

[dpdk-dev] [PATCH 04/33] net/bnxt: add initial tf core session open

2020-03-17 Thread Venkat Duvvuru
From: Michael Wildt - Add infrastructure support - Add tf_core open session support Signed-off-by: Michael Wildt Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/Makefile| 8 + drivers/net/bnxt/bnxt.h | 7 + drivers/net/bn

[dpdk-dev] [PATCH 05/33] net/bnxt: add initial tf core session close support

2020-03-17 Thread Venkat Duvvuru
From: Michael Wildt - Add TruFlow session and resource support functions - Add Truflow session close API and related message support functions for both session and hw resources Signed-off-by: Michael Wildt Reviewed-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/Ma

[dpdk-dev] [PATCH 00/33] add support for host based flow table management

2020-03-17 Thread Venkat Duvvuru
This patchset introduces a new mechanism to allow host-memory based flow table management. This should allow higher flow scalability than what is currently supported. This new approach also defines a new rte_flow parser, and mapper which currently supports basic packet classification in receive pat

[dpdk-dev] [PATCH 03/33] net/bnxt: add truflow message handlers

2020-03-17 Thread Venkat Duvvuru
From: Pete Spreadborough - Add bnxt message functions for truflow APIs Signed-off-by: Pete Spreadborough Signed-off-by: Randy Schacher Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 83 drivers/n

[dpdk-dev] [PATCH 02/33] net/bnxt: update hwrm prep to use ptr

2020-03-17 Thread Venkat Duvvuru
From: Randy Schacher - Change HWRM_PREP to use pointer and use the full HWRM enum Signed-off-by: Randy Schacher Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt.h | 3 +- drivers/net/bnxt/bnxt_hwrm.c | 206 ++- 2 files changed, 107 in

[dpdk-dev] [RFC] net/mlx5: new device parameter to configure hairpin queue data size

2020-03-17 Thread Bing Zhao
When configuring hairpin queues, there is an input parameter to set the number of descriptors both for TX and RX interfaces. But it is not used for mlx5 devices because of the firmware mechanism. Currently, the stride buffer is being used for every ingress packet in the firmware. PMD driver could o

Re: [dpdk-dev] [PATCH v2 4/4] add ABI checks

2020-03-17 Thread Thomas Monjalon
17/03/2020 14:27, Kusztal, ArkadiuszX: > Hi Thomas, > > > -Original Message- > > From: Thomas Monjalon > > Sent: Monday, March 16, 2020 2:09 PM > > To: Trahe, Fiona > > Cc: Kusztal, ArkadiuszX ; David Marchand > > ; nhor...@tuxdriver.com; > > bl...@debian.org; ktray...@redhat.com; Ray Ki

[dpdk-dev] [PATCH v2 7/7] net/hinic/base: Support Pause flow control

2020-03-17 Thread Xiaoyun wang
The patch supports pause flow control, including getting or setting rx_pasue, tx_pause and auto_neg, auto_neg is just for Electric port type. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_pmd_niccfg.c | 29 ++ drivers/net/hinic/base/hinic_pmd_niccfg.h | 2 + drivers/net/h

[dpdk-dev] [PATCH v2 5/7] net/hinic: Add Fdir filter type

2020-03-17 Thread Xiaoyun wang
The patch supports filter type of inner VXLAN or non vxlan dport, and use TCAM method to config these rules. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_pmd_cmd.h| 6 + drivers/net/hinic/base/hinic_pmd_niccfg.c | 184 +- drivers/net/hinic/base/hinic_pmd_niccfg.h | 81

[dpdk-dev] [PATCH v2 4/7] net/hinic: remove 40GE Mezz card id

2020-03-17 Thread Xiaoyun wang
The 40GE Mezz card is not support, so remove it from the pmd driver. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hinic_pmd_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c b/drivers/net/hinic/hinic_pmd_ethdev.c index b81ecd0..37aa042 10064

[dpdk-dev] [PATCH v2 6/7] net/hinic/base: Optimize log files

2020-03-17 Thread Xiaoyun wang
The patch optimizes log files without "\n". Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_pmd_mbox.c | 3 +-- drivers/net/hinic/base/hinic_pmd_mgmt.c | 9 - drivers/net/hinic/base/hinic_pmd_niccfg.c | 20 +--- drivers/net/hinic/base/hinic_pmd_nicio.c

[dpdk-dev] [PATCH v2 0/7] Fix LRO issue and support Flow Control

2020-03-17 Thread Xiaoyun wang
This patch fixes LRO and hotupdate firmware problems, optimize doorbell area initialization without const macro definition, Optimize log files, support pause flow control and inner vxlan or non vxlan dport filter type. -- v1->v2: - Fix LRO problems - Fix hotupdate firmware problem - Optimize

[dpdk-dev] [PATCH v2 3/7] net/hinic/base: optimize doorbell area initialization

2020-03-17 Thread Xiaoyun wang
The maximum doorbell area is inited from hardware param, and not uses const macro param. Signed-off-by: Xiaoyun wang --- drivers/net/hinic/base/hinic_pmd_hwif.c | 23 +-- drivers/net/hinic/base/hinic_pmd_hwif.h | 1 + 2 files changed, 18 insertions(+), 6 deletions(-) diff -

[dpdk-dev] [PATCH v2 2/7] net/hinic/base: fix hotupdate firmware problem

2020-03-17 Thread Xiaoyun wang
When repeatedly hotupdate firmware and start/stop port at the same time, port start may be failed when cmdq reinit failed at the fw active phase, so if deteted status of cmdq is fail, then reinit the cmdq when port start. Fixes: d9ce1917941c ("net/hinic/base: add hardware operation") Signed-off-by

[dpdk-dev] [PATCH v2 1/7] net/hinic: fix LRO problems

2020-03-17 Thread Xiaoyun wang
Pmd driver should change the max_lro_pkt_size parameter into lro_wqe_num that used for hardware, and when packets are coalesced by hardware, PKT_RX_LRO flag should be set in the RX mbuf. Fixes: 9d4878ef0897 ("net/hinic: support LRO offload") Signed-off-by: Xiaoyun wang --- drivers/net/hinic/hini

[dpdk-dev] [RFC] app/test-flow-perf: add rte_flow perf app

2020-03-17 Thread Wisam Jaddo
Introducing new application for rte_flow performance testing. The application provide the ability to test insertion rate of specific rte_flow rule, by stressing it to the NIC, and calculate the insertion rate. It also provides packet per second measurements after the insertion operation is done.

Re: [dpdk-dev] [PATCH] ethdev: add DBDF action to RTE Flow

2020-03-17 Thread Ori Kam
HI Kiran, > -Original Message- > From: Kiran Kumar Kokkilagadda > Sent: Tuesday, March 17, 2020 12:34 PM > To: Ori Kam ; Wenzhuo Lu ; > Jingjing Wu ; Bernard Iremonger > ; John McNamara > ; Marko Kovacevic > ; Thomas Monjalon ; > Ferruh Yigit ; Andrew Rybchenko > > Cc: dev@dpdk.org > Sub

Re: [dpdk-dev] [PATCH v2 4/4] add ABI checks

2020-03-17 Thread Kusztal, ArkadiuszX
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Monday, March 16, 2020 2:09 PM > To: Trahe, Fiona > Cc: Kusztal, ArkadiuszX ; David Marchand > ; nhor...@tuxdriver.com; > bl...@debian.org; ktray...@redhat.com; Ray Kinsella ; > dev@dpdk.org; Akhil Goyal ; Yigit, Ferruh > ;

Re: [dpdk-dev] [PATCH] pci: restore access to RTE_VERIFY for Power builds

2020-03-17 Thread David Marchand
On Mon, Mar 16, 2020 at 9:48 PM David Christensen wrote: > > The include file rte_debug.h is pulled into x86 builds through the > following callchain: > > lib/librte_eal/common/include/generic/rte_cycles.h:17, > lib/librte_eal/common/include/arch/x86/rte_cycles.h:13, > lib/librte_eal/common/includ

Re: [dpdk-dev] [PATCH] net/mlx5: reduce txq completion index memory loads

2020-03-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Monday, March 16, 2020 5:35 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Slava Ovsiienko ; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: reduce txq completion index memory loads > > There is a non-optimal check

Re: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters

2020-03-17 Thread Anoob Joseph
Hi Lukasz, Please see inline. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Lukasz Wojciechowski > Sent: Thursday, March 12, 2020 8:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of > parameters [Anoob] I believe the title

Re: [dpdk-dev] [PATCH v3 4/4] ci: enable unit test for aarch64

2020-03-17 Thread Aaron Conole
Ruifeng Wang writes: > Add Travis CI jobs to run unit tests on aarch64 platform. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin Hu > --- Acked-by: Aaron Conole

Re: [dpdk-dev] [PATCH v3 2/4] ci: generate fast-tests suite base on hugepage availability

2020-03-17 Thread Aaron Conole
Ruifeng Wang writes: > In environments where hugepage are not available, such as > containers, many cases in fast-tests suite should also run > if no-huge EAL option is used. > > Flag is appended to each case in fast-tests suite to indicate > whether it lives with no-huge mode. > With the flag, f

Re: [dpdk-dev] [PATCH v3 3/4] ci: proceed with verification without hugepage

2020-03-17 Thread Aaron Conole
Ruifeng Wang writes: > As fast-tests suite generated with only applicable cases included, > hugepage is not a mandatory to run the test. > Ignore the result of hugepage set up, so that validation in environment > without hugepage can proceed. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin

Re: [dpdk-dev] [PATCH v3 1/4] test: enable tests to run in no-huge mode

2020-03-17 Thread Aaron Conole
Ruifeng Wang writes: > When running with '--no-huge' flag, tests failed with messages as: > ACL context creation with invalid NUMA should have failed! > fbk hash creation should have failed > test_table_pipeline: Check pipeline invalid params failed. > > These cases test against inval

Re: [dpdk-dev] [RFC PATCH] ci: reduce examples built for static builds

2020-03-17 Thread Aaron Conole
David Marchand writes: > On Mon, Mar 16, 2020 at 6:53 PM Aaron Conole wrote: >> >> Bruce Richardson writes: >> >> > Static builds can take a lot of space, so reduce the number of examples >> > built when doing those static builds. >> > >> > Signed-off-by: Bruce Richardson >> > --- >> >> It loo

Re: [dpdk-dev] [PATCH] net/mlx5: fix CVLAN tag set in IP item translation

2020-03-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dekel Peled > Sent: Monday, March 16, 2020 10:58 AM > To: Matan Azrad ; Slava Ovsiienko > ; Raslan Darawsheh > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix CVLAN tag set in IP item translation > > Previous fix added, at the end of f

Re: [dpdk-dev] [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic

2020-03-17 Thread Puneet Singh
Hi Xiaoyun Li Following is the difference between eth conf of testpmd and my application. Please let us know if any parameter is critical testpmd (rte_eth_conf) e = {link_speeds = 0, rxmode = {mq_mode = ETH_MQ_RX_NONE, max_rx_pkt_len = 1518, max_lro_pkt_size = 0, split_hdr_size = 0, offloads

[dpdk-dev] [dpdk-announce] DPDK 19.11.1 released

2020-03-17 Thread luca . boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-19.11.1.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=19.11 Luca Boccassi --- .ci/linux-setup.sh| 2 +- .travis.yml |

Re: [dpdk-dev] [RFC PATCH] ci: reduce examples built for static builds

2020-03-17 Thread David Marchand
On Mon, Mar 16, 2020 at 6:53 PM Aaron Conole wrote: > > Bruce Richardson writes: > > > Static builds can take a lot of space, so reduce the number of examples > > built when doing those static builds. > > > > Signed-off-by: Bruce Richardson > > --- > > It looks good to me. I'll try a run with R

Re: [dpdk-dev] [PATCH] ethdev: add DBDF action to RTE Flow

2020-03-17 Thread Kiran Kumar Kokkilagadda
Hi Ori, > -Original Message- > From: Ori Kam > Sent: Monday, March 16, 2020 7:04 PM > To: Kiran Kumar Kokkilagadda ; Wenzhuo Lu > ; Jingjing Wu ; Bernard > Iremonger ; John McNamara > ; Marko Kovacevic ; > Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko > Cc: dev@dpdk.org > Subject

Re: [dpdk-dev] [PATCH 0/4] Support DMA-accelerated Tx operations for vhost-user PMD

2020-03-17 Thread Maxime Coquelin
Hi Jiayu, On 3/17/20 10:21 AM, Jiayu Hu wrote: > In vhost-user PMD's Tx operations, where data movement is heavily involved, > performing large memory copies usually takes up a major part of CPU cycles > and becomes the hot spot. To offload expensive memory operations from the > CPU, this patch se

Re: [dpdk-dev] [PATCH] net/mlx5: fix Rx descriptor status returned value

2020-03-17 Thread Didier Pallard
OK, thank you best regards didier On Tue, Mar 17, 2020 at 10:25 AM Slava Ovsiienko wrote: > *From:* Didier Pallard > *Sent:* Tuesday, March 17, 2020 11:19 > *To:* Slava Ovsiienko > *Cc:* dev@dpdk.org; sta...@dpdk.org; Matan Azrad > *Subject:* Re: [dpdk-dev] [PATCH] net/mlx5: fix Rx descriptor

Re: [dpdk-dev] [PATCH 2/4] net/vhost: setup vrings for DMA-accelerated datapath

2020-03-17 Thread Hu, Jiayu
Hi Marvin, > -Original Message- > From: Liu, Yong > Sent: Tuesday, March 17, 2020 2:30 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Ye, Xiaolong ; > Wang, Zhihong ; Hu, Jiayu > Subject: RE: [dpdk-dev] [PATCH 2/4] net/vhost: setup vrings for DMA- > accelerated datap

Re: [dpdk-dev] [PATCH 3/4] net/vhost: leverage DMA engines to accelerate Tx operations

2020-03-17 Thread Hu, Jiayu
Hi Marvin, Thanks for comments. Replies are inline. > -Original Message- > From: Liu, Yong > Sent: Tuesday, March 17, 2020 3:21 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Ye, Xiaolong ; > Wang, Zhihong ; Hu, Jiayu > Subject: RE: [dpdk-dev] [PATCH 3/4] net/vhost:

Re: [dpdk-dev] [PATCH 2/2] build: add module definitions and pci lib support

2020-03-17 Thread Thomas Monjalon
17/03/2020 01:48, Pallavi Kadam: > Added mman functions to eal exports list. [...] > --- a/lib/librte_eal/rte_eal_exports.def > +++ b/lib/librte_eal/rte_eal_exports.def This file is generated. Only the .map can be updated. > @@ -7,3 +7,5 @@ EXPORTS > rte_eal_remote_launch > rte_log >

Re: [dpdk-dev] [PATCH] net/mlx5: fix Rx descriptor status returned value

2020-03-17 Thread Slava Ovsiienko
From: Didier Pallard Sent: Tuesday, March 17, 2020 11:19 To: Slava Ovsiienko Cc: dev@dpdk.org; sta...@dpdk.org; Matan Azrad Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix Rx descriptor status returned value >>>well, please do if you don't mind, OK, I will. >>>You will validate it quicker, and I

  1   2   >