[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y43BIXPBAikNiGRH@nanopsycho>
Date: Mon, 5 Dec 2022 11:00:01 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Leon Romanovsky <leon@...nel.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, yangyingliang@...wei.com
Subject: Re: [patch net-next RFC 0/7] devlink: make sure devlink port
registers/unregisters only for registered instance
Sun, Dec 04, 2022 at 12:35:37PM CET, leon@...nel.org wrote:
>On Thu, Dec 01, 2022 at 05:46:01PM +0100, Jiri Pirko wrote:
>> From: Jiri Pirko <jiri@...dia.com>
>
><...>
>
>> Jiri Pirko (7):
>> devlink: Reorder devlink_port_register/unregister() calls to be done
>> when devlink is registered
>> netdevsim: Reorder devl_port_register/unregister() calls to be done
>> when devlink is registered
>> mlxsw: Reorder devl_port_register/unregister() calls to be done when
>> devlink is registered
>> nfp: Reorder devl_port_register/unregister() calls to be done when
>> devlink is registered
>> mlx4: Reorder devl_port_register/unregister() calls to be done when
>> devlink is registered
>> mlx5: Reorder devl_port_register/unregister() calls to be done when
>> devlink is registered
>> devlink: assert if devl_port_register/unregister() is called on
>> unregistered devlink instance
>
>Thanks, it is more clear now what you wanted.
>Everything here looks ok, but can you please find better titles for the
>commit messages? They are too long.
Okay, will try.
>
>Not related to the series, but spotted during the code review,
>It will be nice if you can get rid of devlink_port->registered and rely
>xarray marks for that. It will be cleaner and aligned with devlink object.
Okay, will look into it and address in a separate patch/patchset.
Thanks!
>
>Thanks
Powered by blists - more mailing lists