]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: Increase the default depth of bucket for TM shaper
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:55 +0000 (12:21 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:15 +0000 (10:47 -0500)
commit0b9a0e09250123fbf2fad73774e6ce7a2c259e28
tree34cb0e96521f13ba31ad99cdb9df6debe7ec5fec
parenta2cfbadbda01fb899512f16ddd9fdb5aef4eddb5
net: hns3: Increase the default depth of bucket for TM shaper

BugLink: http://bugs.launchpad.net/bugs/1756097
Burstiness of a flow is determined by the depth of a bucket, When the
upper rate of shaper is large, the current depth of a bucket is not
enough.

The default upper rate of shaper is 100G, so increase the depth of
a bucket according to UM.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3a7d59588ab282f105a2a82a38f0fa4a2c9c5032)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c