]> git.karo-electronics.de Git - karo-tx-linux.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)
commit14ae335a8599d735d19f600c29c6249dd2c3f7a8
tree14d2fe045cb40027191d23bb1a0fbb99fbcd3752
parent0b03fd8528f7bf00b5c058212d69f92cf123bf30
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