diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2021-04-13 17:36:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-13 15:06:50 -0700 |
commit | da5ec7f22a0f1a10a5a9c3063421e73ae054649d (patch) | |
tree | d7e2cea7e04eaaad69ca173f620ae3e916180c55 /tools/perf/scripts/python/stackcollapse.py | |
parent | 80f573c995fc8e385d4aebc0ffce88f6b32bb183 (diff) |
net: stmmac: refactor stmmac_init_rx_buffers for stmmac_reinit_rx_buffers
The per-queue RX buffer allocation in stmmac_reinit_rx_buffers() can be
made to use stmmac_alloc_rx_buffers() by merging the page_pool alloc
checks for "buf->page" and "buf->sec_page" in stmmac_init_rx_buffers().
This is in preparation for XSK pool allocation 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