event/cnxk: fix reading stale Tx queue depth
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 20 Jul 2021 07:04:32 +0000 (12:34 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 30 Jul 2021 10:28:52 +0000 (12:28 +0200)
commitac56433de535ac188bd84eab9112df546334e91c
treec60165a0cee60f1361f23d2e4582f7ab1ef6290d
parente1d38504e16cdc7fbb977d9fc750a93cc784d37e
event/cnxk: fix reading stale Tx queue depth

Reads to Tx queue FC memory need to be atomic to avoid cores using
same Tx queue spinning on stale values.

Fixes: 313e884a22fd ("event/cnxk: support Tx adapter fast path")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/cnxk/cn9k_worker.h