]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Adjust the SBM module buffer threshold
authorKejian Yan <yankejian@huawei.com>
Sat, 1 Apr 2017 11:03:46 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2017 21:48:43 +0000 (14:48 -0700)
commit59ab6d791e37a22208c2871cb8a119649e88a8e7
tree6f0a2c735adb6560b69a5c9c3ba78e032abe985e
parent3b6683e028c624d706704ccf9be114d3ad838369
net: hns: Adjust the SBM module buffer threshold

HNS needs SMB Buffers to store at least two packets after sending
pause frame because of the link delay. The MTU of HNS is 9728. As
the processor user manual described, the SBM buffer threshold should
be modified.

Reported-by: Ping Zhang <zhangping5@huawei.com>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Reviewed-by: Salil Mehta <salil.mehta@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_main.c