diff options
author | harti <harti@FreeBSD.org> | 2003-10-29 13:14:39 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-10-29 13:14:39 +0000 |
commit | e0d0a97b8fc62bbf8d84b4ea74d6bf8673dfa51c (patch) | |
tree | 88eb2eb0b8a7880f39a0fcc057ebb85003e7a634 /sbin/atm | |
parent | 568c57f368a5b09aa3cac9b6d7ddb6fae11059c0 (diff) | |
download | FreeBSD-src-e0d0a97b8fc62bbf8d84b4ea74d6bf8673dfa51c.zip FreeBSD-src-e0d0a97b8fc62bbf8d84b4ea74d6bf8673dfa51c.tar.gz |
Defer allocation of the actual receive mbuf until the external buffer
is returned from the card to the driver. Add a counter that shows
how many times this allocation has failed. Note, that we could even
further delay the allocation of the mbuf until we know, that we need it
(there are no receive errors and the connection is open). This will be done
in a later commit.
Print the new statistics field in atmconfig.
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/atmconfig/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/atm/atmconfig/diag.c b/sbin/atm/atmconfig/diag.c index 8e76d7d..acd83bb 100644 --- a/sbin/atm/atmconfig/diag.c +++ b/sbin/atm/atmconfig/diag.c @@ -153,6 +153,7 @@ static const char *const print_stats_he[] = { "oec:", "dcc:", "cec:", + "no_rcv_mbuf:", NULL }; static const char *const print_stats_eni[] = { |