RE: [PATCH v4] net: add thread-safe crc api

2025-02-07 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Stephen Hemminger > Sent: Friday, February 7, 2025 6:13 PM > To: Kusztal, ArkadiuszX > Cc: dev@dpdk.org; ferruh.yi...@amd.com; Ji, Kai ; Dooley, > Brian > Subject: Re: [PATCH v4] net: add thread-safe crc api > > On Fri,

Re: [PATCH v4] net: add thread-safe crc api

2025-02-07 Thread Stephen Hemminger
On Fri, 7 Feb 2025 06:37:58 + Arkadiusz Kusztal wrote: > +* net: A thread/process-safe API was introduced. Old and new APIs share the > same > + function names, but the old one is versioned. Replaced functions are: > + ``rte_net_crc_calc`` and ``rte_net_crc_set_alg``. The new one is > ``

[PATCH v4] net: add thread-safe crc api

2025-02-06 Thread Arkadiusz Kusztal
The current net CRC API is not thread-safe, this patch solves this by adding another, thread-safe API functions. This API is also safe to use across multiple processes, yet with limitations on max-simd-bitwidth, which will be checked only by the process that created the CRC context; all other proce