sxe2 driver bug due to mempool layer violation

Morten Brørup mb at smartsharesystems.com
Mon Jul 13 14:04:35 CEST 2026


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.

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/f5e1310f16e0909e7e7f71807123644c63b23cba
[3]: https://github.com/DPDK/dpdk/blob/v26.03/drivers/net/intel/common/tx.h#L315
[4]: https://github.com/DPDK/dpdk/commit/062d6fe5d00d837ecb1a2b77b4a306e3619a7fde


Venlig hilsen / Kind regards,
-Morten Brørup



More information about the dev mailing list