diff options
| author | Mark Bloch <mbloch@nvidia.com> | 2025-10-23 12:16:56 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-28 11:11:27 +0100 |
| commit | 211de28b1caf51581ba5e0978e83213db4f488c6 (patch) | |
| tree | e427fd7663a2d8f44c0c5d487e4674f5455fa2a1 /tools/perf/scripts/python | |
| parent | 0bc4059cc55d18b3e54fb6d0ed9c394f149217d8 (diff) | |
net/mlx5: Use common mlx5_same_hw_devs function
Refactor duplicate hardware device comparison code to use the common
mlx5_same_hw_devs() function instead of reimplementing system GUID
comparison logic in multiple places.
This cleanup eliminates code duplication in:
- Bridge representor device comparison.
- TC hardware device comparison.
Using the centralized function improves maintainability and ensures
consistent behavior across the driver.
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Shay Drori <shayd@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1761211020-925651-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
