diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2022-02-09 11:23:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-09 13:15:34 +0000 |
commit | 8378a7910d1401885114647a63ea099667754707 (patch) | |
tree | c93f2952a5cda85d70258f4d97efb64a8cad5594 /net/switchdev/switchdev.c | |
parent | 035dd64de9485752dd07fc28c3318b69d6722771 (diff) |
dpaa2-eth: allocate a fragment already aligned
Instead of allocating memory and then manually aligning it to the
desired value use napi_alloc_frag_align() directly to streamline the
process.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions