Closed cyruscyliu closed 1 year ago
Suggested by @Yu3H0.
TULIP_DESCRIPTOR_RX.control.11 is set to 0x7ff to make sure tulip_copy_rx_bytes() finish data copying once.
TULIP_DESCRIPTOR_TX.control.0 is set to 0xc0 to bypass the check.
if (len == 192) {
Suggested by @Yu3H0.
TULIP_DESCRIPTOR_RX.control.11 is set to 0x7ff to make sure tulip_copy_rx_bytes() finish data copying once.
TULIP_DESCRIPTOR_TX.control.0 is set to 0xc0 to bypass the check.