net/octeontx2: disable unnecessary error interrupts
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Mon, 13 Apr 2020 13:45:40 +0000 (19:15 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:07 +0000 (13:57 +0200)
commitc3d30e9d753ef3121c25b9403bf56ee09f2a2086
tree04ef2879c50153cbf876a5df7c24f7dc588c0770
parent4ccbda1596de87e7f3cb798ac5fa2fdcce0d7a74
net/octeontx2: disable unnecessary error interrupts

Disable CQ_DISABLED error interrupt in NIX_LF_ERR_INT
to fix spurious interrupts in event dev mode. Also skip
configuring RSS when RQ count is '0' because
RSS table initialization is done incorrectly due to
divide-by-zero error and it is leading to RQ_OOR error
in NIX_LF_ERR_INT.

Fixes: 83ce2880e22e ("net/octeontx2: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_ethdev_irq.c
drivers/net/octeontx2/otx2_rss.c