diff options
author | Michal Swiatkowski <[email protected]> | 2024-08-20 08:57:53 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-09-06 11:01:24 -0700 |
commit | 415db8399d06a45ebd7b7d26b951f831a4b01801 (patch) | |
tree | e0367ea34acd2c0d5c58f9f9305c10166ef100a6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8f9b681adb4437c8b2d1ad998d66b79558bc900a (diff) |
ice: make representor code generic
Keep the same flow of port representor creation, but instead of general
attach function create helpers for specific representor type.
Store function pointer for add and remove representor.
Type of port representor can be also known based on VSI type, but it
is more clean to have it directly saved in port representor structure.
Add devlink lock for whole port representor creation and destruction.
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions