The driver was updated to use the mempool cache ``size`` field instead of the deprecated ``flushthresh`` field; it contains the same value.
Signed-off-by: Morten Brørup <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> --- Note: This driver patch may be omitted if another driver patch eliminates the use of the deprecated ``flushthresh`` field. Supersedes: patch-167311 ("[v3] mempool: remove cache flush threshold field") --- drivers/net/sxe2/sxe2_txrx_vec_avx512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sxe2/sxe2_txrx_vec_avx512.c b/drivers/net/sxe2/sxe2_txrx_vec_avx512.c index a830c7a33b..2e680f4027 100644 --- a/drivers/net/sxe2/sxe2_txrx_vec_avx512.c +++ b/drivers/net/sxe2/sxe2_txrx_vec_avx512.c @@ -67,7 +67,7 @@ static __rte_always_inline int32_t sxe2_tx_bufs_free_vec_avx512(struct sxe2_tx_q } cache->len += rs_thresh; - if (cache->len >= cache->flushthresh) { + if (cache->len >= cache->size) { (void)rte_mempool_ops_enqueue_bulk(mp, &cache->objs[cache->size], cache->len - cache->size); cache->len = cache->size; -- 2.43.0

