]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add Asym Pause support to phy default features
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 22 Dec 2017 04:21:53 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:42:03 +0000 (10:42 -0500)
commitf0a06b9c0cca73535c29753772d3baa62b8b6f8e
treee46de7fbd8093d9a832f5b42bccf87950783cd5f
parent613b6c09e720f76bc95c0a7a95a096d835f4f6b6
net: hns3: add Asym Pause support to phy default features

commit c4fb2cdf575d ("net: hns3: fix a bug for phy supported feature
initialization") adds default supported features for phy, but our hardware
also supports Asym Pause. This patch adds Asym Pause support to phy
default features to prevent Asym Pause can not be advertised when the phy
negotiates flow control.

Fixes: c4fb2cdf575d ("net: hns3: fix a bug for phy supported feature initialization")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c