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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:42:20 +0000 (10:42 -0500)
commit3a7d59588ab282f105a2a82a38f0fa4a2c9c5032
tree44c5e671a28c6398c6f86117c0c7674cac1a00a0
parentf34ffffdcf06c779ac1ee303bf198152f0841386
net: hns3: Increase the default depth of bucket for TM shaper

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c