From: Hongbo Zheng Date: Fri, 23 Apr 2021 09:56:34 +0000 (+0800) Subject: net/hns3: disable MAC status report interrupt X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5d17dec5a85284a5384197fb389ef483c83d340a;p=dpdk.git net/hns3: disable MAC status report interrupt Disable the MAC status report interrupt which hns3 driver not concern currently. Fixes: 5f8845f4ba8f ("net/hns3: process MAC interrupt") Cc: stable@dpdk.org Signed-off-by: Hongbo Zheng Signed-off-by: Min Hu (Connor) --- diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index ab38eae127..e3f1b7c3ad 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -4895,8 +4895,6 @@ hns3_update_link_status(struct hns3_hw *hw) if (state != hw->mac.link_status) { hw->mac.link_status = state; hns3_warn(hw, "Link status change to %s!", state ? "up" : "down"); - hns3_config_mac_tnl_int(hw, - state == ETH_LINK_UP ? true : false); return true; }