I am playing around with the tm4c1294 launchpad. I have setup a 2d buffer array. Let's say 9 rxbuffers each 1536 bytes long (I got this number from one of the example projects). Am I correct in assuming that when a RX packet is received, assuming the DMA controller has access to one of my allocated buffers through its network descriptor, that the raw packet, preamble and all are copied into that array buffer?
In order to figure out the total length of the received packet, you would use a function call similar to this correct?
tempLength = ((RxDescriptorCopy[currentRxDescriptor].ui32CtrlStatus & DES0_RX_STAT_FRAME_LENGTH_M) >> DES0_RX_STAT_FRAME_LENGTH_S);