]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 28 Jun 2017 14:24:10 +0000 (11:24 -0300)
commit6e28be5b361f0e5ee5c8a4e7d678ce36b736ce7a
treec6b3dbc4719ef3461096be55a6c6d1fe2f400ed6
parente82b99f38cd7a879d7c413e1fcdf853d7ab75061
net: hns: Adjust the SBM module buffer threshold

BugLink: https://bugs.launchpad.net/bugs/1696031
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>
(cherry picked from commit 76b588bc523bee796834ebd319f6a71ad3eddbae)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c