Jakub Kicinski 706217c1ce 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>
2022-03-16 12:56:45 -07:00
..
2022-03-07 09:48:55 +01:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:40:41 +00:00
2022-03-04 12:02:19 +00:00
2022-01-27 13:53:27 +00:00
2022-01-26 07:44:01 +01:00
2022-03-11 13:00:17 -08:00
2022-02-10 15:29:39 +00:00
2022-03-07 11:40:41 +00:00
2022-03-11 13:00:17 -08:00
2022-03-03 09:55:28 +00:00