nfp: add separate buffer allocation function for napi
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 31 Oct 2016 20:43:16 +0000 (20:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:04:59 +0000 (11:04 -0400)
commitb64b7bb6d492ef1bbe9aa9ed7eeb18f7148ece3d
tree95b9b52909c1762fa6e429401067ec4906ff90d1
parentc0f031bc88660e8b96060b76aa72fbe8859bdcc8
nfp: add separate buffer allocation function for napi

Introduce a separate buffer allocation function to be called
from NAPI.  We can make assumptions about the context and
buffer size.

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