]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix hns dsaf v1 dont support tx_pause close
authorQianqian Xie <xieqiaqian@huawei.com>
Tue, 21 Jun 2016 03:56:22 +0000 (11:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 08:51:54 +0000 (04:51 -0400)
commit6ca34653ebca2fed40b5cd935ac881ddd50d065f
tree14d2fe045cb40027191d23bb1a0fbb99fbcd3752
parent8568ad90e88babf241551e9a7ad653ca90ec9f64
net: hns: fix hns dsaf v1 dont support tx_pause close

For service port, hns dsaf v1 support to close tx_pause.
However, the port will be invalid when it run command
ethtool to close tx_pause. This patch will fix it.

Signed-off-by: Qianqian Xie <xieqiaqian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c