Re: [PATCH net-next v9 5/6] page_pool: update document about frag API
From: Dima Tisnek
Date: Wed Sep 20 2023 - 21:02:32 EST
Minor comment on natural language:
On Wed, Sep 20, 2023 at 9:04 PM Yunsheng Lin <linyunsheng@xxxxxxxxxx> wrote:
>
> As more drivers begin to use the frag API, update the
> document about how to decide which API to use for the
> driver author.
the fragment API
> +/**
> + * page_pool_dev_alloc_frag() - allocate a page frag.
allocate a page fragment.
the precedent is set in
https://www.kernel.org/doc/html/v5.0/vm/page_frags.html
foo_frag is used in C code, and foo fragment in English docs.