]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: DPAA SGT needs to be 256B
authorMadalin Bucur <madalin.bucur@nxp.com>
Thu, 28 Jun 2018 12:26:51 +0000 (15:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 09:51:06 +0000 (18:51 +0900)
commit7bf7b5558ad2b0e91877b34c3643ffab040e9df2
treea2105e0eabebf2e5b624af4d2f680b2d80f47737
parent0f55523a0a7a640470262a3a1c28f120d407c0b5
dpaa_eth: DPAA SGT needs to be 256B

The DPAA HW requires that at least 256 bytes from the start of the
first scatter-gather table entry are allocated and accessible. The
hardware reads the maximum size the table can have in one access,
thus requiring that the allocation and mapping to be done for the
maximum size of 256B even if there is a smaller number of entries
in the table.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c