[PATCH 10/10] net/softnic: print the output port packet drop counters

2022-08-05 Thread Cristian Dumitrescu
Print the output port packet drop statistics counters. Signed-off-by: Cristian Dumitrescu --- drivers/net/softnic/rte_eth_softnic_cli.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth_softnic_cli.c index 61221b2f2e.

[PATCH 03/10] port: rework the Ethernet device output port behavior to non-blocking

2022-08-05 Thread Cristian Dumitrescu
Drop packets that cannot be sent instead of retry sending the same packets potentially forever when the Ethernet device that is down. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ethdev.c | 103 + 1 file changed, 67 insertions(+), 36 deletions(-)

[PATCH 09/10] examples/pipeline: print the output port packet drop counters

2022-08-05 Thread Cristian Dumitrescu
Print the output port pacet drop statistics counters. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 4 1 file changed, 4 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 75c32b9089..2e69698031 100644 --- a/examples/pipeline/cli.c +++ b/e

[PATCH 02/10] port: adjust the sink port counters

2022-08-05 Thread Cristian Dumitrescu
The sink port is tasked to drop all packets, hence the packet and byte counters should be named to reflect the drop operation. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_source_sink.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/port/rte_swx_p

[PATCH 00/10] port: implement output port non-blocking behavior

2022-08-05 Thread Cristian Dumitrescu
In case of blocking behavior, the output port retries sending the packets that could not be sent successfully. The retry can take place potentially forever in case the Ethernet device or the ring consumer are down, which leads to deadlock. In case of the non-blocking behavior introduced by this se

[PATCH 08/10] port: prevent unnecessary flush for the ring output port

2022-08-05 Thread Cristian Dumitrescu
Do not flush the buffered packets unnecessarily when a burst was sent since the last flush call. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ring.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/port/rte_swx_port_ring.c b/lib/port/rte_swx_port_ring.

[PATCH 01/10] port: add output port packet drop statistics couters

2022-08-05 Thread Cristian Dumitrescu
Add packet drop statistics counters for the output ports. Required by the non-blocking output port behavior where the packets that cannot be sent at the time of the operation are dropped as opposed to the send operation being retried potentially forever for the same packets. Signed-off-by: Cristia

[PATCH 07/10] port: free buffered packets on ring output port free

2022-08-05 Thread Cristian Dumitrescu
Free the buffered packets as opposed to retrying to send them when the output port is freed. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ring.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/port/rte_swx_port_ring.c b/lib/port/rte_swx_port_ring.c

[PATCH 06/10] port: rework the ring output port behavior to non-blocking

2022-08-05 Thread Cristian Dumitrescu
Drop packets that cannot be sent instead of retry sending the same packets potentially forever when the ring consumer that is down. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ring.c | 99 1 file changed, 66 insertions(+), 33 deletions(-) di

[PATCH 05/10] port: prevent unnecessary flush for the Ethernet device output port

2022-08-05 Thread Cristian Dumitrescu
Do not flush the buffered packets unnecessarily when a burst was sent since the last flush call. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ethdev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/port/rte_swx_port_ethdev.c b/lib/port/rte_swx_port_e

[PATCH 04/10] port: free buffered packets on Ethernet device output port free

2022-08-05 Thread Cristian Dumitrescu
Free the buffered packets as opposed to retrying to send them when the output port is freed. Signed-off-by: Cristian Dumitrescu --- lib/port/rte_swx_port_ethdev.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/port/rte_swx_port_ethdev.c b/lib/port/rte_swx_port_eth

[PATCH v3] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
Added support for CN10K SoC DMA engine to dmadev. Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Jerin Jacob Kollanukkaran --- Changes from v2: - Added missing files required in the patch Changes from v1: - Removed gerrit changeID drivers/common/cnxk/hw/dpi.h | 16 +- drivers/com

[PATCH v2] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
Added support for CN10K SoC DMA engine to dmadev. Signed-off-by: Radha Mohan Chintakuntla Reviewed-by: Jerin Jacob Kollanukkaran --- Changes from v1: - Removed gerrit changeID drivers/dma/cnxk/cnxk_dmadev.c | 248 + drivers/dma/cnxk/cnxk_dmadev.h | 2 +- 2 fil

[PATCH] dma/cnxk: add support for CN10K DMA engine

2022-08-05 Thread Radha Mohan Chintakuntla
Added support for CN10K SoC DMA engine to dmadev. Signed-off-by: Radha Mohan Chintakuntla Change-Id: Ib119b3ceab0810724820e9af1d29fdd3f95d5cc9 Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpdk/+/68103 Tested-by: sa_ip-toolkits-Jenkins Reviewed-by: Jerin Jacob Kollanukkaran --- dri

Re: [PATCH] ring: compilation fix with GCC-12

2022-08-05 Thread Stephen Hemminger
On Fri, 5 Aug 2022 14:33:48 +0530 Amit Prakash Shukla wrote: > GCC 12 raises the following warning: > > In function '__rte_ring_dequeue_elems_128', > inlined from '__rte_ring_dequeue_elems' at > ../lib/ring/rte_ring_elem_pvt.h:262:3, > inlined from '__rte_ring_do_hts_dequeu

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-05 Thread Stephen Hemminger
On Fri, 5 Aug 2022 11:10:22 +0800 Huisong Li wrote: > Currently, the steps for binding device from dpdk driver to kernel > driver is as follows: > echo $BDF > /sys/bus/pci/drivers/vfio-pci/unbind > echo $BDF > /sys/bus/pci/drivers/$kernel_driver/bind > > This steps cannot bind device from dpdk d

DPDK Release Status Meeting 2022-08-05

2022-08-05 Thread Mcnamara, John
Release status meeting minutes 2022-08-05 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Debian/Microsoft * Intel * Marvell * Nvidia Release Dates - The following are the proposed current dates f

Re: [PATCH v5 10/12] net/nfp: add flower representor framework

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: This commit adds the framework to support flower representors. "This commit adds" -> "Add" The number of VF representors are parsed from the command line. For physical port representors the current logic aims to create a representor for each physical port p

Re: [PATCH v5 07/12] net/nfp: add flower ctrl VNIC related logics

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: This commit adds the setup/start logic for the ctrl vNIC. This vNIC "This commit adds" -> "Add" is used by the PMD and flower firmware as a communication channel between driver and firmware. In the case of OVS it is also used to communicate flow statistics

Re: [PATCH v5 06/12] net/nfp: add flower PF related routines

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: This commit adds the start/stop/close routine of the "This commit adds" -> "Add" Typically close goes in pair with configure. flower PF vNIC. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower.c | 193 ++

Re: [PATCH v5 05/12] net/nfp: add flower PF setup and mempool init logic

2022-08-05 Thread Andrew Rybchenko
@Thomas, @Stephen, @Hemant, please, see lines from OvS below. On 8/5/22 09:32, Chaoyong He wrote: This commit adds the vNIC initialization logic for the flower PF vNIC. "This commit adds" -> "Add" The flower firmware exposes this vNIC for the purposes of fallback traffic in the switchdev use

RE: [PATCH 2/4] event/sw: report periodic event timer capability

2022-08-05 Thread Van Haaren, Harry
> -Original Message- > From: Naga Harish K, S V > Sent: Wednesday, August 3, 2022 5:27 PM > To: Carrillo, Erik G ; jer...@marvell.com; Van > Haaren, > Harry > Cc: dev@dpdk.org > Subject: [PATCH 2/4] event/sw: report periodic event timer capability > > update the software eventdev pmd ti

Re: [PATCH v5 04/12] net/nfp: add initial flower firmware support

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: This commits adds the basic probing infrastructure to support the flower "This commits adds" -> "Add" It is the description of the commit from the very beginning. firmware. This firmware is geared towards offloading OVS and can generally be found in /lib/fi

Re: [PATCH v5 03/12] net/nfp: move app specific init logic to own function

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: The NFP card can load different firmware applications. This commit move the init logic of corenic app of the secondary process into its own function. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_ethdev.c | 93 +++

Re: [PATCH v5 01/12] net/nfp: move app specific attributes to own struct

2022-08-05 Thread Andrew Rybchenko
On 8/5/22 09:32, Chaoyong He wrote: The NFP Card can load different firmware applications. Currently only the CoreNIC application is supported. This commit makes needed infrastructure changes in order to support other firmware applications too. Clearer separation is made between the PF device an

RE: [PATCH 3/6] examples/ipsec-secgw: add lookaside event mode

2022-08-05 Thread Volodymyr Fialko
snip > > static inline int > > process_ipsec_ev_inbound(struct ipsec_ctx *ctx, struct route_table *rt, > > - struct rte_event *ev) > > + const struct eh_event_link_info *ev_link, struct rte_event *ev) > > { > > struct ipsec_sa *sa = NULL; > > struct rte_mbuf *pkt; > > @@ -340

[PATCH] ring: compilation fix with GCC-12

2022-08-05 Thread Amit Prakash Shukla
GCC 12 raises the following warning: In function '__rte_ring_dequeue_elems_128', inlined from '__rte_ring_dequeue_elems' at ../lib/ring/rte_ring_elem_pvt.h:262:3, inlined from '__rte_ring_do_hts_dequeue_elem' at ../lib/ring/rte_ring_hts_elem_pvt.h:237:3,

RE: [EXT] [dpdk-dev v1] lib/cryptodev: multi-process IPC request handler

2022-08-05 Thread Zhang, Roy Fan
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Wednesday, July 27, 2022 5:26 AM > To: Ji, Kai ; dev@dpdk.org > Cc: Anoob Joseph ; hemant.agra...@nxp.com; > Zhang, Roy Fan ; Chandubabu Namburu > ; Ruifeng Wang ; > ajit.khapa...@broadcom.com; Michael Shamis ; > Nagadheeraj Rotte

RE: [PATCH 3/3] crypto/qat: compilation fix for GCC-12

2022-08-05 Thread Zhang, Roy Fan
> -Original Message- > From: Amit Prakash Shukla > Sent: Thursday, August 4, 2022 2:41 PM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; jer...@marvell.com; Amit Prakash Shukla > > Subject: [PATCH 3/3] crypto/qat: compilation fix for GCC-12 > > GCC 12 raises the following warning: > >

[PATCH] mbuf: remove deprecated offload flags

2022-08-05 Thread Andrew Rybchenko
Remove deprecated ``PKT_*`` flags. Use corresponding flags with ``RTE_MBUF_F_`` prefix instead. Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/release_22_11.rst | 3 + lib/mbuf/rte_mbuf_core.h | 113 - 2 files changed, 3 insertions(+), 113 deleti

Re: [PATCH 00/10] ethdev: cleanup deprecated defines

2022-08-05 Thread Andrew Rybchenko
On 8/4/22 22:29, Stephen Hemminger wrote: On Thu, 4 Aug 2022 22:05:52 +0300 Andrew Rybchenko wrote: Remove deprecated because of invalid namespace defines. Andrew Rybchenko (10): ethdev: remove deprecated link speed and duplex defines ethdev: remove deprecated Rx and Tx multi-queue mod

[Bug 1028] [dpdk-22.07] dynamic_queue/txq_setup: after set “port 0 txq 1 stop”, this stopped queue not display transmits 255 packets

2022-08-05 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1028 linglix.c...@intel.com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug 1043] [dpdk-22.07]vm2vm_virtio_net_perf_cbdma/vm2vm_split_ring_iperf_with_tso_and_cbdma_enable: iperf test no data between 2 VMs

2022-08-05 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1043 lingwei (weix.l...@intel.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---