summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait.rb@renesas.com>2026-09-28 20:34:37 +0000
committerJakub Kicinski <kuba@kernel.org>2026-10-05 16:36:41 -0700
commit11705541e7d421706a54f7f6ead8a3316c91c2bc (patch)
tree727dae4e1c7dcd99ccbd857f5a8e0e90dcc6c863 /tools/perf/scripts/python/stackcollapse.py
parente3f33b0a1d89d738e2b913dab519226eaf76e15b (diff)
downloadlinux-11705541e7d421706a54f7f6ead8a3316c91c2bc.tar.gz
linux-11705541e7d421706a54f7f6ead8a3316c91c2bc.zip
net: stmmac: Remove VLAN perfect matching dead code
stmmac_vlan_update() falls back to "perfect matching" when the VLAN hash filter is unavailable (!priv->dma_cap.vlhash). This fallback has been unreachable in normal operation since its introduction in commit c7ab0b8088d7 ("net: stmmac: Fallback to VLAN Perfect filtering if HASH is not available") because the NETIF_F_HW_VLAN_{CTAG,STAG}_FILTER features are advertised only when priv->dma_cap.vlhash is true. The fallback is also duplicating the code in vlan_add_hw_rx_fltr(), which is always available since stmmac_get_num_vlan() returns at least 1. Therefore, remove it. Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20260928203441.34876-2-ovidiu.panait.rb@renesas.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions