summaryrefslogtreecommitdiffstats
path: root/sys/dev/ce
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-09-19 09:01:19 +0000
committerglebius <glebius@FreeBSD.org>2014-09-19 09:01:19 +0000
commit72f04611ecabbe285f19e3d4976b5a12fda23dc0 (patch)
tree2346dc2a57057cf36e1f65ce69915934b9e9b825 /sys/dev/ce
parent85e6d8134a2e10b38acdc198135c6a72083ac01c (diff)
downloadFreeBSD-src-72f04611ecabbe285f19e3d4976b5a12fda23dc0.zip
FreeBSD-src-72f04611ecabbe285f19e3d4976b5a12fda23dc0.tar.gz
Remove ifq_drops from struct ifqueue. Now queue drops are accounted in
struct ifnet if_oqdrops. Some netgraph modules used ifqueue w/o ifnet. Accounting of queue drops is simply removed from them. There were no API to read this statistic. Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/dev/ce')
-rw-r--r--sys/dev/ce/if_ce.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c
index 6c5b7bb..36c4ba4 100644
--- a/sys/dev/ce/if_ce.c
+++ b/sys/dev/ce/if_ce.c
@@ -2408,7 +2408,6 @@ static int ng_ce_rcvdata (hook_p hook, struct mbuf *m, meta_p meta)
#if __FreeBSD_version >= 500000
IF_LOCK (q);
if (_IF_QFULL (q)) {
- _IF_DROP (q);
IF_UNLOCK (q);
CE_UNLOCK (bd);
splx (s);
OpenPOWER on IntegriCloud