diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-26 15:07:31 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-11-28 15:48:39 +0100 |
commit | 02b3de80c5f879f92e5f4bb3f535d172e0fc0ea0 (patch) | |
tree | db3a33025453778ddac1a6c5e2e93214c8db180e /include/net/netdev_rx_queue.h | |
parent | 083772c9f972dcc248913b52a0dec1025baa1e16 (diff) |
net: page_pool: stash the NAPI ID for easier access
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.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/net/netdev_rx_queue.h')
0 files changed, 0 insertions, 0 deletions