summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-14 09:43:00 +0000
committerJakub Kicinski <kuba@kernel.org>2026-03-17 20:32:08 -0700
commit0b3d090314372055e0c5544be1f781e988859198 (patch)
treef0b4f8501fe6e3ac507ad9dfeed1ae7f0fc08352 /tools/perf/scripts/python/stackcollapse.py
parentbea37bda7f75c552e0ddddec2d04c3c7c6222208 (diff)
net: stmmac: use consistent tests for receive buffer size
Two out of the three sites that set the receive buffer size (via stmmac_set_dma_bfsize()) check for rx_q->xsk_pool && rx_q->buf_alloc_num. One uses just rx_q->xsk_pool. Discussing with Yoong Siang Song, the conclusion is that stmmac_dma_operation_mode() is missing the rx_q->buf_alloc_num check. Add this check. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w1LWO-0000000DGSR-3CaB@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions