devlink: bring port new reply back
authorJiri Pirko <jiri@nvidia.com>
Wed, 31 May 2023 14:20:25 +0000 (16:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 Jun 2023 04:37:32 +0000 (21:37 -0700)
commit5ff9424ea03a1fce2298b271eec1dad5ff4df1be
treec5c10c61b1c80ce24c07080efd572b6e635f1b4b
parenta03a91bd68cb00c615e602cf605e6be12bedaa90
devlink: bring port new reply back

In the offending fixes commit I mistakenly removed the reply message of
the port new command. I was under impression it is a new port
notification, partly due to the "notify" in the name of the helper
function. Bring the code sending reply with new port message back, this
time putting it directly to devlink_nl_cmd_port_new_doit()

Fixes: c496daeb8630 ("devlink: remove duplicate port notification")
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230531142025.2605001-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/sf/sf.h
include/net/devlink.h
net/devlink/leftover.c