event/octeontx2: improve datapath memory locality
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 29 Jun 2020 01:33:28 +0000 (07:03 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 30 Jun 2020 05:41:26 +0000 (07:41 +0200)
commitcb4261e0bfdc11630bc5bc49569f894c7492dfea
tree47e3738f714171b5a7386a8748bb7db699803d12
parent3c1a1c43cd93fa7c73a460d6f88ca5de7ca1e9c0
event/octeontx2: improve datapath memory locality

When event device is transmitting packet on OCTEONTX2 it needs to access
the destined ethernet device TXq data.
Currently, we get the TXq data through rte_eth_devices global array.
Instead save the TXq address inside event port memory.

Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/octeontx2/otx2_evdev.h
drivers/event/octeontx2/otx2_evdev_adptr.c
drivers/event/octeontx2/otx2_worker.c
drivers/event/octeontx2/otx2_worker.h
drivers/event/octeontx2/otx2_worker_dual.c