[dpdk-dev] [PATCH v4 02/10] ethdev: update xstats_get() strings and Q handling
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Nov 2 08:59:26 CET 2015
2015-10-30 11:36, Harry van Haaren:
> + /* if xstats_get() is implemented by the PMD, the Q stats are done */
> + if (dev->dev_ops->xstats_get != NULL)
> + return count + xcount;
> +
> /* per-rxq stats */
> for (q = 0; q < dev->data->nb_rx_queues; q++) {
> for (i = 0; i < RTE_NB_RXQ_STATS; i++) {
Please could you explain why the generic per-queue stats are not used when
xstats is implemented in the driver?
More information about the dev
mailing list