Merge branch 'sfc-devlink-support-for-ef100'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 16 Feb 2023 11:03:15 +0000 (12:03 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 16 Feb 2023 11:03:15 +0000 (12:03 +0100)
commitfa15072b650a1a90f811239f86fcbe081691a058
treefc700d1d3aa8d4e6fb916103ef515bd0cfd362d6
parente9ab2559e2c501593c58a02a956a6005a2a749fb
parent3b6096c9b30b9d65d09f9f4ee5f473c8c28f45d0
Merge branch 'sfc-devlink-support-for-ef100'

Alejandro Lucero says:

====================
sfc: devlink support for ef100

This patchset adds devlink port support for ef100 allowing setting VFs
mac addresses through the VF representor devlink ports.

Basic devlink infrastructure is first introduced, then support for info
command. Next changes for enumerating MAE ports which will be used for
devlink port creation when netdevs are registered.

Adding support for devlink port_function_hw_addr_get requires changes in
the ef100 driver for getting the mac address based on a client handle.
This allows to obtain VFs mac addresses during netdev initialization as
well what is included in patch 6.

Such client handle is used in patches 7 and 8 for getting and setting
devlink port addresses.
====================

Link: https://lore.kernel.org/r/20230215090828.11697-1-alejandro.lucero-palau@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>