diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c index fa86bfc05c057d8266aec06ac82ff89af6c8fe66..e39d5ccf46580a493bf8775c9f824445623e8162 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c @@ -235,6 +235,12 @@ int hclge_mac_connect_phy(struct hnae3_handle *handle) phydev->supported &= *hdev->hw.mac.supported; phydev->advertising = phydev->supported; + + /* supported flag is Pause and Asym Pause, but default advertising + * should be rx on, tx on, so need clear Asym Pause in advertising + * flag + */ + phydev->advertising &= ~ADVERTISED_Asym_Pause; #endif return 0; }