OSDN Git Service

net: devlink: stub port params cmds for they are unused internally
authorJiri Pirko <jiri@nvidia.com>
Fri, 26 Aug 2022 08:27:30 +0000 (10:27 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Aug 2022 11:19:47 +0000 (13:19 +0200)
commit146ecbac1d327e7ed2153cfb3ef880166dc2b312
treee7edda4cac03728445665c5963bc0478fbd1b721
parent4b7477f0921a2dc9594b6bb0c893e79169c6e829
net: devlink: stub port params cmds for they are unused internally

Follow-up the removal of unused internal api of port params made by
commit 42ded61aa75e ("devlink: Delete not used port parameters APIs")
and stub the commands and add extack message to tell the user what is
going on.

If later on port params are needed, could be easily re-introduced,
but until then it is a dead code.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20220826082730.1399735-1-jiri@resnulli.us
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/devlink.h
net/core/devlink.c