diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-19 09:01:19 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-19 09:01:19 +0000 |
commit | 72f04611ecabbe285f19e3d4976b5a12fda23dc0 (patch) | |
tree | 2346dc2a57057cf36e1f65ce69915934b9e9b825 /sys/net/if_debug.c | |
parent | 85e6d8134a2e10b38acdc198135c6a72083ac01c (diff) | |
download | FreeBSD-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/net/if_debug.c')
-rw-r--r-- | sys/net/if_debug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_debug.c b/sys/net/if_debug.c index e7319374..1d198eb 100644 --- a/sys/net/if_debug.c +++ b/sys/net/if_debug.c @@ -79,7 +79,6 @@ if_show_ifnet(struct ifnet *ifp) IF_DB_PRINTF("%p", if_snd.ifq_tail); IF_DB_PRINTF("%d", if_snd.ifq_len); IF_DB_PRINTF("%d", if_snd.ifq_maxlen); - IF_DB_PRINTF("%d", if_snd.ifq_drops); IF_DB_PRINTF("%p", if_snd.ifq_drv_head); IF_DB_PRINTF("%p", if_snd.ifq_drv_tail); IF_DB_PRINTF("%d", if_snd.ifq_drv_len); |