Re: [PATCH net-next v3 04/13] net: page_pool: stash the NAPI ID for easier access
From: Eric Dumazet <edumazet@google.com> Date: 2023-11-22 08:58:05
On Wed, Nov 22, 2023 at 4:44 AM Jakub Kicinski [off-list ref] wrote:
To avoid any issues with race conditions on accessing napi
and having to think about the lifetime of NAPI objects
in netlink GET - stash the napi_id to which page pool
was linked at creation time.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
Interesting... I have a patch to speedup dev_get_by_napi_id(), I will
send it today.
Reviewed-by: Eric Dumazet <edumazet@google.com>