common/cnxk: enable completion queue overflow errata
authorHarman Kalra <hkalra@marvell.com>
Tue, 21 Sep 2021 11:00:38 +0000 (16:30 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 1 Oct 2021 05:31:39 +0000 (07:31 +0200)
commitb21f07c94c5c63fc5b89484cdcfbbd36341a28d4
tree5d346a1bf0a3c76e136dd55d48753c5c4d6e6e37
parentf11873922a3a8a846042251e75640b59682fee89
common/cnxk: enable completion queue overflow errata

An issue exists on some HW revisions whereby if a CQ overflows
NIX may have undefined behavior, e.g. free incorrect buffers.
Implementing a workaround for this known HW issue.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_nix_priv.h
drivers/common/cnxk/roc_nix_queue.c