Re: [PATCH v2] hash: cast away atomic qualification

2024-05-26 Thread Thomas Monjalon
22/05/2024 18:33, Tyler Retzlaff: > rte_free accepts only non-cva qualified arguments so cast away > RTE_ATOMIC qualification for tbl_chng_cnt and h->tbl_chng_cnt when > calling rte_free. > > Without this change using enable_stdatomic=true with LLVM or MSVC will > result in a warning being emitted

[PATCH v2] hash: cast away atomic qualification

2024-05-22 Thread Tyler Retzlaff
rte_free accepts only non-cva qualified arguments so cast away RTE_ATOMIC qualification for tbl_chng_cnt and h->tbl_chng_cnt when calling rte_free. Without this change using enable_stdatomic=true with LLVM or MSVC will result in a warning being emitted for discarding the atomic qualification. Sig

[PATCH v2] hash: cast away atomic qualification

2024-05-22 Thread Tyler Retzlaff
rte_free accepts only non-cva qualified arguments so cast away RTE_ATOMIC qualification for tbl_chng_cnt and h->tbl_chng_cnt when calling rte_free. Without this change using enable_stdatomic=true with LLVM or MSVC will result in a warning being emitted for discarding the atomic qualification. v2: