diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-10-19 11:13:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-10-21 20:36:07 +0300 |
| commit | 568a3fa24a95476d40afe3f8616bafb543bc4182 (patch) | |
| tree | bf381a925b0318994bf925d83e4324e8ac2541af /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ff519e2acd463bff6c5bb4e8d7ed350c9bae885b (diff) | |
| download | linux-568a3fa24a95476d40afe3f8616bafb543bc4182.tar.xz | |
net: mvneta: introduce page pool API for sw buffer manager
Use the page_pool api for allocations and DMA handling instead of
__dev_alloc_page()/dma_map_page() and free_page()/dma_unmap_page().
Pages are unmapped using page_pool_release_page before packets
go into the network stack.
The page_pool API offers buffer recycling capabilities for XDP but
allocates one page per packet, unless the driver splits and manages
the allocated page.
This is a preliminary patch to add XDP support to mvneta driver
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
