diff options
author | Vasant Hegde <[email protected]> | 2023-09-21 09:21:37 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-09-25 12:39:01 +0200 |
commit | bac05772fa9912195b2029ab757fe86773c7ff00 (patch) | |
tree | 7158b3cb89b5b34e5edd397f57c79ebe7650d905 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ba7d263b7749f8e7f227d7357963632711b5c6ea (diff) |
iommu/amd: Refactor protection domain allocation code
To replace if-else with switch-case statement due to increasing number of
domain types.
No functional changes intended.
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions