diff options
author | davidch <davidch@FreeBSD.org> | 2011-03-31 21:30:00 +0000 |
---|---|---|
committer | davidch <davidch@FreeBSD.org> | 2011-03-31 21:30:00 +0000 |
commit | 94aa425d1e859784b795cec781fea5fc10991ef0 (patch) | |
tree | 571b66cc2b55badd4e0fc57fd6d72f84d2b9f672 /sys/dev/bxe/if_bxe.h | |
parent | 11d539f0b3f0942a7cd4e93a6460ba0327fcec16 (diff) | |
download | FreeBSD-src-94aa425d1e859784b795cec781fea5fc10991ef0.zip FreeBSD-src-94aa425d1e859784b795cec781fea5fc10991ef0.tar.gz |
- Added debug support to monitor mbuf defrag attempts/failures.
MFC after: One week.
Diffstat (limited to 'sys/dev/bxe/if_bxe.h')
-rw-r--r-- | sys/dev/bxe/if_bxe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bxe/if_bxe.h b/sys/dev/bxe/if_bxe.h index 7a1e3a7..107836c 100644 --- a/sys/dev/bxe/if_bxe.h +++ b/sys/dev/bxe/if_bxe.h @@ -1084,6 +1084,8 @@ struct bxe_fastpath { /* Memory buffer allocation failure counter. */ unsigned long mbuf_alloc_failed; + unsigned long mbuf_defrag_attempts; + unsigned long mbuf_defrag_successes; /* Track the number of enqueued mbufs. */ int tx_mbuf_alloc; |