Message ID | 20230922091138.18014-1-linyunsheng@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | introduce page_pool_alloc() related API | expand |
On Fri, 22 Sep 2023 17:11:32 +0800 Yunsheng Lin wrote: > In [1] & [2] & [3], there are usecases for veth and virtio_net > to use frag support in page pool to reduce memory usage, and it > may request different frag size depending on the head/tail > room space for xdp_frame/shinfo and mtu/packet size. When the > requested frag size is large enough that a single page can not > be split into more than one frag, using frag support only have > performance penalty because of the extra frag count handling > for frag support. > > So this patchset provides a page pool API for the driver to > allocate memory with least memory utilization and performance > penalty when it doesn't know the size of memory it need > beforehand. Could you rebase & repost? Patches no longer apply :(
On 2023/10/11 23:36, Jakub Kicinski wrote: > > Could you rebase & repost? Patches no longer apply :( Sure. As another fix which is conflit with this patchset is just merged in the net branch, will wait for that to land in the net-next branch before rebasing & reposting, thanks. https://lore.kernel.org/all/20231010034842.3807816-1-rkannoth@marvell.com/#r