diff options
| author | Radim Krčmář <rkrcmar@redhat.com> | 2018-02-01 09:04:17 -0500 |
|---|---|---|
| committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-02-01 09:04:17 -0500 |
| commit | 7bf14c28ee776be567855bd39ed8ff795ea19f55 (patch) | |
| tree | 6113748c673e85fccc2c56c050697789c00c6bc2 /include/uapi/linux | |
| parent | 87cedc6be55954c6efd6eca2e694132513f65a2a (diff) | |
| parent | 5fa4ec9cb2e6679e2f828033726f758ea314b9c5 (diff) | |
Merge branch 'x86/hyperv' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Topic branch for stable KVM clockource under Hyper-V.
Thanks to Christoffer Dall for resolving the ARM conflict.
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/btrfs.h | 11 | ||||
| -rw-r--r-- | include/uapi/linux/btrfs_tree.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/if_ether.h | 3 | ||||
| -rw-r--r-- | include/uapi/linux/kvm.h | 4 | ||||
| -rw-r--r-- | include/uapi/linux/libc-compat.h | 61 | ||||
| -rw-r--r-- | include/uapi/linux/lightnvm.h | 9 | ||||
| -rw-r--r-- | include/uapi/linux/netfilter/nf_conntrack_common.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/nubus.h | 23 | ||||
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/perf_event.h | 10 | ||||
| -rw-r--r-- | include/uapi/linux/pkt_sched.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/rtnetlink.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/sched.h | 5 |
13 files changed, 98 insertions, 35 deletions
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index ce615b75e855..c8d99b9ca550 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h | |||
| @@ -33,7 +33,12 @@ struct btrfs_ioctl_vol_args { | |||
| 33 | char name[BTRFS_PATH_NAME_MAX + 1]; | 33 | char name[BTRFS_PATH_NAME_MAX + 1]; |
| 34 | }; | 34 | }; |
| 35 | 35 | ||
| 36 | #define BTRFS_DEVICE_PATH_NAME_MAX 1024 | 36 | #define BTRFS_DEVICE_PATH_NAME_MAX 1024 |
| 37 | #define BTRFS_SUBVOL_NAME_MAX 4039 | ||
| 38 | |||
| 39 | #define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0) | ||
| 40 | #define BTRFS_SUBVOL_RDONLY (1ULL << 1) | ||
| 41 | #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) | ||
| 37 | 42 | ||
| 38 | #define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3) | 43 | #define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3) |
| 39 | 44 | ||
| @@ -101,11 +106,7 @@ struct btrfs_ioctl_qgroup_limit_args { | |||
| 101 | * - BTRFS_IOC_SUBVOL_GETFLAGS | 106 | * - BTRFS_IOC_SUBVOL_GETFLAGS |
| 102 | * - BTRFS_IOC_SUBVOL_SETFLAGS | 107 | * - BTRFS_IOC_SUBVOL_SETFLAGS |
| 103 | */ | 108 | */ |
| 104 | #define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0) | ||
| 105 | #define BTRFS_SUBVOL_RDONLY (1ULL << 1) | ||
| 106 | #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) | ||
| 107 | 109 | ||
| 108 | #define BTRFS_SUBVOL_NAME_MAX 4039 | ||
| 109 | struct btrfs_ioctl_vol_args_v2 { | 110 | struct btrfs_ioctl_vol_args_v2 { |
| 110 | __s64 fd; | 111 | __s64 fd; |
| 111 | __u64 transid; | 112 | __u64 transid; |
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h index 6d6e5da51527..aff1356c2bb8 100644 --- a/include/uapi/linux/btrfs_tree.h +++ b/include/uapi/linux/btrfs_tree.h | |||
| @@ -456,6 +456,8 @@ struct btrfs_free_space_header { | |||
| 456 | 456 | ||
| 457 | #define BTRFS_SUPER_FLAG_SEEDING (1ULL << 32) | 457 | #define BTRFS_SUPER_FLAG_SEEDING (1ULL << 32) |
| 458 | #define BTRFS_SUPER_FLAG_METADUMP (1ULL << 33) | 458 | #define BTRFS_SUPER_FLAG_METADUMP (1ULL << 33) |
| 459 | #define BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL << 34) | ||
| 460 | #define BTRFS_SUPER_FLAG_CHANGING_FSID (1ULL << 35) | ||
| 459 | 461 | ||
| 460 | 462 | ||
| 461 | /* | 463 | /* |
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h index 3ee3bf7c8526..144de4d2f385 100644 --- a/include/uapi/linux/if_ether.h +++ b/include/uapi/linux/if_ether.h | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #define _UAPI_LINUX_IF_ETHER_H | 23 | #define _UAPI_LINUX_IF_ETHER_H |
| 24 | 24 | ||
| 25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
| 26 | #include <linux/libc-compat.h> | ||
| 26 | 27 | ||
| 27 | /* | 28 | /* |
| 28 | * IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble | 29 | * IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble |
| @@ -149,11 +150,13 @@ | |||
| 149 | * This is an Ethernet frame header. | 150 | * This is an Ethernet frame header. |
| 150 | */ | 151 | */ |
| 151 | 152 | ||
| 153 | #if __UAPI_DEF_ETHHDR | ||
| 152 | struct ethhdr { | 154 | struct ethhdr { |
| 153 | unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ | 155 | unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ |
| 154 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ | 156 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ |
| 155 | __be16 h_proto; /* packet type ID field */ | 157 | __be16 h_proto; /* packet type ID field */ |
| 156 | } __attribute__((packed)); | 158 | } __attribute__((packed)); |
| 159 | #endif | ||
| 157 | 160 | ||
| 158 | 161 | ||
| 159 | #endif /* _UAPI_LINUX_IF_ETHER_H */ | 162 | #endif /* _UAPI_LINUX_IF_ETHER_H */ |
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 62c564dd4aa1..0fb5ef939732 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h | |||
| @@ -932,6 +932,8 @@ struct kvm_ppc_resize_hpt { | |||
| 932 | #define KVM_CAP_HYPERV_SYNIC2 148 | 932 | #define KVM_CAP_HYPERV_SYNIC2 148 |
| 933 | #define KVM_CAP_HYPERV_VP_INDEX 149 | 933 | #define KVM_CAP_HYPERV_VP_INDEX 149 |
| 934 | #define KVM_CAP_S390_AIS_MIGRATION 150 | 934 | #define KVM_CAP_S390_AIS_MIGRATION 150 |
| 935 | #define KVM_CAP_PPC_GET_CPU_CHAR 151 | ||
| 936 | #define KVM_CAP_S390_BPB 152 | ||
| 935 | 937 | ||
| 936 | #ifdef KVM_CAP_IRQ_ROUTING | 938 | #ifdef KVM_CAP_IRQ_ROUTING |
| 937 | 939 | ||
| @@ -1261,6 +1263,8 @@ struct kvm_s390_ucas_mapping { | |||
| 1261 | #define KVM_PPC_CONFIGURE_V3_MMU _IOW(KVMIO, 0xaf, struct kvm_ppc_mmuv3_cfg) | 1263 | #define KVM_PPC_CONFIGURE_V3_MMU _IOW(KVMIO, 0xaf, struct kvm_ppc_mmuv3_cfg) |
| 1262 | /* Available with KVM_CAP_PPC_RADIX_MMU */ | 1264 | /* Available with KVM_CAP_PPC_RADIX_MMU */ |
| 1263 | #define KVM_PPC_GET_RMMU_INFO _IOW(KVMIO, 0xb0, struct kvm_ppc_rmmu_info) | 1265 | #define KVM_PPC_GET_RMMU_INFO _IOW(KVMIO, 0xb0, struct kvm_ppc_rmmu_info) |
| 1266 | /* Available with KVM_CAP_PPC_GET_CPU_CHAR */ | ||
| 1267 | #define KVM_PPC_GET_CPU_CHAR _IOR(KVMIO, 0xb1, struct kvm_ppc_cpu_char) | ||
| 1264 | 1268 | ||
| 1265 | /* ioctl for vm fd */ | 1269 | /* ioctl for vm fd */ |
| 1266 | #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device) | 1270 | #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device) |
diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h index 282875cf8056..fc29efaa918c 100644 --- a/include/uapi/linux/libc-compat.h +++ b/include/uapi/linux/libc-compat.h | |||
| @@ -168,47 +168,106 @@ | |||
| 168 | 168 | ||
| 169 | /* If we did not see any headers from any supported C libraries, | 169 | /* If we did not see any headers from any supported C libraries, |
| 170 | * or we are being included in the kernel, then define everything | 170 | * or we are being included in the kernel, then define everything |
| 171 | * that we need. */ | 171 | * that we need. Check for previous __UAPI_* definitions to give |
| 172 | * unsupported C libraries a way to opt out of any kernel definition. */ | ||
| 172 | #else /* !defined(__GLIBC__) */ | 173 | #else /* !defined(__GLIBC__) */ |
| 173 | 174 | ||
| 174 | /* Definitions for if.h */ | 175 | /* Definitions for if.h */ |
| 176 | #ifndef __UAPI_DEF_IF_IFCONF | ||
| 175 | #define __UAPI_DEF_IF_IFCONF 1 | 177 | #define __UAPI_DEF_IF_IFCONF 1 |
| 178 | #endif | ||
| 179 | #ifndef __UAPI_DEF_IF_IFMAP | ||
| 176 | #define __UAPI_DEF_IF_IFMAP 1 | 180 | #define __UAPI_DEF_IF_IFMAP 1 |
| 181 | #endif | ||
| 182 | #ifndef __UAPI_DEF_IF_IFNAMSIZ | ||
| 177 | #define __UAPI_DEF_IF_IFNAMSIZ 1 | 183 | #define __UAPI_DEF_IF_IFNAMSIZ 1 |
| 184 | #endif | ||
| 185 | #ifndef __UAPI_DEF_IF_IFREQ | ||
| 178 | #define __UAPI_DEF_IF_IFREQ 1 | 186 | #define __UAPI_DEF_IF_IFREQ 1 |
| 187 | #endif | ||
| 179 | /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ | 188 | /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ |
| 189 | #ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS | ||
| 180 | #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1 | 190 | #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1 |
| 191 | #endif | ||
| 181 | /* For the future if glibc adds IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO */ | 192 | /* For the future if glibc adds IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO */ |
| 193 | #ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO | ||
| 182 | #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1 | 194 | #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1 |
| 195 | #endif | ||
| 183 | 196 | ||
| 184 | /* Definitions for in.h */ | 197 | /* Definitions for in.h */ |
| 198 | #ifndef __UAPI_DEF_IN_ADDR | ||
| 185 | #define __UAPI_DEF_IN_ADDR 1 | 199 | #define __UAPI_DEF_IN_ADDR 1 |
| 200 | #endif | ||
| 201 | #ifndef __UAPI_DEF_IN_IPPROTO | ||
| 186 | #define __UAPI_DEF_IN_IPPROTO 1 | 202 | #define __UAPI_DEF_IN_IPPROTO 1 |
| 203 | #endif | ||
| 204 | #ifndef __UAPI_DEF_IN_PKTINFO | ||
| 187 | #define __UAPI_DEF_IN_PKTINFO 1 | 205 | #define __UAPI_DEF_IN_PKTINFO 1 |
| 206 | #endif | ||
| 207 | #ifndef __UAPI_DEF_IP_MREQ | ||
| 188 | #define __UAPI_DEF_IP_MREQ 1 | 208 | #define __UAPI_DEF_IP_MREQ 1 |
| 209 | #endif | ||
| 210 | #ifndef __UAPI_DEF_SOCKADDR_IN | ||
| 189 | #define __UAPI_DEF_SOCKADDR_IN 1 | 211 | #define __UAPI_DEF_SOCKADDR_IN 1 |
| 212 | #endif | ||
| 213 | #ifndef __UAPI_DEF_IN_CLASS | ||
| 190 | #define __UAPI_DEF_IN_CLASS 1 | 214 | #define __UAPI_DEF_IN_CLASS 1 |
| 215 | #endif | ||
| 191 | 216 | ||
| 192 | /* Definitions for in6.h */ | 217 | /* Definitions for in6.h */ |
| 218 | #ifndef __UAPI_DEF_IN6_ADDR | ||
| 193 | #define __UAPI_DEF_IN6_ADDR 1 | 219 | #define __UAPI_DEF_IN6_ADDR 1 |
| 220 | #endif | ||
| 221 | #ifndef __UAPI_DEF_IN6_ADDR_ALT | ||
| 194 | #define __UAPI_DEF_IN6_ADDR_ALT 1 | 222 | #define __UAPI_DEF_IN6_ADDR_ALT 1 |
| 223 | #endif | ||
| 224 | #ifndef __UAPI_DEF_SOCKADDR_IN6 | ||
| 195 | #define __UAPI_DEF_SOCKADDR_IN6 1 | 225 | #define __UAPI_DEF_SOCKADDR_IN6 1 |
| 226 | #endif | ||
| 227 | #ifndef __UAPI_DEF_IPV6_MREQ | ||
| 196 | #define __UAPI_DEF_IPV6_MREQ 1 | 228 | #define __UAPI_DEF_IPV6_MREQ 1 |
| 229 | #endif | ||
| 230 | #ifndef __UAPI_DEF_IPPROTO_V6 | ||
| 197 | #define __UAPI_DEF_IPPROTO_V6 1 | 231 | #define __UAPI_DEF_IPPROTO_V6 1 |
| 232 | #endif | ||
| 233 | #ifndef __UAPI_DEF_IPV6_OPTIONS | ||
| 198 | #define __UAPI_DEF_IPV6_OPTIONS 1 | 234 | #define __UAPI_DEF_IPV6_OPTIONS 1 |
| 235 | #endif | ||
| 236 | #ifndef __UAPI_DEF_IN6_PKTINFO | ||
| 199 | #define __UAPI_DEF_IN6_PKTINFO 1 | 237 | #define __UAPI_DEF_IN6_PKTINFO 1 |
| 238 | #endif | ||
| 239 | #ifndef __UAPI_DEF_IP6_MTUINFO | ||
| 200 | #define __UAPI_DEF_IP6_MTUINFO 1 | 240 | #define __UAPI_DEF_IP6_MTUINFO 1 |
| 241 | #endif | ||
| 201 | 242 | ||
| 202 | /* Definitions for ipx.h */ | 243 | /* Definitions for ipx.h */ |
| 244 | #ifndef __UAPI_DEF_SOCKADDR_IPX | ||
| 203 | #define __UAPI_DEF_SOCKADDR_IPX 1 | 245 | #define __UAPI_DEF_SOCKADDR_IPX 1 |
| 246 | #endif | ||
| 247 | #ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION | ||
| 204 | #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 | 248 | #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 |
| 249 | #endif | ||
| 250 | #ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION | ||
| 205 | #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 | 251 | #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 |
| 252 | #endif | ||
| 253 | #ifndef __UAPI_DEF_IPX_CONFIG_DATA | ||
| 206 | #define __UAPI_DEF_IPX_CONFIG_DATA 1 | 254 | #define __UAPI_DEF_IPX_CONFIG_DATA 1 |
| 255 | #endif | ||
| 256 | #ifndef __UAPI_DEF_IPX_ROUTE_DEF | ||
| 207 | #define __UAPI_DEF_IPX_ROUTE_DEF 1 | 257 | #define __UAPI_DEF_IPX_ROUTE_DEF 1 |
| 258 | #endif | ||
| 208 | 259 | ||
| 209 | /* Definitions for xattr.h */ | 260 | /* Definitions for xattr.h */ |
| 261 | #ifndef __UAPI_DEF_XATTR | ||
| 210 | #define __UAPI_DEF_XATTR 1 | 262 | #define __UAPI_DEF_XATTR 1 |
| 263 | #endif | ||
| 211 | 264 | ||
| 212 | #endif /* __GLIBC__ */ | 265 | #endif /* __GLIBC__ */ |
| 213 | 266 | ||
| 267 | /* Definitions for if_ether.h */ | ||
| 268 | /* allow libcs like musl to deactivate this, glibc does not implement this. */ | ||
| 269 | #ifndef __UAPI_DEF_ETHHDR | ||
| 270 | #define __UAPI_DEF_ETHHDR 1 | ||
| 271 | #endif | ||
| 272 | |||
| 214 | #endif /* _UAPI_LIBC_COMPAT_H */ | 273 | #endif /* _UAPI_LIBC_COMPAT_H */ |
diff --git a/include/uapi/linux/lightnvm.h b/include/uapi/linux/lightnvm.h index 42d1a434af29..f9a1be7fc696 100644 --- a/include/uapi/linux/lightnvm.h +++ b/include/uapi/linux/lightnvm.h | |||
| @@ -75,14 +75,23 @@ struct nvm_ioctl_create_simple { | |||
| 75 | __u32 lun_end; | 75 | __u32 lun_end; |
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| 78 | struct nvm_ioctl_create_extended { | ||
| 79 | __u16 lun_begin; | ||
| 80 | __u16 lun_end; | ||
| 81 | __u16 op; | ||
| 82 | __u16 rsv; | ||
| 83 | }; | ||
| 84 | |||
| 78 | enum { | 85 | enum { |
| 79 | NVM_CONFIG_TYPE_SIMPLE = 0, | 86 | NVM_CONFIG_TYPE_SIMPLE = 0, |
| 87 | NVM_CONFIG_TYPE_EXTENDED = 1, | ||
| 80 | }; | 88 | }; |
| 81 | 89 | ||
| 82 | struct nvm_ioctl_create_conf { | 90 | struct nvm_ioctl_create_conf { |
| 83 | __u32 type; | 91 | __u32 type; |
| 84 | union { | 92 | union { |
| 85 | struct nvm_ioctl_create_simple s; | 93 | struct nvm_ioctl_create_simple s; |
| 94 | struct nvm_ioctl_create_extended e; | ||
| 86 | }; | 95 | }; |
| 87 | }; | 96 | }; |
| 88 | 97 | ||
diff --git a/include/uapi/linux/netfilter/nf_conntrack_common.h b/include/uapi/linux/netfilter/nf_conntrack_common.h index 3fea7709a441..57ccfb32e87f 100644 --- a/include/uapi/linux/netfilter/nf_conntrack_common.h +++ b/include/uapi/linux/netfilter/nf_conntrack_common.h | |||
| @@ -36,7 +36,7 @@ enum ip_conntrack_info { | |||
| 36 | 36 | ||
| 37 | #define NF_CT_STATE_INVALID_BIT (1 << 0) | 37 | #define NF_CT_STATE_INVALID_BIT (1 << 0) |
| 38 | #define NF_CT_STATE_BIT(ctinfo) (1 << ((ctinfo) % IP_CT_IS_REPLY + 1)) | 38 | #define NF_CT_STATE_BIT(ctinfo) (1 << ((ctinfo) % IP_CT_IS_REPLY + 1)) |
| 39 | #define NF_CT_STATE_UNTRACKED_BIT (1 << (IP_CT_UNTRACKED + 1)) | 39 | #define NF_CT_STATE_UNTRACKED_BIT (1 << 6) |
| 40 | 40 | ||
| 41 | /* Bitset representing status of connection. */ | 41 | /* Bitset representing status of connection. */ |
| 42 | enum ip_conntrack_status { | 42 | enum ip_conntrack_status { |
diff --git a/include/uapi/linux/nubus.h b/include/uapi/linux/nubus.h index f3776cc80f4d..48031e7858f1 100644 --- a/include/uapi/linux/nubus.h +++ b/include/uapi/linux/nubus.h | |||
| @@ -221,27 +221,4 @@ enum nubus_display_res_id { | |||
| 221 | NUBUS_RESID_SIXTHMODE = 0x0085 | 221 | NUBUS_RESID_SIXTHMODE = 0x0085 |
| 222 | }; | 222 | }; |
| 223 | 223 | ||
| 224 | struct nubus_dir | ||
| 225 | { | ||
| 226 | unsigned char *base; | ||
| 227 | unsigned char *ptr; | ||
| 228 | int done; | ||
| 229 | int mask; | ||
| 230 | }; | ||
| 231 | |||
| 232 | struct nubus_dirent | ||
| 233 | { | ||
| 234 | unsigned char *base; | ||
| 235 | unsigned char type; | ||
| 236 | __u32 data; /* Actually 24bits used */ | ||
| 237 | int mask; | ||
| 238 | }; | ||
| 239 | |||
| 240 | |||
| 241 | /* We'd like to get rid of this eventually. Only daynaport.c uses it now. */ | ||
| 242 | static inline void *nubus_slot_addr(int slot) | ||
| 243 | { | ||
| 244 | return (void *)(0xF0000000|(slot<<24)); | ||
| 245 | } | ||
| 246 | |||
| 247 | #endif /* _UAPILINUX_NUBUS_H */ | 224 | #endif /* _UAPILINUX_NUBUS_H */ |
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 4265d7f9e1f2..dcfab5e3b55c 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h | |||
| @@ -363,7 +363,6 @@ enum ovs_tunnel_key_attr { | |||
| 363 | OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */ | 363 | OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */ |
| 364 | OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */ | 364 | OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */ |
| 365 | OVS_TUNNEL_KEY_ATTR_PAD, | 365 | OVS_TUNNEL_KEY_ATTR_PAD, |
| 366 | OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, /* be32 ERSPAN index. */ | ||
| 367 | __OVS_TUNNEL_KEY_ATTR_MAX | 366 | __OVS_TUNNEL_KEY_ATTR_MAX |
| 368 | }; | 367 | }; |
| 369 | 368 | ||
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index b9a4953018ed..c77c9a2ebbbb 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h | |||
| @@ -612,9 +612,12 @@ struct perf_event_mmap_page { | |||
| 612 | */ | 612 | */ |
| 613 | #define PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT (1 << 12) | 613 | #define PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT (1 << 12) |
| 614 | /* | 614 | /* |
| 615 | * PERF_RECORD_MISC_MMAP_DATA and PERF_RECORD_MISC_COMM_EXEC are used on | 615 | * Following PERF_RECORD_MISC_* are used on different |
| 616 | * different events so can reuse the same bit position. | 616 | * events, so can reuse the same bit position: |
| 617 | * Ditto PERF_RECORD_MISC_SWITCH_OUT. | 617 | * |
| 618 | * PERF_RECORD_MISC_MMAP_DATA - PERF_RECORD_MMAP* events | ||
| 619 | * PERF_RECORD_MISC_COMM_EXEC - PERF_RECORD_COMM event | ||
| 620 | * PERF_RECORD_MISC_SWITCH_OUT - PERF_RECORD_SWITCH* events | ||
| 618 | */ | 621 | */ |
| 619 | #define PERF_RECORD_MISC_MMAP_DATA (1 << 13) | 622 | #define PERF_RECORD_MISC_MMAP_DATA (1 << 13) |
| 620 | #define PERF_RECORD_MISC_COMM_EXEC (1 << 13) | 623 | #define PERF_RECORD_MISC_COMM_EXEC (1 << 13) |
| @@ -864,6 +867,7 @@ enum perf_event_type { | |||
| 864 | * struct perf_event_header header; | 867 | * struct perf_event_header header; |
| 865 | * u32 pid; | 868 | * u32 pid; |
| 866 | * u32 tid; | 869 | * u32 tid; |
| 870 | * struct sample_id sample_id; | ||
| 867 | * }; | 871 | * }; |
| 868 | */ | 872 | */ |
| 869 | PERF_RECORD_ITRACE_START = 12, | 873 | PERF_RECORD_ITRACE_START = 12, |
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h index af3cc2f4e1ad..37b5096ae97b 100644 --- a/include/uapi/linux/pkt_sched.h +++ b/include/uapi/linux/pkt_sched.h | |||
| @@ -256,7 +256,6 @@ struct tc_red_qopt { | |||
| 256 | #define TC_RED_ECN 1 | 256 | #define TC_RED_ECN 1 |
| 257 | #define TC_RED_HARDDROP 2 | 257 | #define TC_RED_HARDDROP 2 |
| 258 | #define TC_RED_ADAPTATIVE 4 | 258 | #define TC_RED_ADAPTATIVE 4 |
| 259 | #define TC_RED_OFFLOADED 8 | ||
| 260 | }; | 259 | }; |
| 261 | 260 | ||
| 262 | struct tc_red_xstats { | 261 | struct tc_red_xstats { |
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index d8b5f80c2ea6..843e29aa3cac 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h | |||
| @@ -557,6 +557,7 @@ enum { | |||
| 557 | TCA_PAD, | 557 | TCA_PAD, |
| 558 | TCA_DUMP_INVISIBLE, | 558 | TCA_DUMP_INVISIBLE, |
| 559 | TCA_CHAIN, | 559 | TCA_CHAIN, |
| 560 | TCA_HW_OFFLOAD, | ||
| 560 | __TCA_MAX | 561 | __TCA_MAX |
| 561 | }; | 562 | }; |
| 562 | 563 | ||
diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h index 30a9e51bbb1e..22627f80063e 100644 --- a/include/uapi/linux/sched.h +++ b/include/uapi/linux/sched.h | |||
| @@ -49,5 +49,10 @@ | |||
| 49 | */ | 49 | */ |
| 50 | #define SCHED_FLAG_RESET_ON_FORK 0x01 | 50 | #define SCHED_FLAG_RESET_ON_FORK 0x01 |
| 51 | #define SCHED_FLAG_RECLAIM 0x02 | 51 | #define SCHED_FLAG_RECLAIM 0x02 |
| 52 | #define SCHED_FLAG_DL_OVERRUN 0x04 | ||
| 53 | |||
| 54 | #define SCHED_FLAG_ALL (SCHED_FLAG_RESET_ON_FORK | \ | ||
| 55 | SCHED_FLAG_RECLAIM | \ | ||
| 56 | SCHED_FLAG_DL_OVERRUN) | ||
| 52 | 57 | ||
| 53 | #endif /* _UAPI_LINUX_SCHED_H */ | 58 | #endif /* _UAPI_LINUX_SCHED_H */ |
