Searched refs:ioqs (Results 1 – 2 of 2) sorted by relevance
/freebsd/tools/tools/cxgbtool/ |
H A D | cxgbtool.c | 1598 struct ch_up_ioqs ioqs; in get_up_ioqs() local 1605 bzero(&ioqs, sizeof(ioqs)); in get_up_ioqs() 1606 ioqs.bufsize = IOQS_BUFSIZE; in get_up_ioqs() 1607 ioqs.data = malloc(IOQS_BUFSIZE); in get_up_ioqs() 1608 if (!ioqs.data) in get_up_ioqs() 1611 if (doit(iff_name, CHELSIO_GET_UP_IOQS, &ioqs) < 0) in get_up_ioqs() 1614 printf("ioq_rx_enable : 0x%08x\n", ioqs.ioq_rx_enable); in get_up_ioqs() 1615 printf("ioq_tx_enable : 0x%08x\n", ioqs.ioq_tx_enable); in get_up_ioqs() 1616 printf("ioq_rx_status : 0x%08x\n", ioqs.ioq_rx_status); in get_up_ioqs() 1617 printf("ioq_tx_status : 0x%08x\n", ioqs.ioq_tx_status); in get_up_ioqs() [all …]
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_main.c | 3011 struct ch_up_ioqs *ioqs = (struct ch_up_ioqs *)data; in cxgb_extension_ioctl() local 3018 if (ioqs->bufsize < IOQS_BUFSIZE) in cxgb_extension_ioctl() 3022 error = -t3_get_up_ioqs(sc, &ioqs->bufsize, buf); in cxgb_extension_ioctl() 3027 ioqs->ioq_rx_enable = *v++; in cxgb_extension_ioctl() 3028 ioqs->ioq_tx_enable = *v++; in cxgb_extension_ioctl() 3029 ioqs->ioq_rx_status = *v++; in cxgb_extension_ioctl() 3030 ioqs->ioq_tx_status = *v++; in cxgb_extension_ioctl() 3032 error = copyout(v, ioqs->data, ioqs->bufsize); in cxgb_extension_ioctl()
|