Re: [PATCH net-next v5 09/14] net: ethernet: oa_tc6: implement transmit path to transfer tx ethernet frames
From: Andrew Lunn
Date: Sun Aug 11 2024 - 11:54:29 EST
On Tue, Jul 30, 2024 at 09:39:01AM +0530, Parthiban Veerasooran wrote:
> The transmit ethernet frame will be converted into multiple transmit data
> chunks. Each transmit data chunk consists of a 4 bytes header followed by
> a 64 bytes transmit data chunk payload. The 4 bytes data header occurs at
> the beginning of each transmit data chunk on MOSI. The data header
> contains the information needed to determine the validity and location of
> the transmit frame data within the data chunk payload. The number of
> transmit data chunks transmitted to mac-phy is limited to the number
> transmit credits available in the mac-phy. Initially the transmit credits
> will be updated from the buffer status register and then it will be
> updated from the footer received on each spi data transfer. The received
> footer will be examined for the transmit errors if any.
>
> Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@xxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew