X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Fmlx5_common_private.h;h=a038330375c5c69976fa51a4c6b392c2239b8d9d;hb=33a7493c8df8cd7dc72df31b503e439810f34042;hp=93a60a0bb3c1077f99cf316fcfe97672adac3eca;hpb=ad435d3204736e8110cd3ecdf5363ae20f68e66f;p=dpdk.git diff --git a/drivers/common/mlx5/mlx5_common_private.h b/drivers/common/mlx5/mlx5_common_private.h index 93a60a0bb3..a038330375 100644 --- a/drivers/common/mlx5/mlx5_common_private.h +++ b/drivers/common/mlx5/mlx5_common_private.h @@ -6,6 +6,7 @@ #define MLX5_COMMON_PRIVATE_H #include +#include #include "mlx5_common.h" @@ -30,10 +31,18 @@ int mlx5_common_dev_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova, /* 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 */