From f8764d581d69d9af389f13ef6d14b96684550bb3 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 5 Mar 2026 15:46:30 -0800 Subject: [PATCH] cndm: Check for queue allocation failures in the driver model Signed-off-by: Alex Forencich --- src/cndm/tb/cndm.py | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/src/cndm/tb/cndm.py b/src/cndm/tb/cndm.py index 5e75d99..a78088b 100644 --- a/src/cndm/tb/cndm.py +++ b/src/cndm/tb/cndm.py @@ -85,6 +85,8 @@ class Cq: self.cons_ptr = None + self.db_offset = None + self.hw_regs = self.driver.hw_regs async def open(self, irqn, size): @@ -128,6 +130,13 @@ class Cq: rsp_unpacked = struct.unpack("