git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce1fa8
)
net/dpaa2: enable DMA mapping during device scanning
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Tue, 11 Apr 2017 13:49:37 +0000
(19:19 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000
(15:37 +0200)
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/dpaa2/dpaa2_ethdev.c
b/drivers/net/dpaa2/dpaa2_ethdev.c
index
9cc8a46
..
999d0ad
100644
(file)
--- 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;
}