summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-10-15 17:10:56 +0100
committerJakub Kicinski <kuba@kernel.org>2025-10-16 15:58:22 -0700
commit07d91ec99a8a37d9b9f6d8ec3f16b97622a74893 (patch)
tree6afd4e5203794d2583fb3085bff99a252ea3cbc8 /tools/perf/scripts/python/stackcollapse.py
parente82c64be9b45a1fec556c8fbd35f30ccaf852b6a (diff)
net: stmmac: rearrange tc_init()
To make future changes easier, rearrange the use of dma_cap->l3l4fnum vs priv->flow_entries_max. Always initialise priv->flow_entries_max from dma_cap->l3l4fnum, then use priv->flow_entries_max to determine whether we allocate priv->flow_entries and set it up. This change is safe because tc_init() is only called once from stmmac_dvr_probe(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1v945Y-0000000Ameb-2gDI@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