Date: Fri, 9 Jul 2010 00:35:09 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209839 - head/sys/dev/cxgb Message-ID: <201007090035.o690Z9cH074000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007090035.o690Z9cH074000>