Skip to content

Conversation

@citrus-it
Copy link
Contributor

No description provided.

@citrus-it citrus-it marked this pull request as ready for review January 8, 2026 22:00
Copy link
Contributor

@dancrossnyc dancrossnyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been using this quite a bit for some time to debug the multiqueue implementation as we've been developing it. It's been very valuable, and works well.

Copy link
Member

@iximeow iximeow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! noticed a few things, but clearly this is useful as-is.

}

viona_ioctl:entry/arg1 == VNA_IOC_GET_FEATURES/ {
self->pending = arg1;;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
self->pending = arg1;;
self->pending = arg1;

Comment on lines +145 to +151
viona_ioctl:return/self->pending == VNA_IOC_INTR_POLL_MQ/ {
self->pending = 0;
intrp = (vioc_intr_poll_mq_t *)copyin(self->dptr,
sizeof (vioc_intr_poll_mq_t));
printf("INTR_POLL %x set (0x%08x)\n", *self->rvp,
intrp->vipm_status[0]);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the return code for VNA_IOC_INTR_POLL_MQ interesting? we've not set self->cmd so the blanket viona_ioctl/self->cmd && arg1/ at the bottom wouldn't say anything.

Comment on lines +246 to +249
viona_ioctl:return/self->cmd != 0 && arg1 != 0/ {
printf("ioctl(%s) returning 0x%x\n", self->cmd, arg1);
self->cmd = 0;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be interesting to print errno if arg1 == -1 yeah? presumably you have not had to care about that in working on multiqueue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants