linux/net/smc/smc_netlink.c

// SPDX-License-Identifier: GPL-2.0
/*
 *  Shared Memory Communications over RDMA (SMC-R) and RoCE
 *
 *  Generic netlink support functions to interact with SMC module
 *
 *  Copyright IBM Corp. 2020
 *
 *  Author(s):	Guvenc Gulce <[email protected]>
 */

#include <linux/module.h>
#include <linux/list.h>
#include <linux/ctype.h>
#include <linux/mutex.h>
#include <linux/if.h>
#include <linux/smc.h>

#include "smc_core.h"
#include "smc_ism.h"
#include "smc_ib.h"
#include "smc_clc.h"
#include "smc_stats.h"
#include "smc_netlink.h"

const struct nla_policy
smc_gen_ueid_policy[SMC_NLA_EID_TABLE_MAX + 1] =;

#define SMC_CMD_MAX_ATTR
/* SMC_GENL generic netlink operation definition */
static const struct genl_ops smc_gen_nl_ops[] =;

static const struct nla_policy smc_gen_nl_policy[2] =;

/* SMC_GENL family definition */
struct genl_family smc_gen_nl_family __ro_after_init =;

int __init smc_nl_init(void)
{}

void smc_nl_exit(void)
{}