Commit e914a5c4 authored by osdl.net!shemminger's avatar osdl.net!shemminger

reqs was rejected by kernel due to possible API breakage.

(Logical change 1.91)
parent 8789183a
...@@ -38,7 +38,6 @@ struct tc_stats ...@@ -38,7 +38,6 @@ struct tc_stats
__u32 pps; /* Current flow packet rate */ __u32 pps; /* Current flow packet rate */
__u32 qlen; __u32 qlen;
__u32 backlog; __u32 backlog;
__u32 reqs;
}; };
struct tc_estimator struct tc_estimator
......
...@@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta) ...@@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta)
memset(&st, 0, sizeof(st)); memset(&st, 0, sizeof(st));
memcpy(&st, RTA_DATA(rta), MIN(RTA_PAYLOAD(rta), sizeof(st))); memcpy(&st, RTA_DATA(rta), MIN(RTA_PAYLOAD(rta), sizeof(st)));
fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u requeues %u) ", fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u) ",
(unsigned long long)st.bytes, st.packets, st.drops, (unsigned long long)st.bytes, st.packets, st.drops,
st.overlimits, st.reqs); st.overlimits);
if (st.bps || st.pps || st.qlen || st.backlog) { if (st.bps || st.pps || st.qlen || st.backlog) {
fprintf(fp, "\n "); fprintf(fp, "\n ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment