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)
commit76b588bc523bee796834ebd319f6a71ad3eddbae
tree6f0a2c735adb6560b69a5c9c3ba78e032abe985e
parenta2185587ade79b9649639721aa21c4cefc1aea6b
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