Re: [PATCH] net/virtio-user: fix leak when initialisation fails

2023-04-16 Thread Maxime Coquelin
On 4/13/23 12:10, David Marchand wrote: Caught with ASan. If initialising a virtio_user port fails, we may leak the ifname passed via a devargs. Fixes: 4214a1b493f2 ("net/virtio-user: support changing tap interface name") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- drivers/net/v

RE: [PATCH v3] eventdev/eth_rx: fix invalid memory access

2023-04-16 Thread Naga Harish K, S V
Acked-by: Naga Harish K S V > -Original Message- > From: pbhagavat...@marvell.com > Sent: Friday, April 7, 2023 12:18 PM > To: jer...@marvell.com; Naga Harish K, S V > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [PATCH v3] eventdev/eth_rx: fix invalid memory access > > From: Pavan Ni

[PATCH v3 4/4] power: amd power monitor support

2023-04-16 Thread Sivaprasad Tummala
mwaitx allows EPYC processors to enter a implementation dependent power/performance optimized state (C1 state) for a specific period or until a store to the monitored address range. Signed-off-by: Sivaprasad Tummala --- lib/eal/x86/rte_power_intrinsics.c | 77 +- 1 fi

[PATCH v3 3/4] eal: removed unnecessary checks in x86 power monitor APIs

2023-04-16 Thread Sivaprasad Tummala
current x86 power monitor implementation fails on platforms with only monitor supported and not power_pause. Signed-off-by: Sivaprasad Tummala --- lib/eal/x86/rte_power_intrinsics.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/eal/x86/rte_power_intrinsics.c b/l

[PATCH v3 2/4] eal: add x86 cpuid support for monitorx

2023-04-16 Thread Sivaprasad Tummala
Add a new CPUID flag to indicate support for monitorx instruction on AMD EPYC processors. Signed-off-by: Sivaprasad Tummala --- lib/eal/x86/include/rte_cpuflags.h | 1 + lib/eal/x86/rte_cpuflags.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib/eal/x86/include/rte_cpuflags.h

[PATCH v3 1/4] doc: announce new cpu flag added to rte_cpu_flag_t

2023-04-16 Thread Sivaprasad Tummala
A new flag RTE_CPUFLAG_MONITORX is added to rte_cpu_flag_t in DPDK 23.07 release to support monitorx instruction on EPYC processors. This results in ABI breakage for legacy apps. Signed-off-by: Sivaprasad Tummala --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+)

Re: [RFC 00/27] Add VDUSE support to Vhost library

2023-04-16 Thread Jason Wang
On Fri, Apr 14, 2023 at 10:25 PM Ferruh Yigit wrote: > > On 4/14/2023 1:06 PM, Maxime Coquelin wrote: > > > > > > On 4/14/23 12:48, Ferruh Yigit wrote: > >> On 4/13/2023 8:59 AM, Maxime Coquelin wrote: > >>> Hi, > >>> > >>> On 4/13/23 09:08, Xia, Chenbo wrote: > > -Original Message- >

[RFC v1 2/2] app/testpmd: add IPv6 extension push remove cli

2023-04-16 Thread Rongwei Liu
Add command lines to generate IPv6 routing extension push and remove patterns and follow the raw_encap/decap style. Add the new actions to the action template parsing. Generating the action patterns 1. IPv6 routing extension push set ipv6_ext_push 1 ipv6_ext type is 43 / ipv6_routing_

[RFC v1 1/2] ethdev: add IPv6 extension push remove action

2023-04-16 Thread Rongwei Liu
Add new rte_actions to push and remove the specific type of IPv6 extension to and from original packets. A new extension to be pushed should be the last extension due to the next header awareness. Remove can support the IPv6 extension in any position. Signed-off-by: Rongwei Liu --- doc/guides/

[RFC v1 0/2] add IPv6 extenstion push remove

2023-04-16 Thread Rongwei Liu
Add new rte actions to support push/remove IPv6 extension header. Rongwei Liu (2): ethdev: add IPv6 extension push remove action app/testpmd: add IPv6 extension push remove cli app/test-pmd/cmdline_flow.c| 443 - doc/guides/prog_guide/rte_flow.rst | 21 ++

[PATCH v3] net/i40e: support enable/disable source pruning

2023-04-16 Thread Mingjin Ye
VRRP advertisement packets are dropped on i40e PF device because when a MAC address is added to a device, packets originating from that MAC address are dropped. This patch adds a PMD specific API to enable/disable source pruning to fix above issue. Bugzilla ID: 648 Fixes: 94b3c1a72507 ("net/i40e:

Re: [PATCH v3 06/11] eal: typedef cpu flag enum as int for msvc

2023-04-16 Thread Konstantin Ananyev
10/04/2023 21:53, Tyler Retzlaff пишет: On Mon, Apr 10, 2023 at 08:59:33PM +0100, Konstantin Ananyev wrote: 06/04/2023 01:45, Tyler Retzlaff пишет: Forward declaration of a typedef is a non-standard extension and is not supported by msvc. Use an int instead. Abstract the use of the int/enum rt

RE: [PATCH v2 5/6] bus: enable cdx bus

2023-04-16 Thread Gupta, Nipun
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, April 14, 2023 10:16 PM > To: Gupta, Nipun ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: Anand, Harpreet ; Agarwal, Nikhil > > Subject: Re: [PATCH v2 5/6] bus: enable cdx bus > > On 4/13/2023 2:27 PM, N

RE: [PATCH v2 3/6] bus/cdx: add support for MSI

2023-04-16 Thread Gupta, Nipun
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, April 14, 2023 10:15 PM > To: Gupta, Nipun ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: Anand, Harpreet ; Agarwal, Nikhil > > Subject: Re: [PATCH v2 3/6] bus/cdx: add support for MSI > > On 4/13/2023 2

RE: [PATCH v2 1/6] bus/cdx: introduce cdx bus

2023-04-16 Thread Gupta, Nipun
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, April 14, 2023 10:15 PM > To: Gupta, Nipun ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: Anand, Harpreet ; Agarwal, Nikhil > > Subject: Re: [PATCH v2 1/6] bus/cdx: introduce cdx bus > > On 4/13/2023 2:2

RE: [PATCH] dma/dpaa2: set the vfa bit for rbp with vf

2023-04-16 Thread Hemant Agrawal
> -Original Message- > From: Alvaro Karsz > Sent: Sunday, April 16, 2023 2:47 PM > To: Jun Yang ; Gagandeep Singh ; > Hemant Agrawal > Cc: dev@dpdk.org; David Marchand > Subject: Re: [PATCH] dma/dpaa2: set the vfa bit for rbp with vf > Importance: High > > > Hi, > > This patch fixed

Re: [PATCH] dma/dpaa2: set the vfa bit for rbp with vf

2023-04-16 Thread Alvaro Karsz
> Hi, > This patch fixed the issue of qdma route by port for PCIe VF. > "vfa" bit determines if "vfid" is valid or not. > Route by port is a kind of qdam transfer used for PCIe EP to access host by > PCIe address and PCIe function. Another kind of transfer to access host is by > PCIe address + PC