Lines Matching refs:cmdRing

217 		vmxnet3_cmdring_t *cmdRing = &rxq->cmdRing;  in vmxnet3_rx_populate()  local
218 Vmxnet3_GenericDesc *rxDesc = VMXNET3_GET_DESC(cmdRing, idx); in vmxnet3_rx_populate()
225 rxDesc->rxd.gen = cmdRing->gen; in vmxnet3_rx_populate()
242 vmxnet3_cmdring_t *cmdRing = &rxq->cmdRing; in vmxnet3_rxqueue_init() local
246 cmdRing->size * 10, cmdRing->size * 2); in vmxnet3_rxqueue_init()
249 if ((err = vmxnet3_rx_populate(dp, rxq, cmdRing->next2fill, in vmxnet3_rxqueue_init()
253 VMXNET3_INC_RING_IDX(cmdRing, cmdRing->next2fill); in vmxnet3_rxqueue_init()
254 } while (cmdRing->next2fill); in vmxnet3_rxqueue_init()
268 while (cmdRing->next2fill) { in vmxnet3_rxqueue_init()
269 VMXNET3_DEC_RING_IDX(cmdRing, cmdRing->next2fill); in vmxnet3_rxqueue_init()
270 vmxnet3_free_rxbuf(dp, rxq->bufRing[cmdRing->next2fill].rxBuf); in vmxnet3_rxqueue_init()
292 for (i = 0; i < rxq->cmdRing.size; i++) { in vmxnet3_rxqueue_fini()
341 vmxnet3_cmdring_t *cmdRing = &rxq->cmdRing; in vmxnet3_rx_intr() local
375 while (cmdRing->next2fill != rxdIdx) { in vmxnet3_rx_intr()
376 rxDesc = VMXNET3_GET_DESC(cmdRing, in vmxnet3_rx_intr()
377 cmdRing->next2fill); in vmxnet3_rx_intr()
378 rxDesc->rxd.gen = cmdRing->gen; in vmxnet3_rx_intr()
379 VMXNET3_INC_RING_IDX(cmdRing, in vmxnet3_rx_intr()
380 cmdRing->next2fill); in vmxnet3_rx_intr()
418 rxDesc = VMXNET3_GET_DESC(cmdRing, rxdIdx); in vmxnet3_rx_intr()
419 rxDesc->rxd.gen = cmdRing->gen; in vmxnet3_rx_intr()
424 VMXNET3_INC_RING_IDX(cmdRing, cmdRing->next2fill); in vmxnet3_rx_intr()
449 if (cmdRing->next2fill) { in vmxnet3_rx_intr()
450 rxprod = cmdRing->next2fill - 1; in vmxnet3_rx_intr()
452 rxprod = cmdRing->size - 1; in vmxnet3_rx_intr()