Update headers from 4.15-rc3
Update kernel headers to commit f39a5c01c3d2 ("Merge branch
'nfp-flower-add-Geneve-tunnel-support'")
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
parent
c189177efc
commit
f82517f80d
|
|
@ -197,8 +197,14 @@ enum bpf_attach_type {
|
|||
*/
|
||||
#define BPF_F_STRICT_ALIGNMENT (1U << 0)
|
||||
|
||||
/* when bpf_ldimm64->src_reg == BPF_PSEUDO_MAP_FD, bpf_ldimm64->imm == fd */
|
||||
#define BPF_PSEUDO_MAP_FD 1
|
||||
|
||||
/* when bpf_call->src_reg == BPF_PSEUDO_CALL, bpf_call->imm == pc-relative
|
||||
* offset to another bpf function
|
||||
*/
|
||||
#define BPF_PSEUDO_CALL 1
|
||||
|
||||
/* flags for BPF_MAP_UPDATE_ELEM command */
|
||||
#define BPF_ANY 0 /* create new element or update existing */
|
||||
#define BPF_NOEXIST 1 /* create new element if it didn't exist */
|
||||
|
|
@ -677,6 +683,10 @@ union bpf_attr {
|
|||
* @buf: buf to fill
|
||||
* @buf_size: size of the buf
|
||||
* Return : 0 on success or negative error code
|
||||
*
|
||||
* int bpf_override_return(pt_regs, rc)
|
||||
* @pt_regs: pointer to struct pt_regs
|
||||
* @rc: the return value to set
|
||||
*/
|
||||
#define __BPF_FUNC_MAPPER(FN) \
|
||||
FN(unspec), \
|
||||
|
|
@ -736,7 +746,8 @@ union bpf_attr {
|
|||
FN(xdp_adjust_meta), \
|
||||
FN(perf_event_read_value), \
|
||||
FN(perf_prog_read_value), \
|
||||
FN(getsockopt),
|
||||
FN(getsockopt), \
|
||||
FN(override_return),
|
||||
|
||||
/* integer value in 'imm' field of BPF_CALL instruction selects which helper
|
||||
* function eBPF program intends to call
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
#define ETH_P_PUP 0x0200 /* Xerox PUP packet */
|
||||
#define ETH_P_PUPAT 0x0201 /* Xerox PUP Addr Trans packet */
|
||||
#define ETH_P_TSN 0x22F0 /* TSN (IEEE 1722) packet */
|
||||
#define ETH_P_ERSPAN2 0x22EB /* ERSPAN version 2 (type III) */
|
||||
#define ETH_P_IP 0x0800 /* Internet Protocol packet */
|
||||
#define ETH_P_X25 0x0805 /* CCITT X.25 */
|
||||
#define ETH_P_ARP 0x0806 /* Address Resolution packet */
|
||||
|
|
|
|||
|
|
@ -137,6 +137,9 @@ enum {
|
|||
IFLA_GRE_IGNORE_DF,
|
||||
IFLA_GRE_FWMARK,
|
||||
IFLA_GRE_ERSPAN_INDEX,
|
||||
IFLA_GRE_ERSPAN_VER,
|
||||
IFLA_GRE_ERSPAN_DIR,
|
||||
IFLA_GRE_ERSPAN_HWID,
|
||||
__IFLA_GRE_MAX,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -256,7 +256,6 @@ struct tc_red_qopt {
|
|||
#define TC_RED_ECN 1
|
||||
#define TC_RED_HARDDROP 2
|
||||
#define TC_RED_ADAPTATIVE 4
|
||||
#define TC_RED_OFFLOADED 8
|
||||
};
|
||||
|
||||
struct tc_red_xstats {
|
||||
|
|
|
|||
|
|
@ -557,6 +557,7 @@ enum {
|
|||
TCA_PAD,
|
||||
TCA_DUMP_INVISIBLE,
|
||||
TCA_CHAIN,
|
||||
TCA_HW_OFFLOAD,
|
||||
__TCA_MAX
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ typedef __s32 sctp_assoc_t;
|
|||
#define SCTP_SOCKOPT_PEELOFF_FLAGS 122
|
||||
#define SCTP_STREAM_SCHEDULER 123
|
||||
#define SCTP_STREAM_SCHEDULER_VALUE 124
|
||||
#define SCTP_INTERLEAVING_SUPPORTED 125
|
||||
|
||||
/* PR-SCTP policies */
|
||||
#define SCTP_PR_SCTP_NONE 0x0000
|
||||
|
|
@ -459,6 +460,8 @@ struct sctp_pdapi_event {
|
|||
__u32 pdapi_length;
|
||||
__u32 pdapi_indication;
|
||||
sctp_assoc_t pdapi_assoc_id;
|
||||
__u32 pdapi_stream;
|
||||
__u32 pdapi_seq;
|
||||
};
|
||||
|
||||
enum { SCTP_PARTIAL_DELIVERY_ABORTED=0, };
|
||||
|
|
|
|||
Loading…
Reference in New Issue