]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Update kernel headers
authorDavid Ahern <dsahern@kernel.org>
Tue, 6 Jun 2023 14:30:22 +0000 (08:30 -0600)
committerDavid Ahern <dsahern@kernel.org>
Tue, 6 Jun 2023 14:30:49 +0000 (08:30 -0600)
Update kernel headers to commit:
    ae91f7e436f8 ("net/pppoe: fix a typo for the PPPOE_HASH_BITS_1 definition")

Signed-off-by: David Ahern <dsahern@kernel.org>
include/uapi/linux/bpf.h
include/uapi/linux/if_link.h
include/uapi/linux/pkt_cls.h
include/uapi/linux/pkt_sched.h

index 58e30f17192b0525ea40788c2d3f2f92f2484542..2828b4206f9587f6cb6f8a635cc1a532a6cbcbbd 100644 (file)
@@ -1272,6 +1272,9 @@ enum {
 
 /* Create a map that will be registered/unregesitered by the backed bpf_link */
        BPF_F_LINK              = (1U << 13),
+
+/* Get path from provided FD in BPF_OBJ_PIN/BPF_OBJ_GET commands */
+       BPF_F_PATH_FD           = (1U << 14),
 };
 
 /* Flags for BPF_PROG_QUERY. */
@@ -1420,6 +1423,13 @@ union bpf_attr {
                __aligned_u64   pathname;
                __u32           bpf_fd;
                __u32           file_flags;
+               /* Same as dirfd in openat() syscall; see openat(2)
+                * manpage for details of path FD and pathname semantics;
+                * path_fd should accompanied by BPF_F_PATH_FD flag set in
+                * file_flags field, otherwise it should be set to zero;
+                * if BPF_F_PATH_FD flag is not set, AT_FDCWD is assumed.
+                */
+               __s32           path_fd;
        };
 
        struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */
index 94fb7ef9e226b9aceb1272a0d72a1ac959bb8c4f..02af33ceb3b4aa8ac51bdd76518958aeacf4ac4e 100644 (file)
@@ -826,6 +826,7 @@ enum {
        IFLA_VXLAN_TTL_INHERIT,
        IFLA_VXLAN_DF,
        IFLA_VXLAN_VNIFILTER, /* only applicable with COLLECT_METADATA mode */
+       IFLA_VXLAN_LOCALBYPASS,
        __IFLA_VXLAN_MAX
 };
 #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
index 648a82f326666ee971a6e19eda41903db4d6ba65..00933dda7b107547e52a381396c81c0e4a3151b2 100644 (file)
@@ -594,6 +594,8 @@ enum {
 
        TCA_FLOWER_KEY_L2TPV3_SID,      /* be32 */
 
+       TCA_FLOWER_L2_MISS,             /* u8 */
+
        __TCA_FLOWER_MAX,
 };
 
index 51a7addc56c60a412631c7486635c7f6dcebccc2..00f6ff0aff1ff6f200c6babb9eb3b5fb58110adf 100644 (file)
@@ -1259,6 +1259,16 @@ enum {
        TCA_TAPRIO_TC_ENTRY_MAX = (__TCA_TAPRIO_TC_ENTRY_CNT - 1)
 };
 
+enum {
+       TCA_TAPRIO_OFFLOAD_STATS_PAD = 1,       /* u64 */
+       TCA_TAPRIO_OFFLOAD_STATS_WINDOW_DROPS,  /* u64 */
+       TCA_TAPRIO_OFFLOAD_STATS_TX_OVERRUNS,   /* u64 */
+
+       /* add new constants above here */
+       __TCA_TAPRIO_OFFLOAD_STATS_CNT,
+       TCA_TAPRIO_OFFLOAD_STATS_MAX = (__TCA_TAPRIO_OFFLOAD_STATS_CNT - 1)
+};
+
 enum {
        TCA_TAPRIO_ATTR_UNSPEC,
        TCA_TAPRIO_ATTR_PRIOMAP, /* struct tc_mqprio_qopt */