Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH 0/3] ice devlink updates
@ 2020-08-19 21:58 Jacob Keller
  2020-08-19 21:58 ` [Intel-wired-lan] [PATCH 1/3] ice: Change ice_info_get_dsn to be void Jacob Keller
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jacob Keller @ 2020-08-19 21:58 UTC (permalink / raw)
  To: intel-wired-lan

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
-- 
2.28.0.218.ge27853923b9d.dirty


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-27  1:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-19 21:58 [Intel-wired-lan] [PATCH 0/3] ice devlink updates Jacob Keller
2020-08-19 21:58 ` [Intel-wired-lan] [PATCH 1/3] ice: Change ice_info_get_dsn to be void Jacob Keller
2020-08-26 23:51   ` Brown, Aaron F
2020-08-19 21:58 ` [Intel-wired-lan] [PATCH 2/3] ice: add the DDP Track ID to devlink info Jacob Keller
2020-08-27  1:32   ` Brown, Aaron F
2020-08-19 21:58 ` [Intel-wired-lan] [PATCH 3/3] ice: refactor devlink_port to be per-VSI Jacob Keller
2020-08-27  1:33   ` Brown, Aaron F

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox