RE: [PATCH v2] app/crypto-perf-test: fix unset crc algorithm

2024-03-15 Thread Power, Ciara
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, March 15, 2024 10:45 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Power, Ciara ; Kusztal, > ArkadiuszX > Subject: [PATCH v2] app/crypto-perf-test: fix unset crc algorithm > > Because net

[PATCH v2] app/crypto-perf-test: fix unset crc algorithm

2024-03-15 Thread Arkadiusz Kusztal
Because net crc api is not thread-safe, setting crc algorithm by the application will prevent race condition in the calc function. Race condition still may occur when any of the threads will call this function again. Function is called with the highest possible SIMD extension, which is AVX512, but