Re: [PATCH v5 2/7] bbdev: add device status info

2022-08-30 Thread Maxime Coquelin
On 8/29/22 18:10, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, August 26, 2022 3:13 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com Cc: t...@redhat.com; m...@ashroe.eu; Richardson, B

RE: [PATCH v2] net/octeon_ep: support CN10K SoC

2022-08-30 Thread Sathesh B Edara
This patch has Depends-on: https://patches.dpdk.org/project/dpdk/list/?series=24103

Re: [PATCH v1 00/10] baseband/acc200

2022-08-30 Thread Maxime Coquelin
Hi Nicolas, On 7/12/22 15:48, Maxime Coquelin wrote: Hi Nicolas, Hernan, (Adding Hernan in the recipients list) On 7/8/22 02:01, Nicolas Chautru wrote: This is targeting 22.11 and includes the PMD for the integrated accelerator on Intel Xeon SPR-EEC. There is a dependency on that parallel ser

RE: [PATCH 1/2] net/iavf: enable TSO offloading for tunnel cases

2022-08-30 Thread Yang, Qiming
Please retest: TCP/UDP/tunnel-TCP/tunnel-UDP packet > -Original Message- > From: peng1x.zh...@intel.com > Sent: Saturday, August 13, 2022 12:52 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Wu, Jingjing > ; > Zhang, Peng1X > Subject: [PATCH 1/2] net/iavf: enable TSO offloading for tunnel c

RE: [PATCH 2/2] net/iavf: support inner and outer checksum offload

2022-08-30 Thread Yang, Qiming
> -Original Message- > From: peng1x.zh...@intel.com > Sent: Saturday, August 13, 2022 12:52 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Wu, Jingjing > ; > Zhang, Peng1X > Subject: [PATCH 2/2] net/iavf: support inner and outer checksum offload > > From: Peng Zhang No need this line.

Re: [PATCH v1 1/4] build: add meson option to configure IOVA mode as VA

2022-08-30 Thread Bruce Richardson
On Mon, Aug 29, 2022 at 08:18:56PM +0200, Morten Brørup wrote: > > From: Shijith Thotton [mailto:sthot...@marvell.com] > > Sent: Monday, 29 August 2022 17.16 > > > > IOVA mode in DPDK is either PA or VA. The new build option iova_as_va > > configures the mode to VA at compile time and prevents set

