History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

David S. Miller committed 13 years ago

Commit 2ff1cf12 parents 16b304f 0f7dd1a357 files · +3306 −1865Browse files

Showing the changes to include/uapi/linux (2 of 357 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/pkt_sched.h +9 −1
  2. include/uapi/linux/snmp.h +1 −1
include/uapi/linux/pkt_sched.h+9−1
@@ -73,9 +73,17 @@ struct tc_estimator { · 72 unmodified lines
7373 #define TC_H_ROOT (0xFFFFFFFFU)
7474 #define TC_H_INGRESS (0xFFFFFFF1U)
7575
76+/* Need to corrospond to iproute2 tc/tc_core.h "enum link_layer" */
77+enum tc_link_layer {
78+ TC_LINKLAYER_UNAWARE, /* Indicate unaware old iproute2 util */
79+ TC_LINKLAYER_ETHERNET,
80+ TC_LINKLAYER_ATM,
81+};
82+#define TC_LINKLAYER_MASK 0x0F /* limit use to lower 4 bits */
83+
7684 struct tc_ratespec {
7785 unsigned char cell_log;
78− unsigned char __reserved;
86+ __u8 linklayer; /* lower 4 bits */
7987 unsigned short overhead;
8088 short cell_align;
8189 unsigned short mpu;
include/uapi/linux/snmp.h+1−1
@@ -257,7 +257,7 @@ enum · 256 unmodified lines
257257 LINUX_MIB_TCPFASTOPENLISTENOVERFLOW, /* TCPFastOpenListenOverflow */
258258 LINUX_MIB_TCPFASTOPENCOOKIEREQD, /* TCPFastOpenCookieReqd */
259259 LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */
260− LINUX_MIB_LOWLATENCYRXPACKETS, /* LowLatencyRxPackets */
260+ LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */
261261 __LINUX_MIB_MAX
262262 };
263263