Skip to contentSkip to conversation

net/hns3: disable the MAC status report interrupt

PATCH Applied Min Hu (Connor) 2 participants 2 messages Apr 23, 2021 – Apr 27, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/hns3: disable the MAC status report interrupt

From: HongBo Zheng <[email protected]>

Disable the MAC status report interrupt which hns3 driver not concern currently.

Fixes 5f8845f4ba8f ("net/hns3: process MAC interrupt")
---
 drivers/net/hns3/hns3_ethdev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/hns3/hns3_ethdev.c +0 -2
index 60267e1..16341ea 100644
@@ -4892,8 +4892,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;
 	}
 
Signature · 1 line
2.7.4