Searched refs:refillq (Results 1 – 3 of 3) sorted by relevance
120 if (!xdp && txq->refillq) in idpf_tx_desc_rel()121 kfree(txq->refillq->ring); in idpf_tx_desc_rel()204 struct idpf_sw_queue *refillq; in idpf_tx_desc_alloc() local233 refillq = tx_q->refillq; in idpf_tx_desc_alloc()234 refillq->desc_count = tx_q->buf_pool_size; in idpf_tx_desc_alloc()235 refillq->ring = kcalloc(refillq->desc_count, sizeof(u32), in idpf_tx_desc_alloc()237 if (!refillq->ring) { in idpf_tx_desc_alloc()242 for (unsigned int i = 0; i < refillq->desc_count; i++) in idpf_tx_desc_alloc()243 refillq->ring[i] = in idpf_tx_desc_alloc()246 idpf_queue_has(GEN_CHK, refillq)); in idpf_tx_desc_alloc()[all …]
691 struct idpf_sw_queue *refillq; member898 struct idpf_sw_queue *refillq[IDPF_MAX_BUFQS_PER_RXQ_GRP]; member1070 static inline u32 idpf_tx_splitq_get_free_bufs(struct idpf_sw_queue *refillq) in idpf_tx_splitq_get_free_bufs() argument1072 return (refillq->next_to_use > refillq->next_to_clean ? in idpf_tx_splitq_get_free_bufs()1073 0 : refillq->desc_count) + in idpf_tx_splitq_get_free_bufs()1074 refillq->next_to_use - refillq->next_to_clean - 1; in idpf_tx_splitq_get_free_bufs()
183 kfree(xdpsq->refillq); in idpf_xdpsqs_get()184 xdpsq->refillq = NULL; in idpf_xdpsqs_get()226 xdpsq->refillq = NULL; in idpf_xdpsqs_put()