]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
Update kernel headers
authorDavid Ahern <dsahern@kernel.org>
Tue, 2 Feb 2021 01:58:51 +0000 (01:58 +0000)
committerDavid Ahern <dsahern@kernel.org>
Tue, 2 Feb 2021 01:58:51 +0000 (01:58 +0000)
Update kernel headers to commit:
    14e8e0f60088 ("tcp: shrink inet_connection_sock icsk_mtup enabled and probe_size")

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

index 958ef7b949c6c571ba823d80e4b9c6b1f12b76a5..a430775d9baa39abd372052236ad5d0d6c0e416a 100644 (file)
@@ -200,6 +200,10 @@ enum devlink_port_flavour {
        DEVLINK_PORT_FLAVOUR_UNUSED, /* Port which exists in the switch, but
                                      * is not used in any way.
                                      */
+       DEVLINK_PORT_FLAVOUR_PCI_SF, /* Represents eswitch port
+                                     * for the PCI SF. It is an internal
+                                     * port that faces the PCI SF.
+                                     */
 };
 
 enum devlink_param_cmode {
@@ -529,6 +533,7 @@ enum devlink_attr {
        DEVLINK_ATTR_RELOAD_ACTION_INFO,        /* nested */
        DEVLINK_ATTR_RELOAD_ACTION_STATS,       /* nested */
 
+       DEVLINK_ATTR_PORT_PCI_SF_NUMBER,        /* u32 */
        /* add new attributes above here, update the policy in devlink.c */
 
        __DEVLINK_ATTR_MAX,
@@ -578,9 +583,29 @@ enum devlink_resource_unit {
 enum devlink_port_function_attr {
        DEVLINK_PORT_FUNCTION_ATTR_UNSPEC,
        DEVLINK_PORT_FUNCTION_ATTR_HW_ADDR,     /* binary */
+       DEVLINK_PORT_FN_ATTR_STATE,     /* u8 */
+       DEVLINK_PORT_FN_ATTR_OPSTATE,   /* u8 */
 
        __DEVLINK_PORT_FUNCTION_ATTR_MAX,
        DEVLINK_PORT_FUNCTION_ATTR_MAX = __DEVLINK_PORT_FUNCTION_ATTR_MAX - 1
 };
 
+enum devlink_port_fn_state {
+       DEVLINK_PORT_FN_STATE_INACTIVE,
+       DEVLINK_PORT_FN_STATE_ACTIVE,
+};
+
+/**
+ * enum devlink_port_fn_opstate - indicates operational state of the function
+ * @DEVLINK_PORT_FN_OPSTATE_ATTACHED: Driver is attached to the function.
+ * For graceful tear down of the function, after inactivation of the
+ * function, user should wait for operational state to turn DETACHED.
+ * @DEVLINK_PORT_FN_OPSTATE_DETACHED: Driver is detached from the function.
+ * It is safe to delete the port.
+ */
+enum devlink_port_fn_opstate {
+       DEVLINK_PORT_FN_OPSTATE_DETACHED,
+       DEVLINK_PORT_FN_OPSTATE_ATTACHED,
+};
+
 #endif /* _LINUX_DEVLINK_H_ */
index b4cf66796e8a7a96f9fb3a0ad26926eba7bf7875..c96880c51c93a15b306f2756be4d86fa09ee5e42 100644 (file)
@@ -523,6 +523,8 @@ enum {
        IFLA_BRPORT_BACKUP_PORT,
        IFLA_BRPORT_MRP_RING_OPEN,
        IFLA_BRPORT_MRP_IN_OPEN,
+       IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT,
+       IFLA_BRPORT_MCAST_EHT_HOSTS_CNT,
        __IFLA_BRPORT_MAX
 };
 #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
index 709668e264b068956c08d5340e07792f771df1fc..afe6836e44b15c2da29f40b740f1968c6865d58b 100644 (file)
@@ -592,6 +592,7 @@ enum {
        TCA_FLOWER_KEY_CT_FLAGS_RELATED = 1 << 2, /* Related to an established connection. */
        TCA_FLOWER_KEY_CT_FLAGS_TRACKED = 1 << 3, /* Conntrack has occurred. */
        TCA_FLOWER_KEY_CT_FLAGS_INVALID = 1 << 4, /* Conntrack is invalid. */
+       TCA_FLOWER_KEY_CT_FLAGS_REPLY = 1 << 5, /* Packet is in the reply direction. */
 };
 
 enum {
index c24b64cd597154192a7e410d69d4a4e6016073b1..72d60e096774c083979a0a6dbf5fa9ead2c98b2b 100644 (file)
@@ -28,10 +28,10 @@ struct ipv6_rpl_sr_hdr {
                pad:4,
                reserved1:16;
 #elif defined(__BIG_ENDIAN_BITFIELD)
-       __u32   reserved:20,
+       __u32   cmpri:4,
+               cmpre:4,
                pad:4,
-               cmpri:4,
-               cmpre:4;
+               reserved:20;
 #else
 #error  "Please fix <asm/byteorder.h>"
 #endif