From: Hemant Agrawal Date: Tue, 11 Apr 2017 13:49:37 +0000 (+0530) Subject: net/dpaa2: enable DMA mapping during device scanning X-Git-Tag: spdx-start~3553 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1261cd68e35164bdd1aea79f558902f6286e1141;p=dpdk.git net/dpaa2: enable DMA mapping during device scanning Signed-off-by: Hemant Agrawal --- diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 9cc8a467e6..999d0ad0b4 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -908,6 +908,8 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) eth_dev->rx_pkt_burst = dpaa2_dev_rx; eth_dev->tx_pkt_burst = dpaa2_dev_tx; + rte_fslmc_vfio_dmamap(); + return 0; }