diff options
author | Jakub Kicinski <[email protected]> | 2021-10-06 18:07:01 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-07 13:39:51 +0100 |
commit | b8eeac565b162b6a00423a5d9ed2d1284342bdfd (patch) | |
tree | 9f5c2073f4b0155a2c122238f3939cf30bded3f4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d9eb44904e87c8ad1da0240849dbab638bacb799 (diff) |
ethernet: use device_get_ethdev_address()
Use the new device_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.
@@
expression dev, np;
@@
- device_get_mac_address(np, dev->dev_addr, ETH_ALEN)
+ device_get_ethdev_address(np, dev)
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions