aboutsummaryrefslogtreecommitdiff
path: root/driver_library/python/test/test_driver.py
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-10-12 15:32:56 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-11-06 09:36:00 +0100
commit45d47991f745094e328f32e769c22d811d397b1d (patch)
tree6963ec411fb444287fcb2c2c024604c2b26023d6 /driver_library/python/test/test_driver.py
parent8f918c6b624da4867224ba99432d70766612eb06 (diff)
downloadethos-u-linux-driver-stack-45d47991f745094e328f32e769c22d811d397b1d.tar.gz
Fix type validation in the network create UAPI
Currently, the network create UAPI will assume that any network type that isn't a buffer is an index. This means that the Linux kernel NPU driver will accept any network type value and the user won't get any feedback that they have specified an incorrect type. To resolve this, the Linux kernel NPU driver will now return -EINVAL if an unknown network type is given and a test has been added to validate this behavior. Change-Id: Ib7d9f5d5451897787981aae61a4e0a6650a73e05 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'driver_library/python/test/test_driver.py')
0 files changed, 0 insertions, 0 deletions