diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2023-10-20 11:59:51 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-24 04:14:49 +0200 |
commit | 8ab32fa1c7947f4807b1d98af2d411a2587bb841 (patch) | |
tree | 9357d7510e6044668db0a6ff6ac51bb72064c8ff /Documentation/networking | |
parent | page_pool: introduce page_pool_alloc() API (diff) | |
download | linux-8ab32fa1c7947f4807b1d98af2d411a2587bb841.tar.xz linux-8ab32fa1c7947f4807b1d98af2d411a2587bb841.zip |
page_pool: update document about fragment API
As more drivers begin to use the fragment API, update the
document about how to decide which API to use for the
driver author.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
CC: Lorenzo Bianconi <lorenzo@kernel.org>
CC: Alexander Duyck <alexander.duyck@gmail.com>
CC: Liang Chen <liangchen.linux@gmail.com>
CC: Alexander Lobakin <aleksander.lobakin@intel.com>
CC: Dima Tisnek <dimaqq@gmail.com>
Link: https://lore.kernel.org/r/20231020095952.11055-5-linyunsheng@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/page_pool.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/networking/page_pool.rst b/Documentation/networking/page_pool.rst index 215ebc92752c..60993cb56b32 100644 --- a/Documentation/networking/page_pool.rst +++ b/Documentation/networking/page_pool.rst @@ -58,7 +58,9 @@ a page will cause no race conditions is enough. .. kernel-doc:: include/net/page_pool/helpers.h :identifiers: page_pool_put_page page_pool_put_full_page - page_pool_recycle_direct page_pool_dev_alloc_pages + page_pool_recycle_direct page_pool_free_va + page_pool_dev_alloc_pages page_pool_dev_alloc_frag + page_pool_dev_alloc page_pool_dev_alloc_va page_pool_get_dma_addr page_pool_get_dma_dir .. kernel-doc:: net/core/page_pool.c |