]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.c
net/mlx5: support PCI device DMA map and unmap
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index ae4b71695e785c9dfabdf19ec3a387fdb87675f2..8141bda3fb4b59e00dd6fe611eb7398206c4d620 100644 (file)
@@ -1632,6 +1632,8 @@ static struct rte_pci_driver mlx5_driver = {
        .id_table = mlx5_pci_id_map,
        .probe = mlx5_pci_probe,
        .remove = mlx5_pci_remove,
+       .dma_map = mlx5_dma_map,
+       .dma_unmap = mlx5_dma_unmap,
        .drv_flags = (RTE_PCI_DRV_INTR_LSC | RTE_PCI_DRV_INTR_RMV |
                      RTE_PCI_DRV_PROBE_AGAIN),
 };