Skip to content

Compatibility of Xilinx QDMA Linux Driver with OpenNIC Shell – "Zero Qs" Issue #68

@nehalbaganal

Description

@nehalbaganal

Hello,

I'm currently working with the OpenNIC shell and trying to interface with the QDMA subsystem using Xilinx’s official QDMA Linux driver (dma_ip_drivers/QDMA/linux-kernel). I am encountering issues related to queue configuration and would appreciate your insights on compatibility and expected behavior.

What works
Driver loads successfully (qdma-pf bound to the PFs).
dma-ctl shows the QDMA devices:

./dma-ctl dev list
qdmac1000 0000:c1:00.0 max QP: 0, -~-
qdmac1001 0000:c1:00.1 max QP: 0, -~-

Device capabilities are detected correctly:

./dma-ctl qdmac1000 cap
Total number of queues supported: 512
MM enabled: yes
ST enabled: yes

What Fails

When attempting to add a queue:
./dma-ctl qdmac1000 q add idx 0 mode mm dir c2h
I consistently get the message:
Zero Qs

And listing queues shows none configured:

./dma-ctl qdmac1000 q list 0 1
Zero Qs

Is the official Xilinx QDMA Linux driver (dma_ip_drivers/QDMA/linux-kernel) expected to be compatible with the OpenNIC shell?
If yes, how is this compatibility achieved, and what steps are required on the software side (e.g., driver, device nodes, netdev registration) to ensure queue setup works correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions