diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-14 23:00:09 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-16 12:56:45 -0700 |
commit | 706217c1ceb516c96283a1557a31fe003d0c8052 (patch) | |
tree | 765804a5cfb6868ff577cd56e44b1a6c823f3d72 /.get_maintainer.ignore | |
parent | 49e83bbe8cc32e197fccf4f617b3fa2fedc27a23 (diff) |
devlink: pass devlink_port to port_split / port_unsplit callbacks
Now that devlink ports are protected by the instance lock
it seems natural to pass devlink_port as an argument to
the port_split / port_unsplit callbacks.
This should save the drivers from doing a lookup.
In theory drivers may have supported unsplitting ports
which were not registered prior to this change.
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions