Subject: Re: [PATCH net-next 6/6] devlink: pass devlink_port to port_split / port_unsplit callbacks

From: Ido Schimmel <[email-masked]>
Date: Tue, 15 Mar 2022 10:32:08 +0200

On Mon, Mar 14, 2022 at 11:00:09PM -0700, Jakub Kicinski wrote:
> 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.
> 
> Signed-off-by: Jakub Kicinski <[email-masked]>

Reviewed-by: Ido Schimmel <[email-masked]>
Tested-by: Ido Schimmel <[email-masked]>