diff options
| author | Hayes Wang <hayeswang@realtek.com> | 2021-04-16 11:04:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-04-17 01:28:31 +0300 |
| commit | 67ce1a806f164e59a074fea8809725d3411eaa20 (patch) | |
| tree | faf889a28917ada5bc62c3343161ab0d00e373c9 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | a8a7be178e81a3d4b6972cbeb0ccd091ca2f9f89 (diff) | |
| download | linux-67ce1a806f164e59a074fea8809725d3411eaa20.tar.xz | |
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
