Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.11-rc3 32 lines 605 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 4 * 5 * SMC Generic netlink operations 6 * 7 * Copyright IBM Corp. 2020 8 * 9 * Author(s): Guvenc Gulce <guvenc@linux.ibm.com> 10 */ 11 12#ifndef _SMC_NETLINK_H 13#define _SMC_NETLINK_H 14 15#include <net/netlink.h> 16#include <net/genetlink.h> 17 18extern struct genl_family smc_gen_nl_family; 19 20struct smc_nl_dmp_ctx { 21 int pos[2]; 22}; 23 24static inline struct smc_nl_dmp_ctx *smc_nl_dmp_ctx(struct netlink_callback *c) 25{ 26 return (struct smc_nl_dmp_ctx *)c->ctx; 27} 28 29int smc_nl_init(void) __init; 30void smc_nl_exit(void); 31 32#endif