linux/drivers/infiniband/hw/hfi1/ipoib_main.c

// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/*
 * Copyright(c) 2020 Intel Corporation.
 *
 */

/*
 * This file contains HFI1 support for ipoib functionality
 */

#include "ipoib.h"
#include "hfi.h"

static u32 qpn_from_mac(const u8 *mac_arr)
{}

static int hfi1_ipoib_dev_init(struct net_device *dev)
{}

static void hfi1_ipoib_dev_uninit(struct net_device *dev)
{}

static int hfi1_ipoib_dev_open(struct net_device *dev)
{}

static int hfi1_ipoib_dev_stop(struct net_device *dev)
{}

static const struct net_device_ops hfi1_ipoib_netdev_ops =;

static int hfi1_ipoib_mcast_attach(struct net_device *dev,
				   struct ib_device *device,
				   union ib_gid *mgid,
				   u16 mlid,
				   int set_qkey,
				   u32 qkey)
{}

static int hfi1_ipoib_mcast_detach(struct net_device *dev,
				   struct ib_device *device,
				   union ib_gid *mgid,
				   u16 mlid)
{}

static void hfi1_ipoib_netdev_dtor(struct net_device *dev)
{}

static void hfi1_ipoib_set_id(struct net_device *dev, int id)
{}

static int hfi1_ipoib_setup_rn(struct ib_device *device,
			       u32 port_num,
			       struct net_device *netdev,
			       void *param)
{}

int hfi1_ipoib_rn_get_params(struct ib_device *device,
			     u32 port_num,
			     enum rdma_netdev_t type,
			     struct rdma_netdev_alloc_params *params)
{}