unsigned long long n_normal; /* # txed w/o rate limit queuing. */
unsigned long long n_limited; /* # queued for rate limiting. */
unsigned long long n_queue_dropped; /* # dropped due to queue overflow. */
- unsigned long long n_tx_dropped; /* # dropped due to tx overflow. */
/* Switch status. */
struct status_category *ss_cat;
unsigned int port_no;
struct ofp_queue *q;
+ ps->n_queue_dropped++;
+
longest = port_array_first(&ps->queues, &port_no);
longest_port_no = port_no;
n_longest = 1;
status_reply_put(sr, "normal=%llu", ps->n_normal);
status_reply_put(sr, "limited=%llu", ps->n_limited);
status_reply_put(sr, "queue-dropped=%llu", ps->n_queue_dropped);
- status_reply_put(sr, "tx-dropped=%llu", ps->n_tx_dropped);
}
void
ps->n_normal = 0;
ps->n_limited = 0;
ps->n_queue_dropped = 0;
- ps->n_tx_dropped = 0;
if (ss) {
ps->ss_cat = switch_status_register(ss, "rate-limit",