net: devlink: stub port params cmds for they are unused internally
Subsystems (3)
Jiri Pirko
maintainerPATCH v2 1/1 net: devlink: stub port params cmds for they are unused internally
From: Jiri Pirko <[email protected]>
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.
---v1->v2:
- added extack message filling to dumpit()
- added Jakub's rvb tag
--- include/net/devlink.h | 1 - net/core/devlink.c | 78 +++---------------------------------------- 2 files changed, 5 insertions(+), 74 deletions(-)
include/net/devlink.h +0 -1
@@ -118,7 +118,6 @@ struct devlink_rate {struct devlink_port {struct list_head list; -struct list_head param_list;struct list_head region_list;struct devlink *devlink;unsigned int index;
net/core/devlink.c +5 -73
101 lines not on this page · raw message
Signature · 1 line
2.37.1
This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:
Quoted 8 lines · On Fri, 26 Aug 2022 10:27:30 +0200 you wrote:
From: Jiri Pirko <[email protected]>
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.[...]
Here is the summary with links:
- [net-next,v2] net: devlink: stub port params cmds for they are unused internally
https://git.kernel.org/netdev/net-next/c/146ecbac1d32
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html