test_macos_xdma_hardware¶
Attributes¶
Functions¶
|
Two device addresses this test may overwrite. Which memory is free to |
|
The H2C and C2H engines share the dext's one descriptor ring. Two |
Module Contents¶
- test_macos_xdma_hardware.pytestmark¶
- test_macos_xdma_hardware.test_macos_xdma_hardware_discovers_dau_identity() None¶
- test_macos_xdma_hardware._scratch_addresses() tuple[int, int]¶
Two device addresses this test may overwrite. Which memory is free to clobber is board geometry, so it comes from the bench, not from here.
- test_macos_xdma_hardware.test_concurrent_transfers_on_both_engines_round_trip() None¶
The H2C and C2H engines share the dext’s one descriptor ring. Two threads each write a pattern and read it back, so their transfers interleave across both engines; any transfer that ran on a chain the other thread rewrote returns the wrong bytes or fails.