]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: switch to dev_alloc_page()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 2 Nov 2017 08:31:34 +0000 (01:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 11:27:11 +0000 (20:27 +0900)
commit790a399171831d31c8016a27294ef69130d3e7cc
tree50db3ae3705954ec4194856594593fcd5a6c66f2
parent43b45245e5a6c274f374ecb49e5bca39f28dbfad
nfp: switch to dev_alloc_page()

Use the dev_alloc_page() networking helper to allocate pages
for RX packets.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c