Re: [PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-08-30 Thread Bruce Richardson
On Mon, Aug 29, 2022 at 08:32:20PM +0200, Morten Brørup wrote: > > > From: Shijith Thotton [mailto:sthot...@marvell.com] > > Sent: Monday, 29 August 2022 17.16 > > > > mbuf physical address field is not used in builds which only uses VA. > > It is used to expand the dynamic field area. > > > > S

Re: [PATCH] rcu: fix build failure with debug dp log level

2022-08-30 Thread Morrissey, Sean
On 29/08/2022 17:55, Honnappa Nagarahalli wrote: -Original Message- From: Anoob Joseph Sent: Monday, August 29, 2022 11:52 AM To: Honnappa Nagarahalli Cc: jer...@marvell.com; dev@dpdk.org; sean.morris...@intel.com Subject: [PATCH] rcu: fix build failure with debug dp log level Build

Re: [RFC PATCH 1/3] os: begin separating some OS compatibility from EAL

2022-08-30 Thread Bruce Richardson
On Mon, Aug 29, 2022 at 08:57:53PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 29 August 2022 17.19 > > To: dev@dpdk.org > > Cc: Bruce Richardson > > Subject: [RFC PATCH 1/3] os: begin separating some OS compatibility > > from EAL > >

RE: [EXT] Re: [PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-08-30 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, August 30, 2022 2:06 PM > To: Morten Brørup > Cc: Shijith Thotton ; dev@dpdk.org; Pavan > Nikhilesh Bhagavatula ; > honnappa.nagaraha...@arm.com; Jerin Jacob Kollanukkaran > ; olivier.m...@6wind.com; > step...@networkplumbe

TCP/IP stack recommendations

2022-08-30 Thread Morten Brørup
Hi all. Can anyone in here recommend an actively maintained open source TCP/IP stack for DPDK? Med venlig hilsen / Kind regards, -Morten Brørup

Re: [RFC PATCH 1/3] os: begin separating some OS compatibility from EAL

2022-08-30 Thread David Marchand
On Mon, Aug 29, 2022 at 5:19 PM Bruce Richardson wrote: > > Some library functionality we may want ahead of EAL build depends upon > some OS-specific functionality, so we create a new lib for that to be > built separately. For now, just includes fnmatch function for windows. > > Signed-off-by: Bru

RE: [PATCH] gro: fix gro with tcp push flag

2022-08-30 Thread Hu, Jiayu
Sure, I will review it. > -Original Message- > From: Thomas Monjalon > Sent: Monday, August 29, 2022 6:36 PM > To: Hu, Jiayu > Cc: kumaraparameshwaran rathinavel ; > dev@dpdk.org; Jun Qiu > Subject: Re: [PATCH] gro: fix gro with tcp push flag > > Jiayu, please could you help in this re

Re: [PATCH] doc: add removal note for power empty poll API

2022-08-30 Thread Hunt, David
On 02/08/2022 16:22, Reshma Pattan wrote: Add removal note for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan --- doc/guides/prog_guide/power_man.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog

Re: TCP/IP stack recommendations

2022-08-30 Thread Ray Kinsella
Hi Morten, Reach out to Florin Coras over in VPP-land. Morten Brørup writes: > Hi all. > > Can anyone in here recommend an actively maintained open source TCP/IP stack > for DPDK? > > > Med venlig hilsen / Kind regards, > -Morten Brørup -- Regards, Ray K

Re: [PATCH] eal: zero out new added memory

2022-08-30 Thread lic121
On Tue, Aug 30, 2022 at 01:11:25AM +, lic121 wrote: > On Mon, Aug 29, 2022 at 03:49:25PM +0300, Dmitry Kozlyuk wrote: > > 2022-08-29 14:37 (UTC+0200), Morten Brørup: > > > > From: David Marchand [mailto:david.march...@redhat.com] > > > > Sent: Monday, 29 August 2022 13.58 > > > > > > > > > > >

Re: [RFC PATCH 1/3] os: begin separating some OS compatibility from EAL

2022-08-30 Thread Bruce Richardson
On Tue, Aug 30, 2022 at 10:42:43AM +0200, David Marchand wrote: > On Mon, Aug 29, 2022 at 5:19 PM Bruce Richardson > wrote: > > > > Some library functionality we may want ahead of EAL build depends upon > > some OS-specific functionality, so we create a new lib for that to be > > built separately.

[PATCH v3 0/5] support flow subscription

2022-08-30 Thread Jie Wang
Add support AVF can be able to subscribe a flow from PF. -- v3: * fix eth layer inputset. * rebase. v2: * split v1 patch 2/2 to 4 small patches. * remove rule action RTE_FLOW_ACTION_TYPE_VF and add RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT. Jie Wang (5): common/iavf: support flow subscriptio

[PATCH v3 1/5] common/iavf: support flow subscription

2022-08-30 Thread Jie Wang
VF is able to subscribe a flow from PF by VIRTCHNL_FLOW_SUBSCRIBE. PF is expected to offload a rule to hardware which will redirect the packet that matching the required pattern to this VF. Only a flow with dst mac address as PF's mac address can be subscribed. VIRTCHNL_VF_OFFLOAD_FSUB_PF is use

[PATCH v3 2/5] net/iavf: add flow subscription to AVF

2022-08-30 Thread Jie Wang
Add the skeletal code of flow subscription to AVF driver. Signed-off-by: Jie Wang --- doc/guides/rel_notes/release_22_11.rst | 4 + drivers/net/iavf/iavf_fsub.c | 112 + drivers/net/iavf/iavf_generic_flow.c | 17 +++- drivers/net/iavf/iavf_generic_flow.h

[PATCH v3 3/5] net/iavf: support flow subscrption pattern

2022-08-30 Thread Jie Wang
Add flow subscription pattern support for AVF. The supported patterns are listed below: eth/vlan/ipv4 eth/ipv4(6) eth/ipv4(6)/udp eth/ipv4(6)/tcp Signed-off-by: Jie Wang --- drivers/net/iavf/iavf.h | 7 + drivers/net/iavf/iavf_fsub.c | 598 ++- 2 files cha

[PATCH v3 4/5] net/iavf: support flow subscription rule

2022-08-30 Thread Jie Wang
Support flow subscribption create/destroy/validation flow rule for AVF. For examples: testpmd> flow create 0 ingress pattern eth / ipv4 / udp src is 11 / end actions represented_port port_id 1 / end testpmd> flow validate 1 ingress pattern eth / ipv4 / tcp src is 22 / end actio

[PATCH v3 5/5] net/iavf: support priority of flow rule

2022-08-30 Thread Jie Wang
Add flow rule attribute "priority" support for AVF. Lower values denote higher priority, the highest priority for a flow rule is 0. Signed-off-by: Jie Wang --- drivers/net/iavf/iavf_fdir.c | 4 drivers/net/iavf/iavf_fsub.c | 2 +- drivers/net/iavf/iavf_generic_flow.c | 23

Re: [PATCH v2] net/octeon_ep: support CN10K SoC

2022-08-30 Thread Jerin Jacob
On Mon, Aug 29, 2022 at 9:15 PM Sathesh Edara wrote: > > This patch adds the required functionality in the Octeon endpoint > driver to support the CN10K endpoint device. It adds the CN10K SoC > specific routines to configure, enable, and disable input and output > queues to establish basic data tr

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-30 Thread Kevin Laatz
On 26/08/2022 23:06, Mattias Rönnblom wrote: On 2022-08-25 17:28, Kevin Laatz wrote: From: Anatoly Burakov To avoid performance impact from having lcore telemetry support, a global variable is exported by EAL, and a call to timestamping function is wrapped into a macro, so that whenever

RE: [PATCH v5] net/ice: refactor proto_ext to remove global variable

2022-08-30 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Tuesday, August 30, 2022 10:31 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Liu, KevinX > ; Ling, Jin > Subject: [PATCH v5] net/ice: refactor proto_ext to remove global variable > > The ice has the feature t

Re: [PATCH] eal: zero out new added memory

2022-08-30 Thread Dmitry Kozlyuk
Thank you for the most detailed info! 1. If you run the poisoner program the second time, does it also see dirty memory immediately after mmap()? 2. Kernel 4.19.90-2102 patchlevel 2102 is very high, can there be any unusual patches applied? Your host has "compute" in its name, can it

Re: [PATCH] net/failsafe: fix interrupt handle leak

2022-08-30 Thread Ferruh Yigit
On 8/29/2022 11:23 AM, David Marchand wrote: On Fri, Apr 29, 2022 at 3:56 PM Ferruh Yigit wrote: On 3/24/2022 3:09 PM, David Marchand wrote: A intr_handle is being allocated as a hack to get a (proxy) eventfd from the Linux interrupt implementation. But this handle is never freed. Remove t

[PATCH] net/cnxk: multi-seg support for Inline IPsec

2022-08-30 Thread Rahul Bhansali
From: Nithin Dabilpuram Add multi-seg support for Inline IPsec. Also in reassembly, FI_PAD is not required to compute pointer to Fragment info because it is only at CPT_PARSE_HDR_S + FI_OFFSET * 8 and is always 8B aligned. Signed-off-by: Nithin Dabilpuram Signed-off-by: Rahul Bhansali --- dri

RE: [PATCH] IGC: Remove I225_I_PHY_ID checking

2022-08-30 Thread Zhang, Qi Z
> -Original Message- > From: iotg.dpdk.ref@intel.com > Sent: Monday, August 29, 2022 4:15 PM > To: dev@dpdk.org > Subject: [PATCH] IGC: Remove I225_I_PHY_ID checking > > From: NSWE SWS DPDK Dev > > i225 devices have only one PHY vendor. There is unnecessary to check > _I_PHY_ID d

RE: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-08-30 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, August 24, 2022 9:04 PM > To: Ding, Xuan ; Hanumanth Reddy Pothula > ; Thomas Monjalon ; Andrew > Rybchenko > Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun > ; step...@networkplumber.org; Wang, YuanX > ; m...@ashroe.eu; Zhang,

RE: [PATCH v2 1/1] app/testpmd: add command line argument 'nic-to-pmd-rx-metadata'

2022-08-30 Thread Hanumanth Reddy Pothula
Ping > -Original Message- > From: Hanumanth Pothula > Sent: Tuesday, August 2, 2022 11:22 PM > To: Aman Singh ; Yuying Zhang > > Cc: dev@dpdk.org; Hanumanth Reddy Pothula > Subject: [PATCH v2 1/1] app/testpmd: add command line argument 'nic-to-pmd- > rx-metadata' > > Presently, rx meta

Re: [RFC] memarea: introduce memory area library

2022-08-30 Thread Dmitry Kozlyuk
> > Note: > a) the memarea is oriented towards the application layer, which could > provides 'region-based memory management' [1] function. > Judging from the API, this library would rather provide an interface to a generic allocator over a fixed memory extent, because it offers freeing of specifi

Re: [PATCH] eal: zero out new added memory

2022-08-30 Thread lic121
On Tue, Aug 30, 2022 at 01:59:16PM +0300, Dmitry Kozlyuk wrote: > Thank you for the most detailed info! > > 1. If you run the poisoner program the second time, >does it also see dirty memory immediately after mmap()? If I run the poisoner program the second time, no dirty memory. There could

Re: [PATCH] eal: zero out new added memory

2022-08-30 Thread lic121
On Tue, Aug 30, 2022 at 01:59:16PM +0300, Dmitry Kozlyuk wrote: > Thank you for the most detailed info! > > 1. If you run the poisoner program the second time, >does it also see dirty memory immediately after mmap()? No, running the poisoner program again doesn't show dirty memory immediately

Re: [PATCH] mbuf: add mbuf physical address field to dynamic field

2022-08-30 Thread Ferruh Yigit
On 7/1/2022 1:24 PM, Shijith Thotton wrote: If all devices are configured to run in IOVA mode as VA, physical address field of mbuf (buf_iova) won't be used. In such cases, buf_iova space is free to use as a dynamic field. So a new dynamic field member (dynfield2) is added in mbuf structure to ma

RE: [PATCH] rcu: fix build failure with debug dp log level

2022-08-30 Thread Honnappa Nagarahalli
> >> > >> Build fails if RTE_LOG_DP_LEVEL is set to RTE_LOG_DEBUG. Fix the same > >> by including the required header when RTE_LOG_DP_LEVEL is set to > >> RTE_LOG_DEBUG. > >> > >> ../lib/rcu/rte_rcu_qsbr.h:678:40: error: expected ‘)’ before ‘PRIu64’ > >>678 |"%s: status: least acked token

