]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/uapi/linux/ila.h
Merge tag 'linux-kselftest-4.8-rc1-update' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-artful-kernel.git] / include / uapi / linux / ila.h
1 /* ila.h - ILA Interface */
2
3 #ifndef _UAPI_LINUX_ILA_H
4 #define _UAPI_LINUX_ILA_H
5
6 /* NETLINK_GENERIC related info */
7 #define ILA_GENL_NAME "ila"
8 #define ILA_GENL_VERSION 0x1
9
10 enum {
11 ILA_ATTR_UNSPEC,
12 ILA_ATTR_LOCATOR, /* u64 */
13 ILA_ATTR_IDENTIFIER, /* u64 */
14 ILA_ATTR_LOCATOR_MATCH, /* u64 */
15 ILA_ATTR_IFINDEX, /* s32 */
16 ILA_ATTR_DIR, /* u32 */
17 ILA_ATTR_PAD,
18 ILA_ATTR_CSUM_MODE, /* u8 */
19
20 __ILA_ATTR_MAX,
21 };
22
23 #define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1)
24
25 enum {
26 ILA_CMD_UNSPEC,
27 ILA_CMD_ADD,
28 ILA_CMD_DEL,
29 ILA_CMD_GET,
30
31 __ILA_CMD_MAX,
32 };
33
34 #define ILA_CMD_MAX (__ILA_CMD_MAX - 1)
35
36 #define ILA_DIR_IN (1 << 0)
37 #define ILA_DIR_OUT (1 << 1)
38
39 enum {
40 ILA_CSUM_ADJUST_TRANSPORT,
41 ILA_CSUM_NEUTRAL_MAP,
42 ILA_CSUM_NO_ACTION,
43 };
44
45 #endif /* _UAPI_LINUX_ILA_H */