Hi~~^^ I don't understand to following step! chapter 5 ixp2400/2800 programming original source --------------------------------------- _spi3_rx_move_rbuf_to_dram(rsw.w1.parts.element, cur_mpacket_addr, rsw.w1.parts.byte_count, &rbuf_to_dram_sig); // Update the buffer length dlMeta.bufferSize += rsw.w1.parts.byte_count; // Wait for the mpacket to move into DRAM __wait_for_all(&rbuf_to_dram_sig); _spi3_rx_free_rbuf(rsw.w1.parts.element); // If this is the EOP mpacket then return if (rsw.w1.parts.eop) { break; } // Update the reassembly pointer cur_mpacket_addr += rsw.w1.parts.byte_count; --------------------------------------- I think so to follow. --------------------------------------- _spi3_rx_move_rbuf_to_dram(rsw.w1.parts.element, cur_mpacket_addr, rsw.w1.parts.byte_count, &rbuf_to_dram_sig); __wait_for_all(&rbuf_to_dram_sig); dlMeta.bufferSize += rsw.w1.parts.byte_count; cur_mpacket_addr += rsw.w1.parts.byte_count; if (rsw.w1.parts.eop) { break; } _spi3_rx_free_rbuf(rsw.w1.parts.element); --------------------------------------- what do you think about? Thank you so much in advance!
participants (1)
-
paragon