diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2021-04-13 17:36:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-13 15:06:50 -0700 |
commit | 4298255f26fa91c698048e5cc79e371f3bfaf1da (patch) | |
tree | 07fda543aaca691fe8a2d38c858c5555c14cb3ad /tools/perf/scripts/python/stackcollapse.py | |
parent | ee684c325df99fe6c07c4257cf6fb74b01169d3c (diff) |
net: stmmac: rearrange RX buffer allocation and free functions
This patch restructures the per RX queue buffer allocation from page_pool
to stmmac_alloc_rx_buffers().
We also rearrange dma_free_rx_skbufs() so that it can be used in
init_dma_rx_desc_rings() during freeing of RX buffer in the event of
page_pool allocation failure to replace the more efficient method earlier.
The replacement is needed to make the RX buffer alloc and free method
scalable to XDP ZC xsk_pool alloc and free later.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions