]> git.droids-corp.org - dpdk.git/commit
event/cnxk: initialize work slot read cache
authorVolodymyr Fialko <vfialko@marvell.com>
Mon, 20 Jun 2022 11:26:16 +0000 (13:26 +0200)
committerJerin Jacob <jerinj@marvell.com>
Mon, 20 Jun 2022 19:00:40 +0000 (21:00 +0200)
commit7e9a9600de08edaaa6d505c8f77e4ad859cccbce
tree77fd63bb63377c216f0a4bfd58e14a251e9e3109
parent3d6e9dd493784d077b9a214a0937331fa05f8abf
event/cnxk: initialize work slot read cache

Initialize gw_rdata with tag type EMPTY. Leaving tag type as
zero(ATOMIC) may cause some unnecessary head wait, if cache will be used
before the first update in dequeue/get_work functions.

Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
drivers/event/cnxk/cn10k_eventdev.c