svn commit: r209839 - head/sys/dev/cxgb
Navdeep Parhar
np at FreeBSD.org
Fri Jul 9 00:35:09 UTC 2010
Author: np
Date: Fri Jul 9 00:35:09 2010
New Revision: 209839
URL: http://svn.freebsd.org/changeset/base/209839
Log:
Fix bufsize calculation so that cxgbtool can display information for the
last I/O queue too.
MFC after: 3 days
Modified:
head/sys/dev/cxgb/cxgb_main.c
Modified: head/sys/dev/cxgb/cxgb_main.c
==============================================================================
--- head/sys/dev/cxgb/cxgb_main.c Thu Jul 8 23:25:33 2010 (r209838)
+++ head/sys/dev/cxgb/cxgb_main.c Fri Jul 9 00:35:09 2010 (r209839)
@@ -3086,7 +3086,6 @@ cxgb_extension_ioctl(struct cdev *dev, u
if (!error) {
v = (uint32_t *)buf;
- ioqs->bufsize -= 4 * sizeof(uint32_t);
ioqs->ioq_rx_enable = *v++;
ioqs->ioq_tx_enable = *v++;
ioqs->ioq_rx_status = *v++;
More information about the svn-src-head
mailing list