Home
last modified time | relevance | path

Searched refs:txq_sp (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev.c419 struct cnxk_eth_txq_sp *txq_sp; in cnxk_nix_tx_queue_setup() local
452 if (!txq_sp) { in cnxk_nix_tx_queue_setup()
458 txq_sp->dev = dev; in cnxk_nix_tx_queue_setup()
459 txq_sp->qid = qid; in cnxk_nix_tx_queue_setup()
460 txq_sp->qconf.conf.tx = *tx_conf; in cnxk_nix_tx_queue_setup()
463 txq_sp->qconf.nb_desc = nb_desc; in cnxk_nix_tx_queue_setup()
480 struct cnxk_eth_txq_sp *txq_sp; in cnxk_nix_tx_queue_release() local
488 txq_sp = cnxk_eth_txq_to_sp(txq); in cnxk_nix_tx_queue_release()
490 dev = txq_sp->dev; in cnxk_nix_tx_queue_release()
501 plt_free(txq_sp); in cnxk_nix_tx_queue_release()
[all …]
H A Dcnxk_ethdev_ops.c739 struct cnxk_eth_txq_sp *txq_sp = cnxk_eth_txq_to_sp(txq); in cnxk_nix_txq_info_get() local
743 qinfo->nb_desc = txq_sp->qconf.nb_desc; in cnxk_nix_txq_info_get()
745 memcpy(&qinfo->conf, &txq_sp->qconf.conf.tx, sizeof(qinfo->conf)); in cnxk_nix_txq_info_get()
793 struct cnxk_eth_txq_sp *txq_sp = cnxk_eth_txq_to_sp(txq); in cnxk_nix_tx_descriptor_status() local
794 struct roc_nix *nix = &txq_sp->dev->nix; in cnxk_nix_tx_descriptor_status()
797 if (txq_sp->qconf.nb_desc <= offset) in cnxk_nix_tx_descriptor_status()
800 roc_nix_sq_head_tail_get(nix, txq_sp->qid, &head, &tail); in cnxk_nix_tx_descriptor_status()