diff options
author | Hayes Wang <hayeswang@realtek.com> | 2021-04-16 16:04:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-16 15:28:31 -0700 |
commit | 67ce1a806f164e59a074fea8809725d3411eaa20 (patch) | |
tree | faf889a28917ada5bc62c3343161ab0d00e373c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a8a7be178e81a3d4b6972cbeb0ccd091ca2f9f89 (diff) |
r8152: add help function to change mtu
The different chips may have different requests when changing mtu.
Therefore, add a new help function of rtl_ops to change mtu. Besides,
reset the tx/rx after changing mtu.
Additionally, add mtu_to_size() and size_to_mtu() macros to simplify
the code.
Signed-off-by: Hayes Wang <hayeswang@realtek.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