net: mvpp2: introduce PPv2.2 HW descriptors and adapt accessors
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Feb 2017 10:08:46 +0000 (11:08 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:40:49 +0000 (07:40 +0200)
commitf50a0118d12e362f84ec10240c9e00048779adc5
tree5c14cc102a1fd1d4a91751a67e813bcee8906147
parent9a6db0bb064cf513a8f523fd0a51265e8bd907bf
net: mvpp2: introduce PPv2.2 HW descriptors and adapt accessors

This commit adds the definition of the PPv2.2 HW descriptors, adjusts
the mvpp2_tx_desc and mvpp2_rx_desc structures accordingly, and adapts
the accessors to work on both PPv2.1 and PPv2.2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c