[dpdk-dev] [PATCH v2 2/2] net/i40e: fix RSS hash update problem for X722 VF

2019-07-22 Thread penghuan
This patch fixes X722 VF problem when received packet don't have HASH value. 1) Packet classifier types update should support X722 VF, not only for X722 PF; 2) MAC type is invalid for X722 VF when set packet classifier type, so move it after MAC type is set correctly; Fixes: a286ebeb0714 ("net/i4

Re: [dpdk-dev] [PATCH] pci: fix missing pci bus with shared library build

2019-07-22 Thread Thomas Monjalon
19/07/2019 22:55, Stephen Hemminger: > On Tue, 16 Jul 2019 09:46:04 +0100 > Bruce Richardson wrote: > > > On Mon, Jul 15, 2019 at 05:19:12PM -0700, Stephen Hemminger wrote: > > > On Mon, 15 Jul 2019 16:41:36 -0700 > > > Stephen Hemminger wrote: > > > > > > > If DPDK is built as a shared libra

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] mk: fix output directory name when compiling with custom kernel header dir

2019-07-22 Thread Thomas Monjalon
19/07/2019 19:05, Herakliusz Lipiec: > When building dpdk with differnt kernel headers by specifying > RTE_KERNELDIR igb_uio is compiled to directory with a name of the > version of kernel thats running on the system instead of the one that > dpdk is actually compiled against. Fixed by replacing ha

Re: [dpdk-dev] [EXT] [PATCH] net/octeontx: use logtype_init for failed probe

2019-07-22 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Stephen Hemminger > Sent: Friday, July 19, 2019 10:29 PM > To: Jerin Jacob Kollanukkaran > Cc: dev@dpdk.org > Subject: Re: [EXT] [PATCH] net/octeontx: use logtype_init for failed probe > > On Fri, 19 Jul 2019 03:37:26 + > Jerin Jacob Kollanukkaran wrote:

Re: [dpdk-dev] [PATCH] net/octeontx2: add ipv6 ext parsing support

2019-07-22 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of > kirankum...@marvell.com > Sent: Friday, July 19, 2019 8:49 AM > To: dev@dpdk.org > Cc: Kiran Kumar Kokkilagadda > Subject: [dpdk-dev] [PATCH] net/octeontx2: add ipv6 ext parsing support > > From: Kiran Kumar K > > Adding support for ipv6_

Re: [dpdk-dev] [PATCH v2] net/octeontx2: add build check on fast path fields

2019-07-22 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Nithin Dabilpuram > Sent: Thursday, July 18, 2019 7:16 PM > To: Jerin Jacob Kollanukkaran ; Nithin Kumar > Dabilpuram ; Kiran Kumar Kokkilagadda > > Cc: dev@dpdk.org > Subject: [PATCH v2] net/octeontx2: add build check on fast path fields > > Add build bug on

Re: [dpdk-dev] [PATCH 3/3] bus/fslmc: fix the compliation err with ppc64 compiler

2019-07-22 Thread Thomas Monjalon
22/07/2019 08:54, Hemant Agrawal: > fslmc_vfio.c:387:36: note: format string is defined here > DPAA2_BUS_DEBUG("VFIO dmamap 0x%llx:0x%llx, size 0x%llx\n", > > format ‘%llx’ expects argument of type ‘long long unsigned int’ > argument 6 has type ‘__u64 {aka long unsigned int}’ > > Fixes: 2b5fa2570

Re: [dpdk-dev] [PATCH v6 00/11] sched: feature enhancements

2019-07-22 Thread Thomas Monjalon
19/07/2019 16:18, Jasvinder Singh: > v6: > - add functions to access port internal struct fields (e.g. pipe queues and > tc) > - Move definition of RTE_SCHED_TRAFFIC_CLASS_BE to rte_sched.h > - fix doxygen comments Thank you It would be perfect if checkpatches issues were resolved: ### [dpdk-de

Re: [dpdk-dev] [PATCH v4 0/8] net/mlx5: consolidate Tx datapath

2019-07-22 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Viacheslav Ovsiienko > Sent: Sunday, July 21, 2019 5:25 PM > To: dev@dpdk.org > Cc: Yongseok Koh > Subject: [dpdk-dev] [PATCH v4 0/8] net/mlx5: consolidate Tx datapath > > This patchset introduces the new implementation of tx_burst routi

Re: [dpdk-dev] [PATCH v2 0/2] net/mlx5: cache the associated network device ifindex

2019-07-22 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Viacheslav Ovsiienko > Sent: Sunday, July 21, 2019 5:57 PM > To: dev@dpdk.org > Cc: Yongseok Koh ; Shahaf Shuler > ; step...@networkplumber.org > Subject: [dpdk-dev] [PATCH v2 0/2] net/mlx5: cache the associated network > device ifindex >

[dpdk-dev] [PATCH v4 1/3] eal/arm64: add 128-bit atomic compare exchange

2019-07-22 Thread Phil Yang
Add 128-bit atomic compare exchange on aarch64. Suggested-by: Jerin Jacob Signed-off-by: Phil Yang Tested-by: Honnappa Nagarahalli Reviewed-by: Honnappa Nagarahalli --- V4: 1. Add RTE_ARM_FEATURE_ATOMICS flag to support LSE CASP instructions. (Jerin Jocob) 2. Fix possible arm64 ABI break by

[dpdk-dev] [PATCH v4 2/3] test/atomic: add 128b compare and swap test

2019-07-22 Thread Phil Yang
Add 128b atomic compare and swap test for aarch64 and x86_64. Signed-off-by: Phil Yang Reviewed-by: Honnappa Nagarahalli Acked-by: Gage Eads Acked-by: Jerin Jacob Tested-by: Jerin Jacob --- app/test/test_atomic.c | 120 - 1 file changed, 118 i

[dpdk-dev] [PATCH v4 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-22 Thread Phil Yang
Enable both c11 atomic and non c11 atomic lock-free stack for aarch64. Suggested-by: Gage Eads Suggested-by: Jerin Jacob Signed-off-by: Phil Yang Reviewed-by: Honnappa Nagarahalli Tested-by: Honnappa Nagarahalli --- doc/guides/prog_guide/env_abstraction_layer.rst | 4 +- doc/guides/rel_not

Re: [dpdk-dev] [PATCH] pci: fix missing pci bus with shared library build

2019-07-22 Thread Bruce Richardson
On Mon, Jul 22, 2019 at 09:38:27AM +0200, Thomas Monjalon wrote: > 19/07/2019 22:55, Stephen Hemminger: > > On Tue, 16 Jul 2019 09:46:04 +0100 > > Bruce Richardson wrote: > > > > > On Mon, Jul 15, 2019 at 05:19:12PM -0700, Stephen Hemminger wrote: > > > > On Mon, 15 Jul 2019 16:41:36 -0700 > > >

[dpdk-dev] [PATCH 01/28] net/mlx5: remove redundant item from union

2019-07-22 Thread Matan Azrad
From: Dekel Peled A variable of type struct ibv_cq_ex is declared in 2 unions, but isn't used. This patch removes the 2 redundant declarations. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_rxq.c | 1 - drivers/net/mlx5/mlx5_txq.c | 1 - 2 files changed, 2 deletio

[dpdk-dev] [PATCH 03/28] net/mlx5: support LRO caps query using devx API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Update function mlx5_devx_cmd_query_hca_attr() to query HCA capabilities related to LRO. Add relevant structs in drivers/net/mlx5/mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 8 ++ drivers/net/mlx5/mlx5_devx_cmds.

[dpdk-dev] [PATCH 04/28] net/mlx5: glue func for queue query using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Add function mlx5_glue_devx_qp_query(). Add glue function pointer devx_qp_query to run it. Glue version updated to 19.08.0. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_glue.c | 19 +++ drivers/net/mlx5/mlx5_glue.h | 3 +++ 2 fi

[dpdk-dev] [PATCH 02/28] net/mlx5: add LRO APIs and initial settings

2019-07-22 Thread Matan Azrad
From: Dekel Peled Add command-line argument to set LRO session timeout. Add LRO settings struct in PMD configuration struct. Add support of LRO offload in port configuration. Add macros and function to check if LRO is supported and enabled. Signed-off-by: Dekel Peled Acked-by: Matan Azrad ---

[dpdk-dev] [PATCH 00/28] net/mlx5: support LRO

2019-07-22 Thread Matan Azrad
Introduction: LRO (Large Receive Offload) is intended to reduce host CPU overhead when processing Rx TCP packets. LRO works by aggregating multiple incoming packets from a single stream into a larger buffer, before they are passed higher up the networking stack. Thus reducing the number of packe

[dpdk-dev] [PATCH 13/28] net/mlx5: allocate door-bells using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled When using DevX API, memory for door-bell records should be allocated by PMD and registered using DevX API. This patch implements the utility functions to support it: - Add struct mlx5_devx_dbr_page, containing door-bells page data. - Add list of struct mlx5_devx_dbr_page door-

[dpdk-dev] [PATCH 05/28] net/mlx5: glue function for action using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Add compile option HAVE_MLX5DV_DR_ACTION_DEST_DEVX_TIR, and matching dest_tir flag in device configuration structure. Add glue function pointer dv_create_flow_action_dest_devx_tir, and function mlx5_glue_dv_create_flow_action_dest_devx_tir(), to invoke API mlx5dv_dr_action_creat

[dpdk-dev] [PATCH 06/28] net/mlx5: check conditions to enable LRO

2019-07-22 Thread Matan Azrad
From: Dekel Peled Use DevX API to read device LRO capabilities. Check if LRO is supported and can be enabled. Check if MPRQ is supported and can be used. Enable MPRQ for LRO use if not enabled by user. Added note for mlx5_mprq_enabled(), to emphasize that LRO enables MPRQ. Disable CQE compression

[dpdk-dev] [PATCH 09/28] net/mlx5: create advanced RxQ object using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement function mlx5_devx_cmd_create_rq() to create RQ object using DevX API. Add related structs in mlx5.h and mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 50 + drivers/net/mlx5/mlx5_devx_cmds.c |

[dpdk-dev] [PATCH 08/28] net/mlx5: update Tx queue create for LRO

2019-07-22 Thread Matan Azrad
From: Dekel Peled Update function mlx5_txq_ibv_new(), query and store the TIS transport domain value. It is required later on Rx side when creating matching TIR. Add field in mlx5 data structure to store Transport Domain ID. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx

[dpdk-dev] [PATCH 11/28] net/mlx5: create advanced Rx object using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement function mlx5_devx_cmd_create_tir() to create TIR object using DevX API.. Add related structs in mlx5.h and mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 26 + drivers/net/mlx5/mlx5_devx_cmds.c | 72

[dpdk-dev] [PATCH 07/28] net/mlx5: support Tx interface query using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement function mlx5_devx_cmd_qp_tis_td_query(), to query QP TIS Transport Domain value. Add related structs in mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 2 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 34

[dpdk-dev] [PATCH 10/28] net/mlx5: modify advanced RxQ object using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement function mlx5_devx_cmd_modify_rq() to modify RQ. Add related structs in mlx5.h and mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 16 + drivers/net/mlx5/mlx5_devx_cmds.c | 50

[dpdk-dev] [PATCH 14/28] net/mlx5: rename RxQ verbs to general RxQ object

2019-07-22 Thread Matan Azrad
From: Dekel Peled Prepare for introducing of DevX RxQ object. RxQ object is currently created using verbs only. The next patches will add the option to create RxQ object using DevX. This patch renames rxq_ibv to rxq_obj wherever relevant, and adds the DevX items to relevant structs. Signed-off-b

[dpdk-dev] [PATCH 12/28] net/mlx5: create advanced RxQ table using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement function mlx5_devx_cmd_create_rqt() to create RQT object using DevX API. Add related structs in mlx5.h and mlx5_prm.h. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5.h | 9 +++ drivers/net/mlx5/mlx5_devx_cmds.c | 54 ++

[dpdk-dev] [PATCH 15/28] net/mlx5: rename verbs indirection table to obj

2019-07-22 Thread Matan Azrad
From: Dekel Peled Prepare for introducing of DevX RQT object. Rx indirection table object is currently created using verbs only. The next patches will add the option to create an RQT object using DevX. This patch renames ind_table_ibv to ind_table_obj wherever relevant, and adds the DevX items to

[dpdk-dev] [PATCH 18/28] net/mlx5: store protection domain number on create

2019-07-22 Thread Matan Azrad
From: Dekel Peled Function mlx5_alloc_shared_ibctx() allocates Protection Domain using verbs API, as part of shared IB device context. This patch adds reading and storing of pdn value from the created PD object, using DV API. The pdn value is required when creating WQ using DevX API. This patch

[dpdk-dev] [PATCH 16/28] net/mlx5: rename hash RxQ verbs to general

2019-07-22 Thread Matan Azrad
From: Dekel Peled Prepare for introducing use of DevX TIR object. Hash Rx queue is currently created using verbs QP only. The next patches will add the option to create it with a TIR object using DevX. This patch renames hrxq_ibv to hrxq wherever relevant, and adds the DevX items to relevant stru

[dpdk-dev] [PATCH 19/28] net/mlx5: func to create Rx verbs completion queue

2019-07-22 Thread Matan Azrad
From: Dekel Peled Verbs CQ for RxQ is created inside function mlx5_rxq_obj_new(). This patch moves the creation of CQ to dedicated function mlx5_ibv_cq_new(). Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_rxq.c | 159 +--- 1

[dpdk-dev] [PATCH 20/28] net/mlx5: function to create Rx verbs work queue

2019-07-22 Thread Matan Azrad
From: Dekel Peled Verbs WQ for RxQ is created inside function mlx5_rxq_obj_new(). This patch moves the creation of verbs WQ to dedicated function mlx5_ibv_wq_new(). Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_rxq.c | 178 +

[dpdk-dev] [PATCH 17/28] net/mlx5: update queue state modify function

2019-07-22 Thread Matan Azrad
From: Dekel Peled Function mlx5_queue_state_modify_primary() was implemented to handle state change for queues created using Verbs API. This patch update function mlx5_queue_state_modify_primary() to support state change of RQ object created using DevX API. Signed-off-by: Dekel Peled Acked-by:

[dpdk-dev] [PATCH 23/28] net/mlx5: replace the external mbuf shared memory

2019-07-22 Thread Matan Azrad
As an arrangement to the LRO support when a packet can consume all the stride memory, the external mbuf shared information cannot be anymore in the end of the stride, because the HW may write the packet data to all the stride memory. Move the shared information memory from the stride to the contro

[dpdk-dev] [PATCH 22/28] net/mlx5: support LRO with single RxQ object

2019-07-22 Thread Matan Azrad
From: Dekel Peled Implement LRO support using a single RQ object per DPDK RxQ. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.h | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c| 21 +++-- drivers/net/mlx5/mlx5_flow_verbs.c | 3 ++- drive

[dpdk-dev] [PATCH 27/28] net/mlx5: adjust the maximum LRO message size

2019-07-22 Thread Matan Azrad
LRO message is contained in the MPRQ strides. While the LRO message size cannot be bigger than 65280 according to the PRM, the strides which contain it may be bigger than the maximum buffer size allowed in dpdk mbuf - 0x. Adjust the maximum LRO message size to avoid buffer length overflow. Si

[dpdk-dev] [PATCH 25/28] net/mlx5: handle LRO packets in Rx queue

2019-07-22 Thread Matan Azrad
When LRO offload is configured in Rx queue, the HW may coalesce TCP packets from same TCP connection into single packet. In this case the SW should fix the relevant packet headers because the HW doesn't update them according to the new created packet characteristics. Add update header code to the

[dpdk-dev] [PATCH 24/28] net/mlx5: update LRO fields in completion entry

2019-07-22 Thread Matan Azrad
Update the CQE structure to include LRO fields. Some reserved values were changed, hence also data-path code used the reserved values were updated accordingly. Signed-off-by: Matan Azrad --- drivers/net/mlx5/mlx5_prm.h | 12 +--- drivers/net/mlx5/mlx5_rxtx_vec.h | 6 ++

[dpdk-dev] [PATCH 26/28] net/mlx5: zero the LRO mbuf headroom

2019-07-22 Thread Matan Azrad
LRO packet may consume all the stride memory, hence the PMD cannot guaranty head-room for the LRO mbuf. The issue is lack in HW support to write the packet in offset from the stride start. A new striding RQ feature may be added in CX6 DX to allow head-room and tail-room for the LRO strides. Sign

[dpdk-dev] [PATCH 21/28] net/mlx5: create advanced RxQ using new API

2019-07-22 Thread Matan Azrad
From: Dekel Peled Function mlx5_rxq_obj_new(), previously called mlx5_rxq_ibv_new(), supports creating Rx queue objects using verbs. This patch expands the relevant functions, to support creating verbs or DevX Rx queue objects: Function mlx5_rxq_obj_new() updated to create RQ object using DevX. F

[dpdk-dev] [PATCH 28/28] doc: update MLX5 doc and release notes with LRO

2019-07-22 Thread Matan Azrad
From: Dekel Peled Add documentation of LRO feature. Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 14 ++ doc/guides/rel_notes/release_19_08.rst | 2 +- 3 files changed, 16 insertions(+)

Re: [dpdk-dev] [PATCH 09/28] net/mlx5: create advanced RxQ object using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 09/28] net/mlx5: create advanced RxQ object using new API > > From: Dekel Peled > > Implement function

Re: [dpdk-dev] [PATCH 06/28] net/mlx5: check conditions to enable LRO

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 06/28] net/mlx5: check conditions to enable LRO > > From: Dekel Peled > > Use DevX API to read device L

Re: [dpdk-dev] [PATCH 01/28] net/mlx5: remove redundant item from union

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 01/28] net/mlx5: remove redundant item from union > > From: Dekel Peled > > A variable of type struct i

Re: [dpdk-dev] [PATCH 03/28] net/mlx5: support LRO caps query using devx API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 03/28] net/mlx5: support LRO caps query using devx API > > From: Dekel Peled > > Update function mlx5_d

Re: [dpdk-dev] [PATCH 04/28] net/mlx5: glue func for queue query using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 04/28] net/mlx5: glue func for queue query using new API > > From: Dekel Peled > > Add function mlx5_gl

Re: [dpdk-dev] [PATCH 08/28] net/mlx5: update Tx queue create for LRO

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 08/28] net/mlx5: update Tx queue create for LRO > > From: Dekel Peled > > Update function mlx5_txq_ibv_

Re: [dpdk-dev] [PATCH 07/28] net/mlx5: support Tx interface query using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 07/28] net/mlx5: support Tx interface query using new API > > From: Dekel Peled > > Implement function

Re: [dpdk-dev] [PATCH 05/28] net/mlx5: glue function for action using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 05/28] net/mlx5: glue function for action using new API > > From: Dekel Peled > > Add compile option HA

Re: [dpdk-dev] [PATCH 13/28] net/mlx5: allocate door-bells using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 13/28] net/mlx5: allocate door-bells using new API > > From: Dekel Peled > > When using DevX API, memor

