net/nfp: check hugepage IOVA based on DMA mask
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 5 Oct 2018 12:45:26 +0000 (13:45 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Oct 2018 21:06:51 +0000 (22:06 +0100)
commit388022d5d09416f1bef27e1704a59c8047a1f5a6
treec35e8cb38572be9c1531e0dc15aa3ffb9faed105
parentfe822eb8c5651d00ef5b8eeed6f8511e7a86560f
net/nfp: check hugepage IOVA based on DMA mask

NFP devices can not handle DMA addresses requiring more than
40 bits. This patch uses rte_dev_check_dma_mask with 40 bits
and avoids device initialization if memory out of NFP range.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/Makefile
drivers/net/nfp/meson.build
drivers/net/nfp/nfp_net.c