RE: [EXT] Re: [PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-08-30 Thread Honnappa Nagarahalli
> > > > -- > > On Mon, Aug 29, 2022 at 08:32:20PM +0200, Morten Brørup wrote: > > > > > > > From: Shijith Thotton [mailto:sthot...@marvell.com] > > > > Sent: Monday, 29 August 2022 17.16 > > > > > > > > mbuf physical address field

Re: [RFC v3 00/26] Bus and device cleanup for 22.11

2022-08-30 Thread David Marchand
On Mon, Aug 29, 2022 at 7:12 PM Walker, Benjamin wrote: > > > Can we keep rte_pci_register(), or a new variation of it that keeps > > > the rte_pci_driver structure hidden? Hiding rte_pci_register() would > > > mean SPDK can no longer work with a packaged DPDK. Or the DPDK > > > packages would n

RE: TCP/IP stack recommendations

2022-08-30 Thread Honnappa Nagarahalli
One key thing to look for is the interface between the stack and the application. If it is not zero-copy, it quickly becomes a bottleneck depending on the data size and the buffer size. Thanks, Honnappa > -Original Message- > From: Ray Kinsella > Sent: Tuesday, August 30, 2022 4:45 AM

Re: [PATCH] config: set pkgconfig for ppc64le

2022-08-30 Thread David Christensen
On 7/7/22 4:41 AM, Ali Alnubani wrote: Meson fails to detect the dependencies that are included in PKG_CONFIG_PATH and built for ppc64le if binaries.pkgconfig is not set in the ppc64le cross-file for Ubuntu. This fixes the issue by setting binaries.pkgconfig to the binary provided by the package

Re: [PATCH] config: set pkgconfig for ppc64le

2022-08-30 Thread David Christensen
On 8/29/22 3:30 AM, Thomas Monjalon wrote: What is the conclusion on this patch? It is good to go? Acked? Not from me yet. Just asked about the test environment so I can duplicate the issue. My understanding is that Ubuntu cross-compiles for CI/CD are still working so I'd like to underst

RE: [PATCH] config: set pkgconfig for ppc64le

2022-08-30 Thread Ali Alnubani
> On 8/29/22 3:30 AM, Thomas Monjalon wrote: > > What is the conclusion on this patch? > > It is good to go? Acked? > > Not from me yet. > > Just asked about the test environment so I can duplicate the issue. My > understanding is that Ubuntu cross-compiles for CI/CD are still working > so I'd l

[PATCH V3 0/7] pipeline: support direct registers and meters

2022-08-30 Thread Cristian Dumitrescu
This patch introduces support for direct registers and meters. The difference between indirect (indexed) and direct registers and meters is explained below [1][2][3]. 1. Indirect (indexed) registers and meters. The index into an array of registers or meters used on the data path is typically read

[PATCH V3 1/7] table: add entry ID for regular tables

2022-08-30 Thread Cristian Dumitrescu
Add support for unique ID for each table entry. The entry ID is retrieved as part of the table lookup operation and is saved by the pipeline for later use. Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 9 + lib/pipeline/rte_swx_pipeline_internal.h |

[PATCH V3 2/7] table: add entry ID for learner tables

2022-08-30 Thread Cristian Dumitrescu
Add support for unique ID for each learner table entry. The entry ID is retrieved as part of the learner table lookup operation and is saved by the pipeline for later use. Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 8 lib/table/rte_swx_table_learner.c |

[PATCH V3 4/7] pipeline: support direct registers on the control path

2022-08-30 Thread Cristian Dumitrescu
Add pipeline control path API to read/write direct registers. These registers are identified by a table key, whose entry ID is used as the index into the register array. Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.h | 52 +++ lib/pipeline/rte_swx_pipeline.c | 255 ++

[PATCH V3 3/7] pipeline: add table entry ID read instruction

2022-08-30 Thread Cristian Dumitrescu
Add the entry ID instruction that reads the entry ID of the latest table lookup operation from the pipeline into the meta-data. The entry ID is then used by the register and meter instructions as the index into the register or meter array. Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_

[PATCH V3 7/7] examples/pipeline: add CLI commands for direct meters

2022-08-30 Thread Cristian Dumitrescu
Add the CLI command support for managing direct meters. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 426 +++ examples/pipeline/examples/meter.cli | 2 +- 2 files changed, 312 insertions(+), 116 deletions(-) diff --git a/examples/pipeli

[PATCH V3 5/7] pipeline: support direct meters on the control path

2022-08-30 Thread Cristian Dumitrescu
Add pipeline control path API to manage direct meters. These meters are identified by a table key, whose entry ID is used as the index into the meter array. Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.h | 81 + lib/pipeline/rte_swx_pipelin

[PATCH V3 6/7] examples/pipeline: add CLI commands for direct registers

2022-08-30 Thread Cristian Dumitrescu
Add the CLI command support for reading/writing direct registers. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 228 +--- 1 file changed, 192 insertions(+), 36 deletions(-) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c inde

RE: [PATCH v5 2/7] bbdev: add device status info

2022-08-30 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, August 30, 2022 12:09 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; david.march...@redhat.co

RE: [PATCH v1 00/10] baseband/acc200

2022-08-30 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, August 30, 2022 12:45 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com; > t...@redhat.com; Vargas, Hernan > Cc: m...@ashroe.eu; Richardson, Bruce ; > david

[PATCH v2] net/mlx5: use just sufficient barrier for Arm platforms

2022-08-30 Thread Honnappa Nagarahalli
cqe->op_own indicates if the CQE is owned by the NIC. The rest of the fields in CQE should be read only after op_own is read. On Arm platforms using "dmb ishld" is sufficient to enforce this. Fixes: 88c0733535d6 ("net/mlx5: extend Rx completion with error handling") Cc: ma...@mellanox.com Cc: sta.

[Patch v6 00/18] Introduce Microsoft Azure Network Adatper (MANA) PMD

2022-08-30 Thread longli
From: Long Li MANA is a network interface card to be used in the Azure cloud environment. MANA provides safe access to user memory through memory registration. It has IOMMU built into the hardware. MANA uses IB verbs and RDMA layer to configure hardware resources. It requires the corresponding R

[Patch v6 01/18] net/mana: add basic driver, build environment and doc

2022-08-30 Thread longli
From: Long Li MANA is a PCI device. It uses IB verbs to access hardware through the kernel RDMA layer. This patch introduces build environment and basic device probe functions. Signed-off-by: Long Li --- Change log: v2: Fix typos. Make the driver build only on x86-64 and Linux. Remove unused he

[Patch v6 02/18] net/mana: add device configuration and stop

2022-08-30 Thread longli
From: Long Li MANA defines its memory allocation functions to override IB layer default functions to allocate device queues. This patch adds the code for device configuration and stop. Signed-off-by: Long Li --- Change log: v2: Removed validation for offload settings in mana_dev_configure().

[Patch v6 03/18] net/mana: add function to report support ptypes

2022-08-30 Thread longli
From: Long Li Report supported protocol types. Signed-off-by: Long Li --- drivers/net/mana/mana.c | 16 drivers/net/mana/mana.h | 2 -- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/net/mana/mana.c b/drivers/net/mana/mana.c index 147ab144d5..45596320

[Patch v6 04/18] net/mana: add link update

2022-08-30 Thread longli
From: Long Li The carrier state is managed by the Azure host. MANA runs as a VF and always reports "up". Signed-off-by: Long Li --- doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/mana.c | 17 + 2 files changed, 18 insertions(+) diff --git a/doc/guides/nic

[Patch v6 05/18] net/mana: add function for device removal interrupts

2022-08-30 Thread longli
From: Long Li MANA supports PCI hot plug events. Add this interrupt to DPDK core so its parent PMD can detect device removal during Azure servicing or live migration. Signed-off-by: Long Li --- doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/mana.c | 97 +++

[Patch v6 06/18] net/mana: add device info

2022-08-30 Thread longli
From: Long Li Add the function to get device info. Signed-off-by: Long Li --- doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/mana.c | 82 +++ 2 files changed, 83 insertions(+) diff --git a/doc/guides/nics/features/mana.ini b/doc/guides/nics/f

[Patch v6 07/18] net/mana: add function to configure RSS

2022-08-30 Thread longli
From: Long Li Currently this PMD supports RSS configuration when the device is stopped. Configuring RSS in running state will be supported in the future. Signed-off-by: Long Li --- doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/mana.c | 61 +++

[Patch v6 08/18] net/mana: add function to configure RX queues

2022-08-30 Thread longli
From: Long Li RX hardware queue is allocated when starting the queue. This function is for queue configuration pre starting. Signed-off-by: Long Li --- drivers/net/mana/mana.c | 68 + 1 file changed, 68 insertions(+) diff --git a/drivers/net/mana/mana.c

[Patch v6 09/18] net/mana: add function to configure TX queues

2022-08-30 Thread longli
From: Long Li TX hardware queue is allocated when starting the queue, this is for pre configuration. Signed-off-by: Long Li --- drivers/net/mana/mana.c | 65 + 1 file changed, 65 insertions(+) diff --git a/drivers/net/mana/mana.c b/drivers/net/mana/mana

[Patch v6 10/18] net/mana: implement memory registration

2022-08-30 Thread longli
From: Long Li MANA hardware has iommu built-in, that provides hardware safe access to user memory through memory registration. Since memory registration is an expensive operation, this patch implements a two level memory registration cache mechanisum for each queue and for each port. Signed-off-

[Patch v6 11/18] net/mana: implement the hardware layer operations

2022-08-30 Thread longli
From: Long Li The hardware layer of MANA understands the device queue and doorbell formats. Those functions are implemented for use by packet RX/TX code. Signed-off-by: Long Li --- Change log: v2: Remove unused header files. Rename a camel case. v5: Use RTE_BIT32() instead of defining a new BIT

[Patch v6 12/18] net/mana: add function to start/stop TX queues

2022-08-30 Thread longli
From: Long Li MANA allocate device queues through the IB layer when starting TX queues. When device is stopped all the queues are unmapped and freed. Signed-off-by: Long Li --- Change log: v2: Add prefix mana_ to all function names. Remove unused header files. doc/guides/nics/features/mana.in

[Patch v6 13/18] net/mana: add function to start/stop RX queues

2022-08-30 Thread longli
From: Long Li MANA allocates device queues through the IB layer when starting RX queues. When device is stopped all the queues are unmapped and freed. Signed-off-by: Long Li --- Change log: v2: Add prefix mana_ to all function names. Remove unused header files. v4: Move defition "uint32_t i" fr

[Patch v6 14/18] net/mana: add function to receive packets

2022-08-30 Thread longli
From: Long Li With all the RX queues created, MANA can use those queues to receive packets. Signed-off-by: Long Li --- Change log: v2: Add mana_ to all function names. Rename a camel case. doc/guides/nics/features/mana.ini | 2 + drivers/net/mana/mana.c | 2 + drivers/net/mana/m

[Patch v6 15/18] net/mana: add function to send packets

2022-08-30 Thread longli
From: Long Li With all the TX queues created, MANA can send packets over those queues. Signed-off-by: Long Li --- Change log: v2: Rename all camel cases. doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/mana.c | 1 + drivers/net/mana/mana.h | 65 dri

[Patch v6 16/18] net/mana: add function to start/stop device

2022-08-30 Thread longli
From: Long Li Add support for starting/stopping the device. Signed-off-by: Long Li --- Change log: v2: Use spinlock for memory registration cache. Add prefix mana_ to all function names. v6: Roll back device state on error in mana_dev_start() drivers/net/mana/mana.c | 77 +

[Patch v6 17/18] net/mana: add function to report queue stats

2022-08-30 Thread longli
From: Long Li Report packet statistics. Signed-off-by: Long Li --- Change log: v5: Fixed calculation of stats packets/bytes/errors by adding them over the queue stats. doc/guides/nics/features/mana.ini | 2 + drivers/net/mana/mana.c | 77 +++ 2 files ch

[Patch v6 18/18] net/mana: add function to support RX interrupts

2022-08-30 Thread longli
From: Long Li mana can receive RX interrupts from kernel through RDMA verbs interface. Implement RX interrupts in the driver. Signed-off-by: Long Li --- Change log: v5: New patch added to the series doc/guides/nics/features/mana.ini | 1 + drivers/net/mana/gdma.c | 10 +-- driver

Re: [PATCH v3 1/5] mbuf: clarify meta data needed for Outbound Inline

2022-08-30 Thread Nithin Kumar Dabilpuram
Ping. Any thoughts on this ? This is just clarification of existing assumptions for Inline Outbound that are being made. On 2022-08-22 8:08 PM, Nithin Dabilpuram wrote: Clarify mbuf meta data needed for Outbound Inline processing. Application needs to provide mbuf.l3_len and L3 type in mbuf.

[PATCH v2] net/ice: support original represented_port action

2022-08-30 Thread Zhichao Zeng
Add support to send matching traffic to the original DCF port with represented_port action by using DCF port id as ethdev_port_id. Signed-off-by: Zhichao Zeng --- v2: use id instead of name to represent port for comparing --- drivers/net/ice/ice_switch_filter.c | 3 ++- 1 file changed, 2 insert

[PATCH v2] net/ice: support original represented_port action

2022-08-30 Thread Zhichao Zeng
Add support to send matching traffic to the original DCF port with represented_port action by using DCF port id as ethdev_port_id. Signed-off-by: Zhichao Zeng --- v2: use id instead of name to represent port for comparing --- drivers/net/ice/ice_switch_filter.c | 3 ++- 1 file changed, 2 insert

[PATCH v2 0/2] introduce NitroSketch Mode into membership library

2022-08-30 Thread Leyi Rong
This patchset introduce a brand new NitroSketch Mode into membership library. This algorithm provides high-fidelity approximate measurements and appears as a promissing alternative to triditional approches such as packet sampling. --- v2: - attach paper link to commit log. - fix potential memory l

[PATCH v2 1/2] member: implement NitroSketch mode

2022-08-30 Thread Leyi Rong
Sketching algorithm provide high-fidelity approximate measurements and appears as a promising alternative to traditional approaches such as packet sampling. NitroSketch [1] is a software sketching framework that optimizes performance, provides accuracy guarantees, and supports a variety of sketche

[PATCH v2 2/2] test/member: add functional and perf tests for sketch

2022-08-30 Thread Leyi Rong
This patch adds functional and performance tests for sketch mode of membership library. Signed-off-by: Yipeng Wang Signed-off-by: Leyi Rong --- app/test/test_member.c | 272 app/test/test_member_perf.c | 153 +++- 2 files changed, 421 in

[PATCH] examples/ptpclient: add signal handler for cleanup

2022-08-30 Thread Rahul Bhansali
This adds the signal handler for SIGINT, SIGTERM. Also, this will come out from infinite loop and do cleanup once it receives any of the registered signal. Signed-off-by: Rahul Bhansali --- examples/ptpclient/ptpclient.c | 32 ++-- 1 file changed, 30 insertions(+), 2