Lines Matching +full:cache +full:- +full:block
1 .. SPDX-License-Identifier: GPL-2.0
7 .. kernel-doc:: include/net/page_pool/helpers.h
13 .. code-block:: none
15 +------------------+
17 +------------------+
23 +--------------------------------------------+
25 +--------------------------------------------+
31 +-----------------------+ +------------------------+
32 | alloc (and map) pages | | get page from cache |
33 +-----------------------+ +------------------------+
36 | cache available | No entries, refill
37 | | from ptr-ring
40 +-----------------+ +------------------+
41 | Fast cache | | ptr-ring cache |
42 +-----------------+ +------------------+
53 purpose of page pool, which is allocate pages fast from cache without locking.
58 .. kernel-doc:: net/core/page_pool.c
61 .. kernel-doc:: include/net/page_pool/types.h
64 .. kernel-doc:: include/net/page_pool/helpers.h
71 .. kernel-doc:: net/core/page_pool.c
75 --------
98 pass -1 as ``dma_sync_size``. That combination of arguments is always
109 ------------------------
117 in a driver-independent fashion.
119 .. kernel-doc:: include/net/page_pool/types.h
128 ------------
130 .. code-block:: c
142 pp_params.dev = priv->dev;
156 -----------
159 .. code-block:: c
164 dma_dir = page_pool_get_dma_dir(dring->page_pool);
178 -----
180 .. code-block:: c
193 -------------
195 .. code-block:: c