]> git.droids-corp.org - dpdk.git/commit
net/cnxk: align prefetches to CN10K cache model
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 24 Feb 2022 16:10:12 +0000 (21:40 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 24 Feb 2022 20:31:48 +0000 (21:31 +0100)
commit592642c494b159abf21b175a32d9621ed7b8a308
tree8c9921e9c09cd891292a1fae453c882da8b0e619
parent6c75d42006b7868754c28b9429685c9b8e0bb3cc
net/cnxk: align prefetches to CN10K cache model

Align prefetches for CN10K cache model for vWQE in Rx and Tx.
Move mbuf->next NULL assignment to Tx path and enabled it only
when multi segments offload is enabled to reduce L1 pressure.
Add macros to detect corrupted mbuf->next values when
MEMPOOL_DEBUG is set.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/event/cnxk/cn10k_worker.h
drivers/net/cnxk/cn10k_rx.h
drivers/net/cnxk/cn10k_tx.h