mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-05 20:27:02 +00:00
Update kernel headers
Update kernel headers to commit: 59a49d9617e2 ("Merge branch 'mlxsw-expose-number-of-physical-ports'") Signed-off-by: David Ahern <dsahern@kernel.org>
This commit is contained in:
parent
b553cffa9f
commit
c81a173f6b
@ -19,7 +19,8 @@
|
|||||||
|
|
||||||
/* ld/ldx fields */
|
/* ld/ldx fields */
|
||||||
#define BPF_DW 0x18 /* double word (64-bit) */
|
#define BPF_DW 0x18 /* double word (64-bit) */
|
||||||
#define BPF_XADD 0xc0 /* exclusive add */
|
#define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
|
||||||
|
#define BPF_XADD 0xc0 /* exclusive add - legacy name */
|
||||||
|
|
||||||
/* alu/jmp fields */
|
/* alu/jmp fields */
|
||||||
#define BPF_MOV 0xb0 /* mov reg to reg */
|
#define BPF_MOV 0xb0 /* mov reg to reg */
|
||||||
@ -43,6 +44,11 @@
|
|||||||
#define BPF_CALL 0x80 /* function call */
|
#define BPF_CALL 0x80 /* function call */
|
||||||
#define BPF_EXIT 0x90 /* function return */
|
#define BPF_EXIT 0x90 /* function return */
|
||||||
|
|
||||||
|
/* atomic op type fields (stored in immediate) */
|
||||||
|
#define BPF_FETCH 0x01 /* not an opcode on its own, used to build others */
|
||||||
|
#define BPF_XCHG (0xe0 | BPF_FETCH) /* atomic exchange */
|
||||||
|
#define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
|
||||||
|
|
||||||
/* Register numbers */
|
/* Register numbers */
|
||||||
enum {
|
enum {
|
||||||
BPF_REG_0 = 0,
|
BPF_REG_0 = 0,
|
||||||
@ -2448,7 +2454,7 @@ union bpf_attr {
|
|||||||
* running simultaneously.
|
* running simultaneously.
|
||||||
*
|
*
|
||||||
* A user should care about the synchronization by himself.
|
* A user should care about the synchronization by himself.
|
||||||
* For example, by using the **BPF_STX_XADD** instruction to alter
|
* For example, by using the **BPF_ATOMIC** instructions to alter
|
||||||
* the shared data.
|
* the shared data.
|
||||||
* Return
|
* Return
|
||||||
* A pointer to the local storage area.
|
* A pointer to the local storage area.
|
||||||
@ -2993,10 +2999,10 @@ union bpf_attr {
|
|||||||
* string length is larger than *size*, just *size*-1 bytes are
|
* string length is larger than *size*, just *size*-1 bytes are
|
||||||
* copied and the last byte is set to NUL.
|
* copied and the last byte is set to NUL.
|
||||||
*
|
*
|
||||||
* On success, the length of the copied string is returned. This
|
* On success, returns the number of bytes that were written,
|
||||||
* makes this helper useful in tracing programs for reading
|
* including the terminal NUL. This makes this helper useful in
|
||||||
* strings, and more importantly to get its length at runtime. See
|
* tracing programs for reading strings, and more importantly to
|
||||||
* the following snippet:
|
* get its length at runtime. See the following snippet:
|
||||||
*
|
*
|
||||||
* ::
|
* ::
|
||||||
*
|
*
|
||||||
@ -3024,7 +3030,7 @@ union bpf_attr {
|
|||||||
* **->mm->env_start**: using this helper and the return value,
|
* **->mm->env_start**: using this helper and the return value,
|
||||||
* one can quickly iterate at the right offset of the memory area.
|
* one can quickly iterate at the right offset of the memory area.
|
||||||
* Return
|
* Return
|
||||||
* On success, the strictly positive length of the string,
|
* On success, the strictly positive length of the output string,
|
||||||
* including the trailing NUL character. On error, a negative
|
* including the trailing NUL character. On error, a negative
|
||||||
* value.
|
* value.
|
||||||
*
|
*
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
#define BOND_XMIT_POLICY_LAYER23 2 /* layer 2+3 (IP ^ MAC) */
|
#define BOND_XMIT_POLICY_LAYER23 2 /* layer 2+3 (IP ^ MAC) */
|
||||||
#define BOND_XMIT_POLICY_ENCAP23 3 /* encapsulated layer 2+3 */
|
#define BOND_XMIT_POLICY_ENCAP23 3 /* encapsulated layer 2+3 */
|
||||||
#define BOND_XMIT_POLICY_ENCAP34 4 /* encapsulated layer 3+4 */
|
#define BOND_XMIT_POLICY_ENCAP34 4 /* encapsulated layer 3+4 */
|
||||||
|
#define BOND_XMIT_POLICY_VLAN_SRCMAC 5 /* vlan + source MAC */
|
||||||
|
|
||||||
/* 802.3ad port state definitions (43.4.2.2 in the 802.3ad standard) */
|
/* 802.3ad port state definitions (43.4.2.2 in the 802.3ad standard) */
|
||||||
#define LACP_STATE_LACP_ACTIVITY 0x1
|
#define LACP_STATE_LACP_ACTIVITY 0x1
|
||||||
|
@ -807,6 +807,7 @@ enum {
|
|||||||
IFLA_GTP_FD1,
|
IFLA_GTP_FD1,
|
||||||
IFLA_GTP_PDP_HASHSIZE,
|
IFLA_GTP_PDP_HASHSIZE,
|
||||||
IFLA_GTP_ROLE,
|
IFLA_GTP_ROLE,
|
||||||
|
IFLA_GTP_COLLECT_METADATA,
|
||||||
__IFLA_GTP_MAX,
|
__IFLA_GTP_MAX,
|
||||||
};
|
};
|
||||||
#define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1)
|
#define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1)
|
||||||
|
@ -176,6 +176,7 @@ enum {
|
|||||||
#define TUNNEL_VXLAN_OPT __cpu_to_be16(0x1000)
|
#define TUNNEL_VXLAN_OPT __cpu_to_be16(0x1000)
|
||||||
#define TUNNEL_NOCACHE __cpu_to_be16(0x2000)
|
#define TUNNEL_NOCACHE __cpu_to_be16(0x2000)
|
||||||
#define TUNNEL_ERSPAN_OPT __cpu_to_be16(0x4000)
|
#define TUNNEL_ERSPAN_OPT __cpu_to_be16(0x4000)
|
||||||
|
#define TUNNEL_GTPU_OPT __cpu_to_be16(0x8000)
|
||||||
|
|
||||||
#define TUNNEL_OPTIONS_PRESENT \
|
#define TUNNEL_OPTIONS_PRESENT \
|
||||||
(TUNNEL_GENEVE_OPT | TUNNEL_VXLAN_OPT | TUNNEL_ERSPAN_OPT)
|
(TUNNEL_GENEVE_OPT | TUNNEL_VXLAN_OPT | TUNNEL_ERSPAN_OPT)
|
||||||
|
@ -82,6 +82,7 @@ enum {
|
|||||||
MPTCP_PM_CMD_FLUSH_ADDRS,
|
MPTCP_PM_CMD_FLUSH_ADDRS,
|
||||||
MPTCP_PM_CMD_SET_LIMITS,
|
MPTCP_PM_CMD_SET_LIMITS,
|
||||||
MPTCP_PM_CMD_GET_LIMITS,
|
MPTCP_PM_CMD_GET_LIMITS,
|
||||||
|
MPTCP_PM_CMD_SET_FLAGS,
|
||||||
|
|
||||||
__MPTCP_PM_CMD_AFTER_LAST
|
__MPTCP_PM_CMD_AFTER_LAST
|
||||||
};
|
};
|
||||||
|
@ -591,6 +591,7 @@ enum {
|
|||||||
TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED = 1 << 1, /* Part of an existing connection. */
|
TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED = 1 << 1, /* Part of an existing connection. */
|
||||||
TCA_FLOWER_KEY_CT_FLAGS_RELATED = 1 << 2, /* Related to an established connection. */
|
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_TRACKED = 1 << 3, /* Conntrack has occurred. */
|
||||||
|
TCA_FLOWER_KEY_CT_FLAGS_INVALID = 1 << 4, /* Conntrack is invalid. */
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
@ -434,6 +434,7 @@ enum {
|
|||||||
TCA_HTB_RATE64,
|
TCA_HTB_RATE64,
|
||||||
TCA_HTB_CEIL64,
|
TCA_HTB_CEIL64,
|
||||||
TCA_HTB_PAD,
|
TCA_HTB_PAD,
|
||||||
|
TCA_HTB_OFFLOAD,
|
||||||
__TCA_HTB_MAX,
|
__TCA_HTB_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ union tcp_word_hdr {
|
|||||||
__be32 words[5];
|
__be32 words[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define tcp_flag_word(tp) ( ((union tcp_word_hdr *)(tp))->words [3])
|
#define tcp_flag_word(tp) (((union tcp_word_hdr *)(tp))->words[3])
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
TCP_FLAG_CWR = __constant_cpu_to_be32(0x00800000),
|
TCP_FLAG_CWR = __constant_cpu_to_be32(0x00800000),
|
||||||
@ -314,6 +314,7 @@ enum {
|
|||||||
TCP_NLA_TIMEOUT_REHASH, /* Timeout-triggered rehash attempts */
|
TCP_NLA_TIMEOUT_REHASH, /* Timeout-triggered rehash attempts */
|
||||||
TCP_NLA_BYTES_NOTSENT, /* Bytes in write queue not yet sent */
|
TCP_NLA_BYTES_NOTSENT, /* Bytes in write queue not yet sent */
|
||||||
TCP_NLA_EDT, /* Earliest departure time (CLOCK_MONOTONIC) */
|
TCP_NLA_EDT, /* Earliest departure time (CLOCK_MONOTONIC) */
|
||||||
|
TCP_NLA_TTL, /* TTL or hop limit of a packet received */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* for TCP_MD5SIG socket option */
|
/* for TCP_MD5SIG socket option */
|
||||||
@ -353,5 +354,9 @@ struct tcp_zerocopy_receive {
|
|||||||
__u64 copybuf_address; /* in: copybuf address (small reads) */
|
__u64 copybuf_address; /* in: copybuf address (small reads) */
|
||||||
__s32 copybuf_len; /* in/out: copybuf bytes avail/used or error */
|
__s32 copybuf_len; /* in/out: copybuf bytes avail/used or error */
|
||||||
__u32 flags; /* in: flags */
|
__u32 flags; /* in: flags */
|
||||||
|
__u64 msg_control; /* ancillary data */
|
||||||
|
__u64 msg_controllen;
|
||||||
|
__u32 msg_flags;
|
||||||
|
/* __u32 hole; Next we must add >1 u32 otherwise length checks fail. */
|
||||||
};
|
};
|
||||||
#endif /* _LINUX_TCP_H */
|
#endif /* _LINUX_TCP_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user