blob: bee6618c3d50a00d0a518e8871a5e650f9412a8f [file] [log] [blame]
Christopher Ferrisa9750ed2021-05-03 14:02:49 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_VDPA_H_
20#define _UAPI_LINUX_VDPA_H_
21#define VDPA_GENL_NAME "vdpa"
22#define VDPA_GENL_VERSION 0x1
23enum vdpa_command {
24 VDPA_CMD_UNSPEC,
25 VDPA_CMD_MGMTDEV_NEW,
26 VDPA_CMD_MGMTDEV_GET,
27 VDPA_CMD_DEV_NEW,
28 VDPA_CMD_DEV_DEL,
29 VDPA_CMD_DEV_GET,
30};
31enum vdpa_attr {
32 VDPA_ATTR_UNSPEC,
33 VDPA_ATTR_MGMTDEV_BUS_NAME,
34 VDPA_ATTR_MGMTDEV_DEV_NAME,
35 VDPA_ATTR_MGMTDEV_SUPPORTED_CLASSES,
36 VDPA_ATTR_DEV_NAME,
37 VDPA_ATTR_DEV_ID,
38 VDPA_ATTR_DEV_VENDOR_ID,
39 VDPA_ATTR_DEV_MAX_VQS,
40 VDPA_ATTR_DEV_MAX_VQ_SIZE,
41 VDPA_ATTR_MAX,
42};
43#endif