[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKGz4vLMOQJe6QctPs6Y83ddpS2MFBWLG_VOQHsfZ-uog@mail.gmail.com>
Date: Wed, 22 Nov 2023 09:57:52 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pabeni@...hat.com,
almasrymina@...gle.com, hawk@...nel.org, ilias.apalodimas@...aro.org,
dsahern@...il.com, dtatulea@...dia.com, willemb@...gle.com
Subject: Re: [PATCH net-next v3 04/13] net: page_pool: stash the NAPI ID for
easier access
On Wed, Nov 22, 2023 at 4:44 AM Jakub Kicinski <kuba@...nel.org> 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@...nel.org>
> ---
Interesting... I have a patch to speedup dev_get_by_napi_id(), I will
send it today.
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists