#define MLX5_COMMON_PRIVATE_H
#include <rte_pci.h>
+#include <rte_bus_auxiliary.h>
#include "mlx5_common.h"
/* Common PCI bus driver: */
+void mlx5_common_pci_init(void);
void mlx5_common_driver_on_register_pci(struct mlx5_class_driver *driver);
bool mlx5_dev_pci_match(const struct mlx5_class_driver *drv,
const struct rte_device *dev);
+/* Common auxiliary bus driver: */
+void mlx5_common_auxiliary_init(void);
+struct ibv_device *mlx5_get_aux_ibv_device(
+ const struct rte_auxiliary_device *dev);
+int mlx5_auxiliary_get_pci_str(const struct rte_auxiliary_device *dev,
+ char *addr, size_t size);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */