aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBaruch Siach <[email protected]>2023-11-13 19:42:50 +0200
committerJakub Kicinski <[email protected]>2023-11-14 19:48:03 -0800
commitb6cb4541853c7ee512111b0e7ddf3cb66c99c137 (patch)
tree10fb2588097cbe8ba8dff158ff083d325e3a4211 /tools/perf/scripts/python/stackcollapse.py
parentfa02de9e75889915b554eda1964a631fd019973b (diff)
net: stmmac: avoid rx queue overrun
dma_rx_size can be set as low as 64. Rx budget might be higher than that. Make sure to not overrun allocated rx buffers when budget is larger. Leave one descriptor unused to avoid wrap around of 'dirty_rx' vs 'cur_rx'. Signed-off-by: Baruch Siach <[email protected]> Reviewed-by: Serge Semin <[email protected]> Fixes: 47dd7a540b8a ("net: add support for STMicroelectronics Ethernet controllers.") Link: https://lore.kernel.org/r/d95413e44c97d4692e72cec13a75f894abeb6998.1699897370.git.baruch@tkos.co.il Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions