linux/drivers/infiniband/hw/mlx5/ib_rep.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/*
 * Copyright (c) 2018 Mellanox Technologies. All rights reserved.
 */

#include <linux/mlx5/vport.h>
#include "ib_rep.h"
#include "srq.h"

static int
mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev,
		      struct mlx5_eswitch_rep *rep,
		      int vport_index)
{}

static void mlx5_ib_register_peer_vport_reps(struct mlx5_core_dev *mdev);

static void mlx5_ib_num_ports_update(struct mlx5_core_dev *dev, u32 *num_ports)
{}

static int
mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep)
{}

static void *mlx5_ib_rep_to_dev(struct mlx5_eswitch_rep *rep)
{}

static void
mlx5_ib_vport_rep_unload(struct mlx5_eswitch_rep *rep)
{}

static const struct mlx5_eswitch_rep_ops rep_ops =;

static void mlx5_ib_register_peer_vport_reps(struct mlx5_core_dev *mdev)
{}

struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw,
					  u16 vport_num)
{}

struct mlx5_flow_handle *create_flow_rule_vport_sq(struct mlx5_ib_dev *dev,
						   struct mlx5_ib_sq *sq,
						   u32 port)
{}

static int mlx5r_rep_probe(struct auxiliary_device *adev,
			   const struct auxiliary_device_id *id)
{}

static void mlx5r_rep_remove(struct auxiliary_device *adev)
{}

static const struct auxiliary_device_id mlx5r_rep_id_table[] =;

MODULE_DEVICE_TABLE(auxiliary, mlx5r_rep_id_table);

static struct auxiliary_driver mlx5r_rep_driver =;

int mlx5r_rep_init(void)
{}

void mlx5r_rep_cleanup(void)
{}