aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiawen Wu <jiawenwu@trustnetic.com>2026-06-08 15:08:41 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-06-11 10:55:14 +0200
commitf2df54ddbfb04a006ee326a5d8270434a414e0af (patch)
treec324685962425d4260e8e82d6284466bf54d671f /tools/perf/scripts/python/stackcollapse.py
parent0487cfca46517ff6699c72dc1a8872b0af3c31a9 (diff)
net: txgbe: distinguish module types by checking identifier
Rework txgbe_identify_module() to validate module identifiers through explicit type checks instead of relying on transceiver_type heuristics. When using the SFP module, transceiver_type could be a random value, because it was read from an invalid register. Fixes: 57d39faed4c9 ("net: txgbe: improve functions of AML 40G devices") Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Link: https://patch.msgid.link/20260608070842.36504-3-jiawenwu@trustnetic.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions