net/hns3: disable MAC status report interrupt
authorHongbo Zheng <zhenghongbo3@huawei.com>
Fri, 23 Apr 2021 09:56:34 +0000 (17:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 27 Apr 2021 11:15:10 +0000 (13:15 +0200)
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 <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c

index ab38eae..e3f1b7c 100644 (file)
@@ -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;
        }