net/nfp: use ethdev DMA helper
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:10 +0000 (17:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Apr 2017 17:01:40 +0000 (19:01 +0200)
commitf02513445ed2f06b640496d66db989715a5bb71c
treefc1e216ede7100a103e816b967577eb2641e83a6
parent68451eb6698cd83af67ac65c66af46b85c8d6f30
net/nfp: use ethdev DMA helper

This driver can use the library function rte_eth_dma_zone_reserve()
instead of duplicating the code.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/nfp/nfp_net.c