Re: [dpdk-dev] [PATCH 10/28] net/mlx5: modify advanced RxQ object using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 10/28] net/mlx5: modify advanced RxQ object using new API > > From: Dekel Peled > > Implement function

Re: [dpdk-dev] [PATCH 11/28] net/mlx5: create advanced Rx object using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 11/28] net/mlx5: create advanced Rx object using new API > > From: Dekel Peled > > Implement function m

Re: [dpdk-dev] [PATCH 20/28] net/mlx5: function to create Rx verbs work queue

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 20/28] net/mlx5: function to create Rx verbs work queue > > From: Dekel Peled > > Verbs WQ for RxQ is c

Re: [dpdk-dev] [PATCH 21/28] net/mlx5: create advanced RxQ using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 21/28] net/mlx5: create advanced RxQ using new API > > From: Dekel Peled > > Function mlx5_rxq_obj_new(

Re: [dpdk-dev] [PATCH 12/28] net/mlx5: create advanced RxQ table using new API

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 12/28] net/mlx5: create advanced RxQ table using new API > > From: Dekel Peled > > Implement function m

Re: [dpdk-dev] [PATCH 18/28] net/mlx5: store protection domain number on create

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 18/28] net/mlx5: store protection domain number on create > > From: Dekel Peled > > Function mlx5_alloc

