]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27fc51a5d33667ecb798ce74520b179e7c603e62
treee7edda4cac03728445665c5963bc0478fbd1b721
parent48cf7d576795580e81a02b224a3af5fb8292a22e
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 c62c281f3d6c ("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