Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
37 lines
795 B
C
37 lines
795 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Shared Memory Communications over RDMA (SMC-R) and RoCE
|
|
*
|
|
* Definitions for generic netlink based configuration of an SMC-R PNET table
|
|
*
|
|
* Copyright IBM Corp. 2016
|
|
*
|
|
* Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_SMC_H_
|
|
#define _UAPI_LINUX_SMC_H_
|
|
|
|
/* Netlink SMC_PNETID attributes */
|
|
enum {
|
|
SMC_PNETID_UNSPEC,
|
|
SMC_PNETID_NAME,
|
|
SMC_PNETID_ETHNAME,
|
|
SMC_PNETID_IBNAME,
|
|
SMC_PNETID_IBPORT,
|
|
__SMC_PNETID_MAX,
|
|
SMC_PNETID_MAX = __SMC_PNETID_MAX - 1
|
|
};
|
|
|
|
enum { /* SMC PNET Table commands */
|
|
SMC_PNETID_GET = 1,
|
|
SMC_PNETID_ADD,
|
|
SMC_PNETID_DEL,
|
|
SMC_PNETID_FLUSH
|
|
};
|
|
|
|
#define SMCR_GENL_FAMILY_NAME "SMC_PNETID"
|
|
#define SMCR_GENL_FAMILY_VERSION 1
|
|
|
|
#endif /* _UAPI_LINUX_SMC_H */
|