aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFuyun Liang <[email protected]>2018-03-21 15:49:20 +0800
committerDavid S. Miller <[email protected]>2018-03-22 13:12:01 -0400
commitdd72140ca9fd44c5e3ea3cb6b485f40e6751f5e9 (patch)
treefe1ea43da98a70e32594954e67bd12cea6f7f5ad /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions