[U-Boot] [PATCH v1 14/41] net: mvpp2: introduce an intermediate union for the TX/RX descriptors

Joe Hershberger joe.hershberger at gmail.com
Tue Mar 21 17:10:12 UTC 2017


On Tue, Mar 21, 2017 at 9:27 AM, Stefan Roese <sr at denx.de> wrote:
> From: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>
> Since the format of the HW descriptors is different between PPv2.1 and
> PPv2.2, this commit introduces an intermediate union, with for now
> only the PPv2.1 descriptors. The bulk of the driver code only
> manipulates opaque mvpp2_tx_desc and mvpp2_rx_desc pointers, and the
> descriptors can only be accessed and modified through the accessor
> functions. A follow-up commit will add the descriptor definitions for
> PPv2.2.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Signed-off-by: Stefan Roese <sr at denx.de>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list