]> git.droids-corp.org - dpdk.git/commit
common/cnxk: use CAS with release semantics for batch alloc
authorAshwin Sekhar T K <asekhar@marvell.com>
Tue, 30 Nov 2021 05:45:27 +0000 (11:15 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 6 Jan 2022 14:05:25 +0000 (15:05 +0100)
commit09cad550d608af67d6268f91ef2ca68e21398e31
tree2a9c6fd5253de278fb989ce7737bc2d516f19f41
parente587e0d5c1dff700a887e2d7e0abe4cb75bb30ed
common/cnxk: use CAS with release semantics for batch alloc

Before issuing the batch alloc, we clear the first word of
cache lines so that NPA can update the status. Make sure that
this line clear is flushed before the batch alloc is issued.

Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_io.h
drivers/common/cnxk/roc_io_generic.h
drivers/common/cnxk/roc_npa.h