]> git.droids-corp.org - dpdk.git/commit
common/cnxk: enable NIX Tx interrupts errata
authorHarman Kalra <hkalra@marvell.com>
Mon, 31 Jan 2022 10:52:10 +0000 (16:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 17 Feb 2022 09:26:30 +0000 (10:26 +0100)
commitf2566bfa80ef97d61cd88e6d951d1a87166c239a
tree5c4e2c04f5452297c612fa0a0746facc8bee3251
parent3cebc8f35f541c15a00d27f4f6a7fc7e63e849b1
common/cnxk: enable NIX Tx interrupts errata

An errata exists whereby NIX may incorrectly overwrite the value in
NIX_SQ_CTX_S[SQ_INT]. This may cause set interrupts to get cleared or
causing an QINT when no error is outstanding.
As a workaround, software should always read all SQ debug registers
and not just rely on NIX_SQINT_E bits set in NIX_SQ_CTX_S[SQ_INT].
Also for detecting SQB faults software must read SQ context and
check id next_sqb is NULL.

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