diff options
author | Alejandro Lucero <[email protected]> | 2023-02-15 09:08:26 +0000 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-02-16 12:03:12 +0100 |
commit | 7e056e2360d9267a20509aa2cdb8905485499e95 (patch) | |
tree | 8c56f895cbb6f50240870cf331ac73acad36d75c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 25414b2a64ae7ea8742933bd7b1d056e069b15a7 (diff) |
sfc: obtain device mac address based on firmware handle for ef100
Getting device mac address is currently based on a specific MCDI command
only available for the PF. This patch changes the MCDI command to a
generic one for PFs and VFs based on a client handle. This allows both
PFs and VFs to ask for their mac address during initialization using the
CLIENT_HANDLE_SELF.
Moreover, the patch allows other client handles which will be used by
the PF to ask for mac addresses linked to VFs. This is necessary for
suporting the port_function_hw_addr_get devlink function in further
patches.
Signed-off-by: Alejandro Lucero <[email protected]>
Acked-by: Martin Habets <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions