aux: increase max payload size #298
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#298
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/artiq-zynq:drtioaux_bigger_packet"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Zynq equivalent of artiq#2404. Thankfully no shenanigans with Rust toolchain were necessary, so this can stay on the older version (postponing the pain, when we finally migrate the code to the main repo...).
Turns out that the work buffer isn't necessary, writer/reader can work, just not with
copy_from_slice
, that probably generates AXI bursts. No need to align/pad access in packet fields either.@ -83,2 +80,2 @@
let mut buf: [u8; LEN] = [0; LEN];
copy_work_buffer(ptr, buf.as_mut_ptr() as *mut u32, LEN as isize);
let len = Packet::get_aligned_size(*(ptr as *mut u8));
let mut buf: [u8; 1024] = [0; 1024];
Wouldn't it be better to move
1024
out to some constant?fa6fc1cee9
to6ce7959d7d