demikernel icon indicating copy to clipboard operation
demikernel copied to clipboard

[runtime] I/O Descriptors Table Should Store Structured Information on I/O Queues

Open ppenna opened this issue 2 years ago • 0 comments

Context

Currently in the I/O queue descriptors table we store raw information on I/O queues.

For instance, we currently store I/O Queue types as u32: https://github.com/demikernel/demikernel/blob/d7db6e2ebc7933643af372d117fe470e748e0294/src/rust/runtime/queue/mod.rs#L30-L33

While functional, this may enable erroneous information to be inserted into the table.

Proposed Solution

We should store structured information on the I/O queue descriptors table.

ppenna avatar Oct 05 '22 13:10 ppenna