diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2026-06-11 10:55:15 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-06-11 10:55:16 +0200 |
| commit | 0068940907d33217ae01217f84910a5cde606c17 (patch) | |
| tree | aa2ce14e471e9d7d586d306e7e1cad4466719489 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b59873c9c40d0cbc16df86cf6cb5430330a0ac74 (diff) | |
| parent | 47f848aac4e79bdb197f849fa86e71fff1ad36ef (diff) | |
Merge branch 'net-txgbe-fix-module-identification'
Jiawen Wu says:
====================
net: txgbe: fix module identification
For AML devices, there are some issues where the wrong module
indentified then configure PHY failed.
The module info buffers should be initialized to 0 before the firmware
returns information. And DECLARE_PHY_INTERFACE_MASK() does not guarantee
zeroed contents, so explicitly clear the temporary interface masks before
setting supported interfaces.
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.
====================
Link: https://patch.msgid.link/20260608070842.36504-1-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
