dpaa_eth: fix the RX headroom size alignment
authorCamelia Groza <camelia.groza@nxp.com>
Mon, 2 Nov 2020 18:34:36 +0000 (20:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 2 Nov 2020 19:21:31 +0000 (11:21 -0800)
commit7834e494f42627769d3f965d5d203e9c6ddb8403
tree729d2ad88384950f715dbe77a2128f192244ee7d
parentacef159a0cb2a978d62b641e2366a33ad1d5afef
dpaa_eth: fix the RX headroom size alignment

The headroom reserved for received frames needs to be aligned to an
RX specific value. There is currently a discrepancy between the values
used in the Ethernet driver and the values passed to the FMan.
Coincidentally, the resulting aligned values are identical.

Fixes: 3c68b8fffb48 ("dpaa_eth: FMan erratum A050385 workaround")
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c