#include "mlx5_ib.h"
#include "data_direct.h"
static LIST_HEAD(mlx5_data_direct_dev_list);
static LIST_HEAD(mlx5_data_direct_reg_list);
static DEFINE_MUTEX(mlx5_data_direct_mutex);
struct mlx5_data_direct_registration { … };
static const struct pci_device_id mlx5_data_direct_pci_table[] = …;
static int mlx5_data_direct_vpd_get_vuid(struct mlx5_data_direct_dev *dev)
{ … }
static void mlx5_data_direct_shutdown(struct pci_dev *pdev)
{ … }
static int mlx5_data_direct_set_dma_caps(struct pci_dev *pdev)
{ … }
int mlx5_data_direct_ib_reg(struct mlx5_ib_dev *ibdev, char *vuid)
{ … }
void mlx5_data_direct_ib_unreg(struct mlx5_ib_dev *ibdev)
{ … }
static void mlx5_data_direct_dev_reg(struct mlx5_data_direct_dev *dev)
{ … }
static void mlx5_data_direct_dev_unreg(struct mlx5_data_direct_dev *dev)
{ … }
static int mlx5_data_direct_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void mlx5_data_direct_remove(struct pci_dev *pdev)
{ … }
static struct pci_driver mlx5_data_direct_driver = …;
int mlx5_data_direct_driver_register(void)
{ … }
void mlx5_data_direct_driver_unregister(void)
{ … }