Re: [dpdk-dev] [PATCH 23/28] net/mlx5: replace the external mbuf shared memory

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 23/28] net/mlx5: replace the external mbuf shared memory > > As an arrangement to the LRO support when a

Re: [dpdk-dev] [PATCH 22/28] net/mlx5: support LRO with single RxQ object

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 22/28] net/mlx5: support LRO with single RxQ object > > From: Dekel Peled > > Implement LRO support usi

Re: [dpdk-dev] [PATCH 17/28] net/mlx5: update queue state modify function

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 17/28] net/mlx5: update queue state modify function > > From: Dekel Peled > > Function mlx5_queue_state

Re: [dpdk-dev] [PATCH 14/28] net/mlx5: rename RxQ verbs to general RxQ object

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 14/28] net/mlx5: rename RxQ verbs to general RxQ object > > From: Dekel Peled > > Prepare for introduci

Re: [dpdk-dev] [PATCH 16/28] net/mlx5: rename hash RxQ verbs to general

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 16/28] net/mlx5: rename hash RxQ verbs to general > > From: Dekel Peled > > Prepare for introducing use

Re: [dpdk-dev] [PATCH 15/28] net/mlx5: rename verbs indirection table to obj

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 15/28] net/mlx5: rename verbs indirection table to obj > > From: Dekel Peled > > Prepare for introducin

