diff options
author | Jakub Kicinski <[email protected]> | 2021-10-07 11:18:47 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-08 14:54:34 +0100 |
commit | 4d04cdc5ee4961022b1bdc76b76132787b8c9e5b (patch) | |
tree | 5eabc94964640c912a93b6517cd7ca34d704f746 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ba882580f211dbe4fee7f010c9d38dd879db83a6 (diff) |
ethernet: use platform_get_ethdev_address()
Use the new platform_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.
@@
expression dev, net;
@@
- eth_platform_get_mac_address(dev, net->dev_addr)
+ platform_get_ethdev_address(dev, net)
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions