> From: Morten Brørup [mailto:[email protected]]
> Sent: Monday, 13 July 2026 14.05
> 
> Hi Jie Liu,
> 
> Your sxe2 driver is accessing the flushthresh field in the mempool
> structure [1].
> This field is obsolete, as the mempool cache algorithm has been updated
> [2].
> If you need to bypass the mempool API and work directly with mempool
> internals, please keep your code up to date with the internals of the
> mempool library implementation.
> 
> Please submit an updated version of your driver, or the patch to
> support AVX512 needs to be reverted. Jie Liu

As a temporary quick-fix, you can update the comparison on line 70 as:

- if (cache->len >= cache->flushthresh) {
+ if (cache->len > cache->size) {

> 
> It looks like your driver introduced something similar to what the
> Intel common drivers were previously doing [3]; the Intel common
> drivers were updated accordingly [4].
> 
> [1]: https://github.com/DPDK/dpdk/blob/v26.07-
> rc3/drivers/net/sxe2/sxe2_txrx_vec_avx512.c#L70
> [2]:
> https://github.com/DPDK/dpdk/commit/f5e1310f16e0909e7e7f71807123644c63b
> 23cba
> [3]:
> https://github.com/DPDK/dpdk/blob/v26.03/drivers/net/intel/common/tx.h#
> L315
> [4]:
> https://github.com/DPDK/dpdk/commit/062d6fe5d00d837ecb1a2b77b4a306e3619
> a7fde
> 

Reply via email to