Searched refs:txq_ctrl (Results 1 – 11 of 11) sorted by relevance
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_txq.c | 46 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx, elts_n); in txq_alloc_elts() 68 PORT_ID(txq_ctrl->priv), txq_ctrl->txq.idx); in txq_free_elts() 204 txq_free_elts(txq_ctrl); in mlx5_tx_queue_stop_primary() 397 if (!txq_ctrl) { in mlx5_tx_queue_setup() 467 if (!txq_ctrl) { in mlx5_tx_hairpin_queue_setup() 925 txq_ctrl->max_inline_data = RTE_MAX(txq_ctrl->max_inline_data, in txq_set_params() 1038 txq_ctrl->max_inline_data = RTE_MAX(txq_ctrl->txq.inlen_send, in txq_adjust_params() 1042 MLX5_ASSERT(txq_ctrl->txq.inlen_mode <= txq_ctrl->txq.inlen_send); in txq_adjust_params() 1043 MLX5_ASSERT(txq_ctrl->txq.inlen_mode <= txq_ctrl->txq.inlen_empw || in txq_adjust_params() 1206 if (txq_ctrl->obj) { in mlx5_txq_release() [all …]
|
| H A D | mlx5_trigger.c | 60 if (!txq_ctrl) in mlx5_txq_start() 67 if (!txq_ctrl->obj) { in mlx5_txq_start() 77 txq_ctrl->obj = NULL; in mlx5_txq_start() 281 if (!txq_ctrl) in mlx5_hairpin_auto_bind() 299 if (!txq_ctrl) in mlx5_hairpin_auto_bind() 307 if (!txq_ctrl->obj) { in mlx5_hairpin_auto_bind() 422 if (txq_ctrl->obj == NULL || txq_ctrl->obj->sq == NULL) { in mlx5_hairpin_queue_peer_update() 520 if (txq_ctrl->obj == NULL || txq_ctrl->obj->sq == NULL) { in mlx5_hairpin_queue_peer_bind() 661 if (!txq_ctrl->obj || !txq_ctrl->obj->sq) { in mlx5_hairpin_queue_peer_unbind() 1017 if (!txq_ctrl) in mlx5_hairpin_get_peer_ports() [all …]
|
| H A D | mlx5_tx.c | 41 tx_recover_qp(struct mlx5_txq_ctrl *txq_ctrl) in tx_recover_qp() argument 45 .queue_id = txq_ctrl->txq.idx, in tx_recover_qp() 50 txq_ctrl->txq.wqe_ci = 0; in tx_recover_qp() 51 txq_ctrl->txq.wqe_pi = 0; in tx_recover_qp() 52 txq_ctrl->txq.elts_comp = 0; in tx_recover_qp() 90 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_tx_error_cqe_handle() local 95 if (!seen && txq_ctrl->dump_file_n < in mlx5_tx_error_cqe_handle() 117 txq_ctrl->dump_file_n++; in mlx5_tx_error_cqe_handle() 128 if (tx_recover_qp(txq_ctrl)) { in mlx5_tx_error_cqe_handle() 133 txq_free_elts(txq_ctrl); in mlx5_tx_error_cqe_handle() [all …]
|
| H A D | mlx5_devx.c | 1132 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_txq_obj_hairpin_new() local 1135 struct mlx5_txq_obj *tmpl = txq_ctrl->obj; in mlx5_txq_obj_hairpin_new() 1140 tmpl->txq_ctrl = txq_ctrl; in mlx5_txq_obj_hairpin_new() 1214 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_txq_create_devx_sq_resources() local 1216 struct mlx5_txq_obj *txq_obj = txq_ctrl->obj; in mlx5_txq_create_devx_sq_resources() 1255 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_txq_devx_obj_new() local 1258 if (txq_ctrl->is_hairpin) in mlx5_txq_devx_obj_new() 1268 struct mlx5_txq_obj *txq_obj = txq_ctrl->obj; in mlx5_txq_devx_obj_new() 1280 txq_obj->txq_ctrl = txq_ctrl; in mlx5_txq_devx_obj_new() 1374 txq_ctrl->uar_mmap_offset = in mlx5_txq_devx_obj_new() [all …]
|
| H A D | mlx5_rxtx.c | 387 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_queue_state_modify_primary() local 390 ret = priv->obj_ops.txq_obj_modify(txq_ctrl->obj, in mlx5_queue_state_modify_primary()
|
| H A D | mlx5_tx.h | 216 void txq_alloc_elts(struct mlx5_txq_ctrl *txq_ctrl); 217 void txq_free_elts(struct mlx5_txq_ctrl *txq_ctrl);
|
| H A D | mlx5.h | 1367 struct mlx5_txq_ctrl *txq_ctrl; /* Pointer to the control queue. */ member
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_verbs.c | 863 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_txq_ibv_qp_create() local 869 MLX5_ASSERT(txq_ctrl->obj->cq); in mlx5_txq_ibv_qp_create() 871 qp_attr.send_cq = txq_ctrl->obj->cq; in mlx5_txq_ibv_qp_create() 873 qp_attr.recv_cq = txq_ctrl->obj->cq; in mlx5_txq_ibv_qp_create() 914 struct mlx5_priv *priv = txq_ctrl->priv; in mlx5_txq_ibv_uar_init() 917 struct mlx5_txq_data *txq = &txq_ctrl->txq; in mlx5_txq_ibv_uar_init() 955 struct mlx5_txq_ctrl *txq_ctrl = in mlx5_txq_ibv_obj_new() local 957 struct mlx5_txq_obj *txq_obj = txq_ctrl->obj; in mlx5_txq_ibv_obj_new() 967 txq_obj->txq_ctrl = txq_ctrl; in mlx5_txq_ibv_obj_new() 1064 txq_ctrl->uar_mmap_offset = qp.uar_mmap_offset; in mlx5_txq_ibv_obj_new() [all …]
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_tx.c | 189 txq = &sa->txq_ctrl[sw_index]; in sfc_tx_qinit() 287 txq = &sa->txq_ctrl[sw_index]; in sfc_tx_qfini() 427 sa->txq_ctrl = calloc(nb_txq_total, sizeof(sa->txq_ctrl[0])); in sfc_tx_configure() 428 if (sa->txq_ctrl == NULL) in sfc_tx_configure() 445 new_txq_ctrl = realloc(sa->txq_ctrl, in sfc_tx_configure() 451 sa->txq_ctrl = new_txq_ctrl; in sfc_tx_configure() 458 sizeof(sa->txq_ctrl[0])); in sfc_tx_configure() 505 free(sa->txq_ctrl); in sfc_tx_close() 506 sa->txq_ctrl = NULL; in sfc_tx_close() 535 txq = &sa->txq_ctrl[sw_index]; in sfc_tx_qstart() [all …]
|
| H A D | sfc.h | 295 struct sfc_txq *txq_ctrl; member
|
| /dpdk/drivers/net/vmxnet3/ |
| H A D | vmxnet3_rxtx.c | 402 Vmxnet3_TxQueueCtrl *txq_ctrl = &txq->shared->ctrl; in vmxnet3_xmit_pkts() local 403 uint32_t deferred = rte_le_to_cpu_32(txq_ctrl->txNumDeferred); in vmxnet3_xmit_pkts() 571 txq_ctrl->txNumDeferred = rte_cpu_to_le_32(deferred); in vmxnet3_xmit_pkts() 575 PMD_TX_LOG(DEBUG, "vmxnet3 txThreshold: %u", rte_le_to_cpu_32(txq_ctrl->txThreshold)); in vmxnet3_xmit_pkts() 577 if (deferred >= rte_le_to_cpu_32(txq_ctrl->txThreshold)) { in vmxnet3_xmit_pkts() 578 txq_ctrl->txNumDeferred = 0; in vmxnet3_xmit_pkts()
|