Message ID | cover.1628933864.git.leonro@nvidia.com (mailing list archive) |
---|---|
Headers | show |
Series | Devlink cleanup for delay event series | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Sat, 14 Aug 2021 12:57:25 +0300 you wrote: > From: Leon Romanovsky <leonro@nvidia.com> > > Hi, > > Jakub's request to make sure that devlink events are delayed and not > printed till they fully accessible [1] requires us to implement delayed > event notification system in the devlink. > > [...] Here is the summary with links: - [net-next,1/6] devlink: Simplify devlink_pernet_pre_exit call https://git.kernel.org/netdev/net-next/c/cbf6ab672eb4 - [net-next,2/6] devlink: Remove check of always valid devlink pointer https://git.kernel.org/netdev/net-next/c/7ca973dc9fe5 - [net-next,3/6] devlink: Count struct devlink consumers https://git.kernel.org/netdev/net-next/c/437ebfd90a25 - [net-next,4/6] devlink: Use xarray to store devlink instances https://git.kernel.org/netdev/net-next/c/11a861d767cd - [net-next,5/6] devlink: Clear whole devlink_flash_notify struct https://git.kernel.org/netdev/net-next/c/ed43fbac7178 - [net-next,6/6] net: hns3: remove always exist devlink pointer check https://git.kernel.org/netdev/net-next/c/a1fcb106ae97 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Leon Romanovsky <leonro@nvidia.com> Hi, Jakub's request to make sure that devlink events are delayed and not printed till they fully accessible [1] requires us to implement delayed event notification system in the devlink. In order to do it, I moved some of my patches (xarray e.t.c) from the future series to be before "Move devlink_register to be near devlink_reload_enable" [2]. That allows us to rely on DEVLINK_REGISTERED xarray mark to decide if to print event or not. Other patches are simple cleanup which is needed anyway. [1] https://lore.kernel.org/lkml/20210811071817.4af5ab34@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com [2] https://lore.kernel.org/lkml/cover.1628599239.git.leonro@nvidia.com Next in the queue: * Delay event series * Move devlink_register to be near devlink_reload_enable" * Extension of devlink_ops to be set dynamically * devlink_reload_* delete * Devlink locks rework to user xarray and reference counting * ???? Thanks Leon Romanovsky (6): devlink: Simplify devlink_pernet_pre_exit call devlink: Remove check of always valid devlink pointer devlink: Count struct devlink consumers devlink: Use xarray to store devlink instances devlink: Clear whole devlink_flash_notify struct net: hns3: remove always exist devlink pointer check .../hisilicon/hns3/hns3pf/hclge_devlink.c | 8 +- .../hisilicon/hns3/hns3vf/hclgevf_devlink.c | 8 +- include/net/devlink.h | 4 +- net/core/devlink.c | 391 ++++++++++++------ 4 files changed, 273 insertions(+), 138 deletions(-)