summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-03-21 15:49:20 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-22 13:12:01 -0400
commitdd72140ca9fd44c5e3ea3cb6b485f40e6751f5e9 (patch)
treefe1ea43da98a70e32594954e67bd12cea6f7f5ad /tools/perf/scripts/python/export-to-postgresql.py
parent145307460ba9c11489807de7acd3f4c7395f60b7 (diff)
net: hns3: reallocate tx/rx buffer after changing mtu
When changing the mtu, the max frame size also will be changed. The tx buffer size and the rx buffer size to be allocated are determined by max frame size. So when max frame size is changed, the tx buffer and rx buffer need to be reallocated. When the tc_num is changed, the tx buffer and rx buffer need to be reallocated too. So calling set_mtu and buffer_alloc separately is better. Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions