summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2021-12-13 19:15:15 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-13 15:06:07 +0000
commit884d2b845477cd0a18302444dc20fe2d9a01743e (patch)
tree3066d67567c33b8e82d9fb2ec22fd08cdc38b070 /net
parentd33dae51645c0d837e587000f3131118fcd6bf5e (diff)
net: stmmac: Add GFP_DMA32 for rx buffers if no 64 capability
Use page_pool_alloc_pages instead of page_pool_dev_alloc_pages, which can give the gfp parameter, in the case of not supporting 64-bit width, using 32-bit address memory can reduce a copy from swiotlb. Signed-off-by: David Wu <david.wu@rock-chips.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions