From fb876d89964443726aad57e3f68c0014a0fab6b5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 22 Nov 2013 17:22:35 -0800 Subject: [PATCH] update kernel headers to 3.13-rc1 --- include/linux/genetlink.h | 1 + include/linux/if.h | 1 + include/linux/if_ether.h | 1 + include/linux/if_link.h | 13 +++++++++++++ include/linux/pkt_sched.h | 9 ++++++--- 5 files changed, 22 insertions(+), 3 deletions(-) diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h index 1f85a2769..d48123a13 100644 --- a/include/linux/genetlink.h +++ b/include/linux/genetlink.h @@ -27,6 +27,7 @@ struct genlmsghdr { */ #define GENL_ID_GENERATE 0 #define GENL_ID_CTRL NLMSG_MIN_TYPE +#define GENL_ID_VFS_DQUOT (NLMSG_MIN_TYPE + 1) /************************************************************************** * Controller diff --git a/include/linux/if.h b/include/linux/if.h index 7f261c08e..00babf0ef 100644 --- a/include/linux/if.h +++ b/include/linux/if.h @@ -83,6 +83,7 @@ #define IFF_SUPP_NOFCS 0x80000 /* device supports sending custom FCS */ #define IFF_LIVE_ADDR_CHANGE 0x100000 /* device supports hardware address * change when it's running */ +#define IFF_MACVLAN 0x200000 /* Macvlan device */ #define IF_GET_IFACE 0x0001 /* for querying only */ diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index 2fc760ac3..06437c0e7 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h @@ -85,6 +85,7 @@ #define ETH_P_8021AH 0x88E7 /* 802.1ah Backbone Service Tag */ #define ETH_P_MVRP 0x88F5 /* 802.1Q MVRP */ #define ETH_P_1588 0x88F7 /* IEEE 1588 Timesync */ +#define ETH_P_PRP 0x88FB /* IEC 62439-3 PRP/HSRv0 */ #define ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */ #define ETH_P_TDLS 0x890D /* TDLS */ #define ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */ diff --git a/include/linux/if_link.h b/include/linux/if_link.h index a485920f5..93654e7ad 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h @@ -479,4 +479,17 @@ enum { #define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1) + +/* HSR section */ + +enum { + IFLA_HSR_UNSPEC, + IFLA_HSR_SLAVE1, + IFLA_HSR_SLAVE2, + IFLA_HSR_MULTICAST_SPEC, + __IFLA_HSR_MAX, +}; + +#define IFLA_HSR_MAX (__IFLA_HSR_MAX - 1) + #endif /* _LINUX_IF_LINK_H */ diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index f2624b549..a806687ad 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -171,6 +171,8 @@ enum { TCA_TBF_PARMS, TCA_TBF_RTAB, TCA_TBF_PTAB, + TCA_TBF_RATE64, + TCA_TBF_PRATE64, __TCA_TBF_MAX, }; @@ -761,13 +763,14 @@ enum { TCA_FQ_RATE_ENABLE, /* enable/disable rate limiting */ - TCA_FQ_FLOW_DEFAULT_RATE,/* for sockets with unspecified sk_rate, - * use the following rate - */ + TCA_FQ_FLOW_DEFAULT_RATE,/* obsolete, do not use */ TCA_FQ_FLOW_MAX_RATE, /* per flow max rate */ TCA_FQ_BUCKETS_LOG, /* log2(number of buckets) */ + + TCA_FQ_FLOW_REFILL_DELAY, /* flow credit refill delay in usec */ + __TCA_FQ_MAX }; -- 2.47.2