Home
last modified time | relevance | path

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

/dpdk/drivers/net/sfc/
H A Dsfc_tx.c390 const unsigned int nb_txq_total = nb_tx_queues + nb_rsvd_tx_queues; in sfc_tx_configure() local
411 if (nb_txq_total == sas->txq_count) in sfc_tx_configure()
416 sas->txq_info = rte_calloc_socket("sfc-txqs", nb_txq_total, in sfc_tx_configure()
427 sa->txq_ctrl = calloc(nb_txq_total, sizeof(sa->txq_ctrl[0])); in sfc_tx_configure()
441 nb_txq_total * sizeof(sas->txq_info[0]), 0); in sfc_tx_configure()
442 if (new_txq_info == NULL && nb_txq_total > 0) in sfc_tx_configure()
446 nb_txq_total * sizeof(sa->txq_ctrl[0])); in sfc_tx_configure()
447 if (new_txq_ctrl == NULL && nb_txq_total > 0) in sfc_tx_configure()
452 if (nb_txq_total > sas->txq_count) { in sfc_tx_configure()
454 (nb_txq_total - sas->txq_count) * in sfc_tx_configure()
[all …]