[dpdk-dev] [PATCH 08/20] thunderx/nicvf: add tx_queue_setup/release support

Pattan, Reshma reshma.pattan at intel.com
Thu May 19 14:19:26 CEST 2016



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob
> Sent: Saturday, May 7, 2016 4:16 PM
> To: dev at dpdk.org
> Cc: thomas.monjalon at 6wind.com; Richardson, Bruce
> <bruce.richardson at intel.com>; Jerin Jacob
> <jerin.jacob at caviumnetworks.com>; Maciej Czekaj
> <maciej.czekaj at caviumnetworks.com>; Kamil Rytarowski
> <Kamil.Rytarowski at caviumnetworks.com>; Zyta Szpak
> <zyta.szpak at semihalf.com>; Slawomir Rosek <slawomir.rosek at semihalf.com>;
> Radoslaw Biernacki <rad at semihalf.com>
> Subject: [dpdk-dev] [PATCH 08/20] thunderx/nicvf: add tx_queue_setup/release
> support
> +				txq->txq_flags &
> ETH_TXQ_FLAGS_NOMULTMEMP);
> +
> +	/* Choose optimum free threshold value for multipool case */
> +	if (!txq->is_single_pool)
> +		txq->tx_free_thresh =
> +		(uint16_t)(tx_conf->tx_free_thresh ==
> DEFAULT_TX_FREE_THRESH ?
> +				DEFAULT_TX_FREE_MPOOL_THRESH :
> +				tx_conf->tx_free_thresh);
> +	txq->tail = 0;
> +	txq->head = 0;
> +

txq->tail and txq->head are set to 0 in nicvf_tx_queue_reset().  So will that be ok to remove here?

Thanks,
Reshma


More information about the dev mailing list