]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add configuration of TM QCN error event
authorJiaran Zhang <zhangjiaran@huawei.com>
Tue, 19 Oct 2021 14:16:28 +0000 (22:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Oct 2021 10:38:11 +0000 (11:38 +0100)
commit60484103d5c387df49bd60de4b16c88022747048
tree2338f60aa84d89783b271e86b9428fa96ebc5d56
parent55161e67d44fdd23900be166a81e996abd6e3be9
net: hns3: Add configuration of TM QCN error event

Add configuration of interrupt type and fifo interrupt enable of TM QCN
error event if enabled, otherwise this event will not be reported when
there is error.

Fixes: d914971df022 ("net: hns3: remove redundant query in hclge_config_tm_hw_err_int()")
Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h