Skip to content

How to test zcrx without specialized hardware? #1527

@wokron

Description

@wokron

I would like to integrate the zcrx feature into my project. However, the requirement for specialized hardware makes it difficult to develop and test based on zcrx.

From the mailing list, I found that io_uring has been working on using netdevsim as a test device for quite some time. However, after testing, I found that zcrx still does not support netdevsim devices.

My test environment:

  • qemu-system-x86_64 8.2.2
  • Linux Kernel 6.18.4

During debugging, I found that the problem lies in the kernel function netdev_queue_get_dma_dev returning NULL. This seems to indicate that netdevsim does not support DMA operations.

I would like to ask: am I using it incorrectly, or does netdevsim indeed not support zcrx yet? If it is not supported, is there any way to test zcrx without specialized hardware? This would make development and testing (especially CI integration) much more convenient.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions