summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2022-02-09 11:23:30 +0200
committerDavid S. Miller <davem@davemloft.net>2022-02-09 13:15:34 +0000
commit8378a7910d1401885114647a63ea099667754707 (patch)
treec93f2952a5cda85d70258f4d97efb64a8cad5594 /net/switchdev/switchdev.c
parent035dd64de9485752dd07fc28c3318b69d6722771 (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