Fix bufsize calculation so that cxgbtool can display information for the
last I/O queue too. MFC after: 3 days
This commit is contained in:
parent
0fac9c7272
commit
1ed3d6a605
@ -3086,7 +3086,6 @@ cxgb_extension_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data,
|
||||
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++;
|
||||
|
Loading…
Reference in New Issue
Block a user