summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2022-11-18 15:08:33 +0200
committerOded Gabbay <ogabbay@kernel.org>2022-11-23 16:44:02 +0200
commit56fb517775f4d71dbca2b1fb3562276138361072 (patch)
tree33241b54dc4fb5b41b399b464bf63c63f77dbdb2 /net/packet
parent6825b5f81f273fcc1ec61e7e203b0ea40d9987fc (diff)
downloadlinux-56fb517775f4d71dbca2b1fb3562276138361072.tar.bz2
habanalabs: fix rc when new CPUCP opcodes are not supported
When the new CPUCP opcodes are not supported and a CPUCP packet fails, the return value is the F/W error resposone which is a positive value. If this packet is sent from IOCTL and the positive value is used, the ICOTL will not be considered as unsuccessful. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions