Skip to content

net: devlink: move reload fail indication to devlink core and expose to user

Jiri Pirko netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mlx4: Split restart_one into two functionsdrivers/net/ethernet/mellanox/mlx4/catas.c drivers/net/ethernet/mellanox/mlx4/main.c drivers/net/ethernet/mellanox/mlx4/mlx4.h+23 -70 replies
2/3net: devlink: split reload op into twodrivers/net/ethernet/mellanox/mlx4/main.c drivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/netdevsim/dev.c +2 more+56 -160 replies
3/3net: devlink: move reload fail indication to devlink core and expose to userdrivers/net/ethernet/mellanox/mlxsw/core.c include/net/devlink.h include/uapi/linux/devlink.h +1 more+30 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [patch net-next v3 0/3] net: devlink: move reload fail indication to devlink core and expose to user

From: Jiri Pirko <[email protected]>

First two patches are dependencies of the last one. That moves devlink reload failure indication to the devlink code, so the drivers do not have to track it themselves. Currently it is only mlxsw, but I will send a follow-up patchset that introduces this in netdevsim too.

Jiri Pirko (3):
mlx4: Split restart_one into two functions
net: devlink: split reload op into two
net: devlink: move reload fail indication to devlink core and expose
to user

 drivers/net/ethernet/mellanox/mlx4/catas.c |  2 +-
 drivers/net/ethernet/mellanox/mlx4/main.c  | 44 ++++++++++++++++++----
 drivers/net/ethernet/mellanox/mlx4/mlx4.h  |  3 +-
 drivers/net/ethernet/mellanox/mlxsw/core.c | 30 +++++++++------
 drivers/net/netdevsim/dev.c                | 13 +++++--
 include/net/devlink.h                      |  8 +++-
 include/uapi/linux/devlink.h               |  2 +
 net/core/devlink.c                         | 35 +++++++++++++++--
 8 files changed, 106 insertions(+), 31 deletions(-)
Signature · 1 line
2.21.0