]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fixes a bug about timeout by pause frame
authorlisheng <lisheng011@huawei.com>
Fri, 16 Oct 2015 09:03:20 +0000 (17:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2015 02:57:08 +0000 (19:57 -0700)
commit14c13932c57fdfa648a457bd7dcdcfee8394140d
tree31c4328e75a5aad1033e4d07b6a30681e41fc734
parent3b9881b8374668d78bb491263aefedc2a7d40896
net: hns: fixes a bug about timeout by pause frame

this patch fixes the bug triggered timeout sequence. when the connective
ports cannot accept the packets with higher speed, they will send out the
pause frame to the Soc's mac. At that time, the driver resets the relevant
of the Soc, then it causes the packets cannot be sent out immediately.
this patch fixes the issue.

Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: lisheng <lisheng011@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c