]> 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)
commitf4736d0a7d784f5a21ab35b59d863f5bda8a6fc0
tree2338f60aa84d89783b271e86b9428fa96ebc5d56
parentcc4ede56676bb600ee436022dee1a68542fc1f67
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: a462d8b19a3d ("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