aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorBodong Wang <[email protected]>2019-01-29 21:48:31 -0600
committerSaeed Mahameed <[email protected]>2019-02-15 17:25:57 -0800
commitf121e0ea9586b2c937bf1ff9a0b682dc6424ce1d (patch)
tree76cb5a569231bb309c2f4050f84576397f790ba7 /tools/perf/scripts/python/compaction-times.py
parent879c8f84e3602961e441723aaaac372a44dfe588 (diff)
net/mlx5: E-Switch, Add state to eswitch vport representors
Currently the eswitch vport reps have a valid indicator, which is set on register and unset on unregister. However, a rep can be loaded or not loaded when doing unregister, current driver checks if the vport of that rep is enabled as a flag to imply the rep is loaded. However, for ECPF, this is not valid as the host PF will enable the vports for its VFs instead. Add three states: {unregistered, registered, loaded}, with the following state changes across different operations: create: (none) -> unregistered reg: unregistered -> registered load: registered -> loaded unload: loaded -> registered unreg: registered -> unregistered Note that the state shall only be updated inside eswitch driver rather than individual drivers such as ETH or IB. Signed-off-by: Bodong Wang <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Suggested-by: Mark Bloch <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions