]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 11:38:57 +0000 (12:38 +0100)
commit03e0784ad48e845b1a4f6e6667936da8d2c77f33
tree586dc5cc231d2363b86b45b9850eef240c6886b8
parentc4b98f3c1ce96893c5e9bc0abd06ce5b7b52d7c9
dpaa_eth: fix the RX headroom size alignment

[ Upstream commit 7834e494f42627769d3f965d5d203e9c6ddb8403 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c