aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIoana Ciornei <[email protected]>2022-02-09 09:23:30 +0000
committerDavid S. Miller <[email protected]>2022-02-09 13:15:34 +0000
commit8378a7910d1401885114647a63ea099667754707 (patch)
treec93f2952a5cda85d70258f4d97efb64a8cad5594 /net/switchdev/switchdev.c
parentdpaa2-eth: rearrange variable declaration in __dpaa2_eth_tx (diff)
downloadkernel-8378a7910d1401885114647a63ea099667754707.tar.gz
kernel-8378a7910d1401885114647a63ea099667754707.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions