net/hns3: fix TM QCN error event report by MSI-X
authorChengwen Feng <fengchengwen@huawei.com>
Sat, 8 May 2021 07:40:57 +0000 (15:40 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 17:34:17 +0000 (19:34 +0200)
commitffb62592f80faf70fa3627c3de34e137883333cf
treeaafcd6cefc20444a6bd70b7097d284e19f6bc585
parent15f0573e9254763c3680bfbfa4bfab8599e5ab84
net/hns3: fix TM QCN error event report by MSI-X

The TM QCN error event should report by RAS other than MSIX.

Also this patch adds fifo int enable configuration before the TM QCN
error event is enabled.

Fixes: f53a793bb7c2 ("net/hns3: add more hardware error types")
Fixes: 3903c05382c5 ("net/hns3: remove read when enabling TM QCN error event")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_intr.c
drivers/net/hns3/hns3_intr.h