-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
17 changed files
with
1,359 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,3 +66,4 @@ parameters, info versions, and other features it supports. | |
prestera | ||
iosm | ||
octeontx2 | ||
sfc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
=================== | ||
sfc devlink support | ||
=================== | ||
|
||
This document describes the devlink features implemented by the ``sfc`` | ||
device driver for the ef100 device. | ||
|
||
Info versions | ||
============= | ||
|
||
The ``sfc`` driver reports the following versions | ||
|
||
.. list-table:: devlink info versions implemented | ||
:widths: 5 5 90 | ||
|
||
* - Name | ||
- Type | ||
- Description | ||
* - ``fw.mgmt.suc`` | ||
- running | ||
- For boards where the management function is split between multiple | ||
control units, this is the SUC control unit's firmware version. | ||
* - ``fw.mgmt.cmc`` | ||
- running | ||
- For boards where the management function is split between multiple | ||
control units, this is the CMC control unit's firmware version. | ||
* - ``fpga.rev`` | ||
- running | ||
- FPGA design revision. | ||
* - ``fpga.app`` | ||
- running | ||
- Datapath programmable logic version. | ||
* - ``fw.app`` | ||
- running | ||
- Datapath software/microcode/firmware version. | ||
* - ``coproc.boot`` | ||
- running | ||
- SmartNIC application co-processor (APU) first stage boot loader version. | ||
* - ``coproc.uboot`` | ||
- running | ||
- SmartNIC application co-processor (APU) co-operating system loader version. | ||
* - ``coproc.main`` | ||
- running | ||
- SmartNIC application co-processor (APU) main operating system version. | ||
* - ``coproc.recovery`` | ||
- running | ||
- SmartNIC application co-processor (APU) recovery operating system version. | ||
* - ``fw.exprom`` | ||
- running | ||
- Expansion ROM version. For boards where the expansion ROM is split between | ||
multiple images (e.g. PXE and UEFI), this is the specifically the PXE boot | ||
ROM version. | ||
* - ``fw.uefi`` | ||
- running | ||
- UEFI driver version (No UNDI support). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.