ice devlink updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ice: Change ice_info_get_dsn to be voiddrivers/ | +2 | 1 reply | |
| 2/3 | ice: add the DDP Track ID to devlink infoDocumentation/ drivers/ | +13 | 1 reply | |
| 3/3 | ice: refactor devlink_port to be per-VSIdrivers/ drivers/ drivers/ +2 more | +45 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Aaron Brown |
|---|---|
| 1/3 | T-b |
| 2/3 | T-b |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [PATCH 0/3] ice devlink updates
This series includes a couple of minor cleanups in ice_devlink.c
First, Ani converts ice_info_get_dsn into a void function, as it always returns success and does not need to conform to the factory pattern of the other info reporting functions.
Second, Jake adds reporting of the DDP Track ID for the DDP package to devlink info. The track ID is indicated as a bundle_id which refers to the tracking identifier for the DDP package. This is similar to the fw.bundle_id which refers to the main firmware block. This track ID is useful as the DDP version alone is not enough to uniquely identify the DDP package.
Finally, Jake refactored the devlink_port to be tracked by the ice_vsi structure instead of ice_pf. Doing so helps avoid some cleanup ordering issues that resulted in possibly calling devlink_port_unregister twice, or for a devlink_port that was never registered. Additionally, this paves the way for a future addition of devlink_port for virtual functions and other types of ports besides the main PF port.
Anirudh Venkataramanan (1):
ice: Change ice_info_get_dsn to be void
Jacob Keller (2):
ice: add the DDP Track ID to devlink info
ice: refactor devlink_port to be per-VSI
Documentation/networking/devlink/ice.rst | 5 ++ drivers/net/ethernet/intel/ice/ice.h | 7 +- drivers/net/ethernet/intel/ice/ice_devlink.c | 72 ++++++++++++-------- drivers/net/ethernet/intel/ice/ice_devlink.h | 4 +- drivers/net/ethernet/intel/ice/ice_lib.c | 5 +- drivers/net/ethernet/intel/ice/ice_main.c | 8 +-- 6 files changed, 60 insertions(+), 41 deletions(-)
base-commit: 94f0e130c54caede97dd62d5fec8ada4142fe68f
Signature · 1 line
2.28.0.218.ge27853923b9d.dirty