[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <79bb1948-3d38-44f3-9653-ebdf80be9c2c@lunn.ch>
Date: Sun, 11 Aug 2024 17:56:12 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, saeedm@...dia.com,
anthony.l.nguyen@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, corbet@....net,
linux-doc@...r.kernel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, horatiu.vultur@...rochip.com,
ruanjinjie@...wei.com, steen.hegelund@...rochip.com,
vladimir.oltean@....com, masahiroy@...nel.org,
alexanderduyck@...com, krzk+dt@...nel.org, robh@...nel.org,
rdunlap@...radead.org, hkallweit1@...il.com, linux@...linux.org.uk,
UNGLinuxDriver@...rochip.com, Thorsten.Kummermehr@...rochip.com,
Pier.Beruto@...emi.com, Selvamani.Rajagopal@...emi.com,
Nicolas.Ferre@...rochip.com, benjamin.bigler@...nformulastudent.ch,
linux@...ler.io
Subject: Re: [PATCH net-next v5 10/14] net: ethernet: oa_tc6: implement
receive path to receive rx ethernet frames
On Tue, Jul 30, 2024 at 09:39:02AM +0530, Parthiban Veerasooran wrote:
> SPI rx data buffer can contain one or more receive data chunks. A receive
> data chunk consists a 64 bytes receive data chunk payload followed a
> 4 bytes data footer at the end. The data footer contains the information
> needed to determine the validity and location of the receive frame data
> within the receive data chunk payload and the host can use these
> information to generate ethernet frame. Initially the receive chunks
> available will be updated from the buffer status register and then it
> will be updated from the footer received on each spi data transfer. Tx
> data valid or empty chunks equal to the number receive chunks available
> will be transmitted in the MOSI to receive all the rx chunks.
> Additionally the receive data footer contains the below information as
> well. The received footer will be examined for the receive errors if any.
>
> Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists