summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2019-04-14 04:47:42 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-14 23:47:35 +0300
commit1a49f3c6146f33c42523c8e4f5a72b6f322d5357 (patch)
tree65bd6847c875209a6f5981e168147326fab6c45b /tools/perf/scripts/python/exported-sql-viewer.py
parentdb5936db8f9e024cdbb988dab1606f2c205bb385 (diff)
downloadlinux-1a49f3c6146f33c42523c8e4f5a72b6f322d5357.tar.xz
net: hns3: divide shared buffer between TC
Currently hardware may have not enough buffer to receive packet when it has used more than two MPS(maximum packet size) of buffer, but there are still a lot of shared buffer left unused when TC num is small. This patch divides shared buffer to be used between TC when the port supports DCB, and adjusts the waterline and threshold according to user manual for the port that does not support DCB. This patch also change hclge_get_tc_num's return type to u32 to avoid signed-unsigned mix with divide. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions