]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Modify GMAC init TX threshold value
authorlipeng <lipeng321@huawei.com>
Sat, 1 Apr 2017 11:03:32 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2017 21:48:43 +0000 (14:48 -0700)
commit5560b65425e5717cf982d766612d717cd68d2c58
tree5d640d03b44cfe119fc82c8aaf98d70b90af05ff
parentbb87c35120c51f1c2683e21336ef9017c9f246c5
net: hns: Modify GMAC init TX threshold value

This patch reduces GMAC TX threshold value to avoid gmac
hang-up with speed 100M/duplex half.

Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: JinchuanTian <tianjinchuan1@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h