]> Git Repo - linux.git/commit
nfp: use alloc_frag() and build_skb()
authorJakub Kicinski <[email protected]>
Mon, 31 Oct 2016 20:43:15 +0000 (20:43 +0000)
committerDavid S. Miller <[email protected]>
Tue, 1 Nov 2016 15:04:59 +0000 (11:04 -0400)
commitc0f031bc88660e8b96060b76aa72fbe8859bdcc8
treeddc815d22dab0d8291aa92544256a7629f98ec0d
parente9949aebe04a1d917a15f4dc71e77deaefe9de94
nfp: use alloc_frag() and build_skb()

Speed up RX processing by moving to the alloc_frag()/build_skb()
paradigm.  Since we're no longer mapping the entire buffer for
DMA add helpers which take care of calculating offsets and
lengths.

Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c
This page took 0.055851 seconds and 4 git commands to generate.