Searched refs:xsksq (Results 1 – 5 of 5) sorted by relevance
88 static bool mlx5e_napi_xsk_post(struct mlx5e_xdpsq *xsksq, struct mlx5e_rq *xskrq) in mlx5e_napi_xsk_post() argument97 if (need_wakeup && xsksq->pc == xsksq->cc) in mlx5e_napi_xsk_post()98 xsk_set_tx_need_wakeup(xsksq->xsk_pool); in mlx5e_napi_xsk_post()99 busy_xsk |= mlx5e_xsk_tx(xsksq, MLX5E_TX_XSK_POLL_BUDGET); in mlx5e_napi_xsk_post()101 if (need_wakeup && xsksq->pc != xsksq->cc) in mlx5e_napi_xsk_post()102 xsk_clear_tx_need_wakeup(xsksq->xsk_pool); in mlx5e_napi_xsk_post()130 struct mlx5e_xdpsq *xsksq = &c->xsksq; in mlx5e_napi_poll() local202 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll()203 busy_xsk |= mlx5e_napi_xsk_post(xsksq, xskrq); in mlx5e_napi_poll()247 mlx5e_cq_arm(&xsksq->cq); in mlx5e_napi_poll()
1559 &c->priv->channel_stats[c->ix]->xsksq : in mlx5e_alloc_xdpsq()
316 bool idpf_xsk_xmit(struct idpf_tx_queue *xsksq) in idpf_xsk_xmit() argument320 libeth_xdpsq_lock(&xsksq->xdp_lock); in idpf_xsk_xmit()322 free = xsksq->desc_count - xsksq->pending; in idpf_xsk_xmit()323 if (free < xsksq->thresh) in idpf_xsk_xmit()324 free += idpf_xsksq_complete(xsksq, xsksq->thresh); in idpf_xsk_xmit()326 return libeth_xsk_xmit_do_bulk(xsksq->pool, xsksq, in idpf_xsk_xmit()327 min(free - 1, xsksq->thresh), in idpf_xsk_xmit()630 if (unlikely(!q_vector->xsksq)) in idpf_xsk_wakeup()
1171 qs->qs[num++].txq = qv->xsksq[i]; in idpf_vector_to_queue_set()1174 qs->qs[num++].complq = qv->xsksq[i]->complq; in idpf_vector_to_queue_set()1206 q_vector->xsksq = kzalloc_objs(*q_vector->xsksq, in idpf_qp_enable()1208 if (!q_vector->xsksq) in idpf_qp_enable()1223 q_vector->xsksq[q_vector->num_xsksq++] = q->txq; in idpf_qp_enable()1270 kfree(q_vector->xsksq); in idpf_qp_disable()3825 kfree(q_vector->xsksq); in idpf_vport_intr_rel()3826 q_vector->xsksq = NULL; in idpf_vport_intr_rel()4340 clean_complete &= idpf_xsk_xmit(q_vector->xsksq[i]); in idpf_vport_splitq_napi_poll()4466 qv->xsksq[qv->num_xsksq++] = xdpsq; in idpf_vport_intr_map_vector_to_qs()[all …]
407 struct idpf_tx_queue **xsksq; member