diff options
author | 2023-02-15 09:08:26 +0000 | |
---|---|---|
committer | 2023-02-16 12:03:12 +0100 | |
commit | 7e056e2360d9267a20509aa2cdb8905485499e95 (patch) | |
tree | 8c56f895cbb6f50240870cf331ac73acad36d75c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sfc: add devlink port support for ef100 (diff) | |
download | wireguard-linux-7e056e2360d9267a20509aa2cdb8905485499e95.tar.xz wireguard-linux-7e056e2360d9267a20509aa2cdb8905485499e95.zip |
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 <alejandro.lucero-palau@amd.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions