]> 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)
commit4ed66a23fdd2b785a1123735f73e34b2a7f9b847
tree6f0a2c735adb6560b69a5c9c3ba78e032abe985e
parent391bf29afa33dd9cfdc02789100b2a6c6464a212
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