net/mlx5: support PCI device DMA map and unmap
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index ae4b716..8141bda 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),
 };