[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d18db808-a5d5-41a3-a26a-7b5afe045e19@kernel.org>
Date: Wed, 22 Nov 2023 15:21:17 +0100
From: Jesper Dangaard Brouer <hawk@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
almasrymina@...gle.com, 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 11/22/23 04:44, Jakub Kicinski 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>
> ---
> include/net/page_pool/types.h | 1 +
> net/core/page_pool_user.c | 4 +++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
Acked-by: Jesper Dangaard Brouer <hawk@...nel.org>
Powered by blists - more mailing lists