diff options
author | 2021-04-16 16:04:34 +0800 | |
---|---|---|
committer | 2021-04-16 15:28:31 -0700 | |
commit | 67ce1a806f164e59a074fea8809725d3411eaa20 (patch) | |
tree | faf889a28917ada5bc62c3343161ab0d00e373c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | r8152: adjust rtl8152_check_firmware function (diff) | |
download | wireguard-linux-67ce1a806f164e59a074fea8809725d3411eaa20.tar.xz wireguard-linux-67ce1a806f164e59a074fea8809725d3411eaa20.zip |
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