Re: [PATCH] eal: add nonnull and access function attributes

2022-12-02 Thread Tyler Retzlaff
On Fri, Dec 02, 2022 at 04:34:32PM +0100, Morten Brørup wrote: > Add "nonnull" function attribute to help the compiler detect a NULL > pointer being passed to a function not accepting NULL pointers as an > argument at build time. > > Add "access" function attribute to tell the optimizer how a func

Re: help with pthread_t deprecation / api changes

2022-12-02 Thread Tyler Retzlaff
On Fri, Dec 02, 2022 at 09:03:25AM +0100, Morten Brørup wrote: > +Bruce, FreeBSD EAL maintainer > > > > This is one of the consequences of a bloated EAL. > > How is an application supposed to run on top of an EAL that isn't fully > implemented by the underlying environments? yep, i'm aware of

Re: [EXT] Re: [PATCH v3 1/1] app/testpmd: control passing Rx metadata to PMD

2022-12-02 Thread Thomas Monjalon
02/12/2022 17:14, Hanumanth Reddy Pothula: > -Original Message- > > 27/10/2022 09:34, Thomas Monjalon: > > > 17/10/2022 10:32, Andrew Rybchenko: > > > > On 10/6/22 21:35, Hanumanth Pothula wrote: > > > > > Presently, Rx metadata is sent to PMD by default, leading to a > > > > > performance

RE: [EXT] Re: [PATCH v3 1/1] app/testpmd: control passing Rx metadata to PMD

2022-12-02 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, October 27, 2022 6:25 PM > To: Hanumanth Reddy Pothula ; Andrew > Rybchenko > Cc: dev@dpdk.org; Aman Singh ; Yuying > Zhang ; dev@dpdk.org; Jerin Jacob > Kollanukkaran ; Nithin Kumar Dabilpuram > ; rasl...@nvidia.com; or...@n

[PATCH] eal: add nonnull and access function attributes

2022-12-02 Thread Morten Brørup
Add "nonnull" function attribute to help the compiler detect a NULL pointer being passed to a function not accepting NULL pointers as an argument at build time. Add "access" function attribute to tell the optimizer how a function accesses its pointer arguments. Add these attributes to the rte_mem

[PATCH] drivers: limit SSO interrupt allocation count in cnxk PMD

2022-12-02 Thread Shijith Thotton
Each SSO PF supports 1024 MSI-X interrupt vectors and the driver is allocating that many by default during probe. But this many vectors may not be needed for all applications. Required number of vectors can be calculated during init and allocation can be limited to that number. Signed-off-by: Shij

Re: [PATCH v4 1/2] drivers: fix symbol exports when map is omitted

2022-12-02 Thread Aaron Conole
David Marchand writes: > ld exports any global symbol by default if no version script is passed. > As a consequence, the incriminated change let any public symbol leak > out of the driver shared libraries. > > Hide again those symbols by providing a default map file which > unexports any global s

Re: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Ferruh Yigit
On 12/2/2022 10:13 AM, Zhou, YidingX wrote: > > > On Tue, 6 Sep 2022 16:05:11 +0800 > Yiding Zhou wrote: > >> The pcap file will be synchronized to the disk when stopping the device. >> It takes a long time if the file is large that would cause

[PATCH v4 2/2] build: generate Windows build artefacts when needed

2022-12-02 Thread David Marchand
We have been generating some Windows and mingw artefacts on all OS while there is no need for them. Signed-off-by: David Marchand Reviewed-by: Bruce Richardson --- drivers/meson.build | 27 +-- lib/meson.build | 29 +++-- 2 files changed, 28 i

[PATCH v4 1/2] drivers: fix symbol exports when map is omitted

2022-12-02 Thread David Marchand
ld exports any global symbol by default if no version script is passed. As a consequence, the incriminated change let any public symbol leak out of the driver shared libraries. Hide again those symbols by providing a default map file which unexports any global symbol using a local: * catch-all sta

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Zhou, YidingX
> > > > On Tue, 6 Sep 2022 16:05:11 +0800 Yiding Zhou > > > > wrote: > > > > > > > > > The pcap file will be synchronized to the disk when stopping the > > > > > device. > > > > > It takes a long time if the file is large that would cause the > > > > > 'detach sync

RE: [PATCH v2] net/pcap: fix timeout of stopping device

2022-12-02 Thread Zhou, YidingX
> >>> On Tue, 6 Sep 2022 16:05:11 +0800 > >>> Yiding Zhou wrote: > >>> > The pcap file will be synchronized to the disk when stopping the device. > It takes a long time if the file is large that would cause the > 'detach sync request' timeout when t

[PATCH] app/testeventdev: add crypto producer burst mode

2022-12-02 Thread Volodymyr Fialko
Add ability to set enqueue burst size for crypto producer. Existing parameter `--prod_enq_burst_sz` can be used in combination with `--prod_type_cryptodev` to enable burst enqueue for crypto producer. Example: ./dpdk-test-eventdev -l 0-2 -a -a -- \ --prod_type_cryptodev --crypto_adptr_m

[PATCH] app/testeventdev: add vector worker to perf test

2022-12-02 Thread Volodymyr Fialko
Add worker for handling vector events to perf tests, vector events could be generated by crypto adapter producer. Example: ./dpdk-test-eventdev -l 0-2 -a -a -- \ --prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_queue \ --stlist=a --wlcores 1 --plcores 2 --prod_enq_burst_sz 32

Re: [PATCH v3 1/2] drivers: fix symbol exports when map is omitted

2022-12-02 Thread David Marchand
On Thu, Dec 1, 2022 at 11:55 AM Bruce Richardson wrote: > > On Thu, Dec 01, 2022 at 11:08:46AM +0100, David Marchand wrote: > > ld exports any global symbol by default if no version script is passed. > > As a consequence, the incriminated change let any public symbol leak > > out of the driver sha

DPDK 22.11.1 released

2022-12-02 Thread David Marchand
Hi all, Here is a new 22.11 release: https://fast.dpdk.org/rel/dpdk-${stable_release}.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=22.11 This LTS release contains one fix on the drivers ABI for the 22.11 release. This 22.11.1 release should be used instead o

RE: [PATCH] net/iavf: fix outer udp checksum offload

2022-12-02 Thread Xu, Ke1
> -Original Message- > From: Zhichao Zeng > Sent: Friday, November 18, 2022 3:03 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Zhou, YidingX > ; Zeng, ZhichaoX ; Wu, > Jingjing ; Xing, Beilei ; Peng > Zhang > Subject: [PATCH] net/iavf: fix outer udp checksum offload > > Currently, when dea

RE: help with pthread_t deprecation / api changes

2022-12-02 Thread Morten Brørup
+Bruce, FreeBSD EAL maintainer > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Friday, 2 December 2022 02.12 > > On Wed, Nov 30, 2022 at 02:54:27PM -0800, Tyler Retzlaff wrote: > > hi folks, > > > > i'd like to continue work moving to our platform abstracted > rte_thread > >