-static struct rte_driver rte_mlx5_driver = {
- .type = PMD_PDEV,
- .name = MLX5_DRIVER_NAME,
- .init = rte_mlx5_pmd_init,
-};
-
-PMD_REGISTER_DRIVER(rte_mlx5_driveri, mlx5)
-DRIVER_REGISTER_PCI_TABLE(mlx5, mlx5_pci_id_map);
+DRIVER_EXPORT_NAME(net_mlx5, __COUNTER__);
+DRIVER_REGISTER_PCI_TABLE(net_mlx5, mlx5_pci_id_map);