aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorTal Cohen <[email protected]>2020-06-03 09:25:27 +0300
committerOded Gabbay <[email protected]>2020-11-30 10:47:29 +0200
commit4bb1f2f3fb31ed60a23064a8fc4d5ecde5d1002d (patch)
tree731f8eb147c9746ad2f32701393cee1823ed8670 /tools/perf/scripts/python/powerpc-hcalls.py
parent3c68157fb829a1b1c9615a6a78179a664602f96a (diff)
habanalabs: use enum for CB allocation options
In the future there will be situations where queues can accept either kernel allocated CBs or user allocated CBs, depending on different states. Therefore, instead of using a boolean variable of kernel/user allocated CB, we need to use a bitmask to indicate that, which will allow to combine the two options. Add a flag to the uapi so the user will be able to indicate whether the CB was allocated by kernel or by user. Of course the driver validates that. Signed-off-by: Tal Cohen <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions