History

Backmerge tag 'v4.12-rc3' into drm-next

Linux 4.12-rc3 Daniel has requested this for some drm-intel-next work.

Dave Airlie committed 9 years ago

Commit 2a172032 parents a82256b 5ed02db647 files · +7494 −3408Browse files

Showing the changes to include/uapi (3 of 647 files). Show all

Unified · Split

3 files
  1. include/uapi/linux/bpf.h +8 −0
  2. include/uapi/linux/if_link.h +11 −2
  3. include/uapi/linux/usb/ch11.h +3 −0
include/uapi/linux/bpf.h+8−0
@@ -132,6 +132,13 @@ enum bpf_attach_type { · 131 unmodified lines
132132 */
133133 #define BPF_F_ALLOW_OVERRIDE (1U << 0)
134134
135+/* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the
136+ * verifier will perform strict alignment checking as if the kernel
137+ * has been built with CONFIG_EFFICIENT_UNALIGNED_ACCESS not set,
138+ * and NET_IP_ALIGN defined to 2.
139+ */
140+#define BPF_F_STRICT_ALIGNMENT (1U << 0)
141+
135142 #define BPF_PSEUDO_MAP_FD 1
136143
137144 /* flags for BPF_MAP_UPDATE_ELEM command */
@@ -177,6 +184,7 @@ union bpf_attr { · 39 unmodified lines
177184 __u32 log_size; /* size of user buffer */
178185 __aligned_u64 log_buf; /* user supplied buffer */
179186 __u32 kern_version; /* checked when prog_type=kprobe */
187+ __u32 prog_flags;
180188 };
181189
182190 struct { /* anonymous struct used by BPF_OBJ_* commands */
include/uapi/linux/if_link.h+11−2
@@ -888,9 +888,18 @@ enum { · 887 unmodified lines
888888 /* XDP section */
889889
890890 #define XDP_FLAGS_UPDATE_IF_NOEXIST (1U << 0)
891−#define XDP_FLAGS_SKB_MODE (2U << 0)
891+#define XDP_FLAGS_SKB_MODE (1U << 1)
892+#define XDP_FLAGS_DRV_MODE (1U << 2)
892893 #define XDP_FLAGS_MASK (XDP_FLAGS_UPDATE_IF_NOEXIST | \
893− XDP_FLAGS_SKB_MODE)
894+ XDP_FLAGS_SKB_MODE | \
895+ XDP_FLAGS_DRV_MODE)
896+
897+/* These are stored into IFLA_XDP_ATTACHED on dump. */
898+enum {
899+ XDP_ATTACHED_NONE = 0,
900+ XDP_ATTACHED_DRV,
901+ XDP_ATTACHED_SKB,
902+};
894903
895904 enum {
896905 IFLA_XDP_UNSPEC,
include/uapi/linux/usb/ch11.h+3−0
@@ -22,6 +22,9 @@ · 21 unmodified lines
2222 */
2323 #define USB_MAXCHILDREN 31
2424
25+/* See USB 3.1 spec Table 10-5 */
26+#define USB_SS_MAXPORTS 15
27+
2528 /*
2629 * Hub request types
2730 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t