Searched hist:d0dfbb99 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | d0dfbb99 Thu Feb 04 04:56:38 CST 2021 Kevin Hao <haokexin@gmail.com> net: dpaa2: Use napi_alloc_frag_align() to avoid the memory waste
The napi_alloc_frag_align() will guarantee that a correctly align buffer address is returned. So use this function to simplify the buffer alloc and avoid the unnecessary memory waste.
Signed-off-by: Kevin Hao <haokexin@gmail.com> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|