]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_offset
authorBogdan Purcareata <bogdan.purcareata@nxp.com>
Sun, 29 Oct 2017 08:20:41 +0000 (08:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 15:18:43 +0000 (16:18 +0100)
commit792a9de73fffd0c7fff55eeb7f489c1363d18e60
tree813783b4cfbf81d8b11a258fb1d86ae0069d6bf9
parentd7de38ff23ab80382922a4e342d6da13d807dc33
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_offset

When configuring the Tx buffer layout, the software annotation size is
mentioned, and MC accounts for it when configuring the frame
tx_data_offset. No need to handle it in the driver as well.

This results in 64B less memory allocated per frame.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c