[PATCH] common/cnxk/roc_npa: fix npa_aura_fini

Thierry Herbelot thierry.herbelot at 6wind.com
Tue Jun 20 11:49:38 CEST 2023


Hello David,

I added a trace in mbox_get() to print when a mbox lock was already locked.
The traces were displayed when running an internal CI/CD test suite.

	Best regards

	Thierry

On 6/20/23 11:32, David Marchand wrote:
> On Tue, Jun 20, 2023 at 10:51 AM Thierry Herbelot
> <thierry.herbelot at 6wind.com> wrote:
>>
>> Unlock mbox when an error is detected.
> 
> Out of curiosity, how did you catch it?
> 
> This issue could probably be caught with clang thread safety checks,
> but it is disabled on this driver atm.
> https://git.dpdk.org/dpdk/commit/drivers/common/cnxk?id=70cc4e1fed665712e68f2f45d98dda4abc6accda
> 
> 

-- 
Thierry Herbelot
Senior Software Engineer
Tel: +33 1 39 30 92 61
http://www.6wind.com/

Follow us:
https://www.linkedin.com/company/6wind/
https://twitter.com/6WINDsoftware
https://www.youtube.com/user/6windsoftware


More information about the dev mailing list