diff options
author | 2021-04-13 17:36:20 +0800 | |
---|---|---|
committer | 2021-04-13 15:06:50 -0700 | |
commit | 4298255f26fa91c698048e5cc79e371f3bfaf1da (patch) | |
tree | 07fda543aaca691fe8a2d38c858c5555c14cb3ad /tools/perf/scripts/python | |
parent | Merge branch 'ipa-SM8350-SoC' (diff) | |
download | wireguard-linux-4298255f26fa91c698048e5cc79e371f3bfaf1da.tar.xz wireguard-linux-4298255f26fa91c698048e5cc79e371f3bfaf1da.zip |
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')
0 files changed, 0 insertions, 0 deletions