Re: [dpdk-dev] [PATCH 24/28] net/mlx5: update LRO fields in completion entry

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 24/28] net/mlx5: update LRO fields in completion entry > > Update the CQE structure to include LRO fields

Re: [dpdk-dev] [PATCH 26/28] net/mlx5: zero the LRO mbuf headroom

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 26/28] net/mlx5: zero the LRO mbuf headroom > > LRO packet may consume all the stride memory, hence the P

Re: [dpdk-dev] [PATCH 19/28] net/mlx5: func to create Rx verbs completion queue

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 19/28] net/mlx5: func to create Rx verbs completion queue > > From: Dekel Peled > > Verbs CQ for RxQ is

Re: [dpdk-dev] [PATCH 27/28] net/mlx5: adjust the maximum LRO message size

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 27/28] net/mlx5: adjust the maximum LRO message size > > LRO message is contained in the MPRQ strides. >

Re: [dpdk-dev] [PATCH 28/28] doc: update MLX5 doc and release notes with LRO

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 28/28] doc: update MLX5 doc and release notes with LRO > > From: Dekel Peled > > Add documentation of L

Re: [dpdk-dev] [PATCH 02/28] net/mlx5: add LRO APIs and initial settings

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 02/28] net/mlx5: add LRO APIs and initial settings > > From: Dekel Peled > > Add command-line argument

Re: [dpdk-dev] [PATCH v3 1/1] fbarray: get fbarrays from containerized secondary

2019-07-22 Thread Burakov, Anatoly
On 12-Jul-19 3:22 AM, Yasufumi Ogawa wrote: On 2019/07/11 22:14, Burakov, Anatoly wrote: On 11-Jul-19 12:57 PM, Yasufumi Ogawa wrote: On 2019/07/11 19:53, Burakov, Anatoly wrote: On 11-Jul-19 11:31 AM, yasufu...@gmail.com wrote: From: Yasufumi Ogawa <...> +    if (getpid() == 1) { + 

Re: [dpdk-dev] [PATCH 25/28] net/mlx5: handle LRO packets in Rx queue

2019-07-22 Thread Slava Ovsiienko
> -Original Message- > From: Matan Azrad > Sent: Monday, July 22, 2019 12:13 > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [PATCH 25/28] net/mlx5: handle LRO packets in Rx queue > > When LRO offload is configured in Rx queue, the HW ma

Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Jack Min
On Thu, 19-07-18, 22:42, Dekel Peled wrote: > NVGRE has a GRE header with c_rsvd0_ver value 0x2000 and protocol > value 0x6558. > These should be matched when item_nvgre is provided. > > This patch adds validation function of NVGRE item, to validate that > the input values, if exist, are as requir

Re: [dpdk-dev] [PATCH v3 1/1] fbarray: get fbarrays from containerized secondary

2019-07-22 Thread Burakov, Anatoly
On 22-Jul-19 2:06 AM, Ogawa Yasufumi wrote: 2019年7月12日(金) 11:22 Yasufumi Ogawa >: On 2019/07/11 22:14, Burakov, Anatoly wrote: > On 11-Jul-19 12:57 PM, Yasufumi Ogawa wrote: >> On 2019/07/11 19:53, Burakov, Anatoly wrote: >>> On 11-Jul-19 11:31 A

Re: [dpdk-dev] [PATCH v6 00/11] sched: feature enhancements

2019-07-22 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Friday, July 19, 2019 3:18 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH v6 00/11] sched: feature enhancements > > This patchset refactors the dpdk qos sched library to allow flexibile > configuration of the pip

[dpdk-dev] [PATCH v2 3/3] bus/fslmc: fix the compliation err with ppc64 compiler

