Lines Matching refs:rxPool
92 vmxnet3_rxpool_t *rxPool = &dp->rxPool; in vmxnet3_put_rxpool_buf() local
96 ASSERT(rxPool->nBufs <= rxPool->nBufsLimit); in vmxnet3_put_rxpool_buf()
97 if ((dp->devEnabled || init) && rxPool->nBufs < rxPool->nBufsLimit) { in vmxnet3_put_rxpool_buf()
98 ASSERT((rxPool->listHead == NULL && rxPool->nBufs == 0) || in vmxnet3_put_rxpool_buf()
99 (rxPool->listHead != NULL && rxPool->nBufs != 0)); in vmxnet3_put_rxpool_buf()
100 rxBuf->next = rxPool->listHead; in vmxnet3_put_rxpool_buf()
101 rxPool->listHead = rxBuf; in vmxnet3_put_rxpool_buf()
102 rxPool->nBufs++; in vmxnet3_put_rxpool_buf()
130 vmxnet3_rxpool_t *rxPool = &dp->rxPool; in vmxnet3_get_rxpool_buf() local
134 if (rxPool->listHead != NULL) { in vmxnet3_get_rxpool_buf()
135 rxBuf = rxPool->listHead; in vmxnet3_get_rxpool_buf()
136 rxPool->listHead = rxBuf->next; in vmxnet3_get_rxpool_buf()
137 rxPool->nBufs--; in vmxnet3_get_rxpool_buf()
138 ASSERT((rxPool->listHead == NULL && rxPool->nBufs == 0) || in vmxnet3_get_rxpool_buf()
139 (rxPool->listHead != NULL && rxPool->nBufs != 0)); in vmxnet3_get_rxpool_buf()
157 ASSERT(dp->rxPool.nBufsLimit > 0); in vmxnet3_rxpool_init()
158 while (dp->rxPool.nBufs < dp->rxPool.nBufsLimit) { in vmxnet3_rxpool_init()
245 dp->rxPool.nBufsLimit = vmxnet3_getprop(dp, "RxBufPoolLimit", 0, in vmxnet3_rxqueue_init()