Searched hist:efa6a7d07523ffbbf6503c1a7eeb52201c15c0e3 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | diff efa6a7d07523ffbbf6503c1a7eeb52201c15c0e3 Fri May 15 07:30:22 CDT 2020 Ioana Ciornei <ioana.ciornei@nxp.com> dpaa2-eth: properly handle buffer size restrictions
Depending on the WRIOP version, the buffer size on the RX path must by a multiple of 64 or 256. Handle this restriction properly by aligning down the buffer size to the necessary value. Also, use the new buffer size dynamically computed instead of the compile time one.
Fixes: 27c874867c4e ("dpaa2-eth: Use a single page per Rx buffer") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | dpaa2-eth.c | diff efa6a7d07523ffbbf6503c1a7eeb52201c15c0e3 Fri May 15 07:30:22 CDT 2020 Ioana Ciornei <ioana.ciornei@nxp.com> dpaa2-eth: properly handle buffer size restrictions
Depending on the WRIOP version, the buffer size on the RX path must by a multiple of 64 or 256. Handle this restriction properly by aligning down the buffer size to the necessary value. Also, use the new buffer size dynamically computed instead of the compile time one.
Fixes: 27c874867c4e ("dpaa2-eth: Use a single page per Rx buffer") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|