2019-07-22 Thread Hemant Agrawal
fslmc_vfio.c:387:36: note: format string is defined here DPAA2_BUS_DEBUG("VFIO dmamap 0x%llx:0x%llx, size 0x%llx\n", format ‘%llx’ expects argument of type ‘long long unsigned int’ argument 6 has type ‘__u64 {aka long unsigned int}’ Fixes: 2b5fa25708cf ("mempool/dpaa2: map external memory with VF

[dpdk-dev] [PATCH v2 1/3] bus/dpaa: fix to remove err print for non-dpaa devices

2019-07-22 Thread Hemant Agrawal
This patch removes the unnecessary err prints when using non-dpaa devices. Fixes: e79df833d3f6 ("bus/dpaa: support hotplug ops") Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers

[dpdk-dev] [PATCH v2 2/3] bus/fslmc: fix to remove err print for non-fslmc devices

2019-07-22 Thread Hemant Agrawal
This patch removes the unnecessary err prints when using non-dpaa2 devices. Fixes: e67a61614d0b ("bus/fslmc: support device iteration") Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_bus.

Re: [dpdk-dev] [EXT] [PATCH v4 1/3] eal/arm64: add 128-bit atomic compare exchange

2019-07-22 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Phil Yang > Sent: Monday, July 22, 2019 2:14 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > gage.e...@intel.com; hemant.agra...@nxp.com; > honnappa.nagaraha...@arm.com; gavin...@arm.com; n...@arm.com > Subject: [EXT] [PATCH v4 1/

Re: [dpdk-dev] [EXT] [PATCH v4 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-22 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Phil Yang > Sent: Monday, July 22, 2019 2:14 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > gage.e...@intel.com; hemant.agra...@nxp.com; > honnappa.nagaraha...@arm.com; gavin...@arm.com; n...@arm.com > Subject: [EXT] [PATCH v4 3/

Re: [dpdk-dev] [PATCH 00/28] net/mlx5: support LRO

2019-07-22 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Monday, July 22, 2019 12:13 PM > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [dpdk-dev] [PATCH 00/28] net/mlx5: support LRO > > Introduction: > LRO (Large Receive O

[dpdk-dev] [PATCH v7 03/11] sched: add max pipe profiles config in run time

2019-07-22 Thread Jasvinder Singh
Allow setting the maximum number of pipe profiles in run time. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 8 +--- lib/librte_sched/rte_sched.h | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH v7 00/11] sched: feature enhancements

2019-07-22 Thread Jasvinder Singh
This patchset refactors the dpdk qos sched library to allow flexibile configuration of the pipe traffic classes and queue sizes. Currently, each pipe has 16 queues hardwired into 4 TCs scheduled with strict priority, and each TC has exactly with 4 queues that are scheduled with Weighted Fair Queui

[dpdk-dev] [PATCH v7 02/11] sched: add config flexibility to tc queue sizes

2019-07-22 Thread Jasvinder Singh
Add support for zero queue sizes of the traffic classes. The queues which are not used can be set to zero size. This helps in reducing memory footprint of the hierarchical scheduler. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sche

[dpdk-dev] [PATCH v7 06/11] sched: improve doxygen comments

2019-07-22 Thread Jasvinder Singh
Improve doxygen comments. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.h | 152 ++- 1 file changed, 94 insertions(+), 58 deletions(-) diff --git a/lib/librte_sched/rte_sched.h b/lib/l

[dpdk-dev] [PATCH v7 01/11] sched: remove wrr from strict priority tc queues

2019-07-22 Thread Jasvinder Singh
All higher priority traffic classes contain only one queue, thus remove wrr function for them. The lowest priority best-effort traffic class conitnue to have multiple queues and packet are scheduled from its queues using wrr function. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar S

[dpdk-dev] [PATCH v7 04/11] sched: rename tc3 params to best-effort tc

2019-07-22 Thread Jasvinder Singh
Change the traffic class 3 related params name to best-effort(be) traffic class. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 56 ++-- 1 file changed, 28 insertions(+), 28 deletion

[dpdk-dev] [PATCH v7 05/11] sched: improve error log messages

2019-07-22 Thread Jasvinder Singh
Replace hard-coded numbers for reporting errors with error messages. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 293 ++- 1 file changed, 221 insertions(+), 72 deletions(-) diff

[dpdk-dev] [PATCH v7 07/11] net/softnic: add config flexibility to softnic tm

2019-07-22 Thread Jasvinder Singh
Update softnic tm function for configuration flexiblity of pipe traffic classes and queues size. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic.c | 98 drivers/net/softnic/rte_eth_softnic_cli.c

[dpdk-dev] [PATCH v7 08/11] test_sched: modify tests for config flexibility

2019-07-22 Thread Jasvinder Singh
update unit tests for configuration flexibility of pipe traffic classes and queues size. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/t

[dpdk-dev] [PATCH v7 09/11] examples/ip_pipeline: add config flexibility to tm function

2019-07-22 Thread Jasvinder Singh
Update ip pipeline sample app for configuration flexiblity of pipe traffic classes and queues. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 43 +++--- examples/ip_pipeline/tmgr.h

[dpdk-dev] [PATCH v7 11/11] sched: remove redundant macros

2019-07-22 Thread Jasvinder Singh
Remove unused macros from the library, and update release notes. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/release_19_08.rst | 10 +- lib/librte_sched/rte_sched.h | 11 --- 2 files changed, 9 i

[dpdk-dev] [PATCH v7 10/11] examples/qos_sched: add tc and queue config flexibility

2019-07-22 Thread Jasvinder Singh
Update qos sched sample app for configuration flexibility of pipe traffic classes and queues. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 13 +- examples/qos_sched/cfg_file.c | 130 +--- examples/q

Re: [dpdk-dev] [PATCH v6 00/11] sched: feature enhancements

2019-07-22 Thread Singh, Jasvinder
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, July 22, 2019 9:20 AM > To: Singh, Jasvinder > Cc: dev@dpdk.org; Dumitrescu, Cristian > Subject: Re: [dpdk-dev] [PATCH v6 00/11] sched: feature enhancements > > 19/07/2019 16:18, Jasvinder Singh:

Re: [dpdk-dev] [PATCH v3 0/4] Fixes on IOVA mode selection

2019-07-22 Thread David Marchand
On Thu, Jul 18, 2019 at 8:45 AM wrote: > > From: Jerin Jacob > > Orginal V1 cover letter from David Marchand: > > Following the issues reported by Jerin and the discussion that emerged > from it, here are fixes to restore and document the behavior of the EAL > and the pci bus driver. > > I ponder

Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Dekel Peled
Thanks, PSB. > -Original Message- > From: Jack Min > Sent: Monday, July 22, 2019 12:31 PM > To: Dekel Peled > Cc: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler ; Ori > Kam ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix NVGRE matching > > On Thu, 19-07-18, 22:42, Dekel Peled wrote

Re: [dpdk-dev] [EXT] [PATCH v4 1/3] eal/arm64: add 128-bit atomic compare exchange

2019-07-22 Thread Phil Yang (Arm Technology China)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Monday, July 22, 2019 6:20 PM > To: Phil Yang (Arm Technology China) ; dev@dpdk.org > Cc: tho...@monjalon.net; gage.e...@intel.com; > hemant.agra...@nxp.com; Honnappa Nagarahalli > ; Gavin Hu (Arm Technology China) > ; nd > Su

Re: [dpdk-dev] [EXT] [PATCH v4 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-22 Thread Phil Yang (Arm Technology China)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Monday, July 22, 2019 6:22 PM > To: Phil Yang (Arm Technology China) ; dev@dpdk.org > Cc: tho...@monjalon.net; gage.e...@intel.com; > hemant.agra...@nxp.com; Honnappa Nagarahalli > ; Gavin Hu (Arm Technology China) > ; nd > Su

[dpdk-dev] [PATCH] examples/ip_frag: fix stale content of eth info struct

2019-07-22 Thread Marcin Zapolski
The eth_dev_info was used with content that was obsolete. Added update of struct content prior to use. Fixes: 6b7780bfebe4 ("examples/ip_frag: fix use of ethdev internal device array") Signed-off-by: Marcin Zapolski --- examples/ip_fragmentation/main.c | 1 + 1 file changed, 1 insertion(+) di

Re: [dpdk-dev] [PATCH v4 6/8] net/mlx5: introduce Tx burst routine template

2019-07-22 Thread Ferruh Yigit
On 7/21/2019 3:24 PM, Viacheslav Ovsiienko wrote: > Mellanox NICs support the wide set of Tx offloads. The supported > offloads are reported by the mlx5 PMD in rte_eth_dev_info tx_offload_capa > field. An application may choose any combination of supported offloads > and configure the device approp

  1   2   3   >