2015-11-02 10:17, Van Haaren, Harry:
> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > Sent: Monday, November 2, 2015 7:59 AM
> > > + /* if xstats_get() is implemented by the PMD, the Q stats are
> > > done */
> > > + if (dev->dev_ops->xstats_get != NULL)
> > > +
Hi,
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Monday, November 2, 2015 7:59 AM
> > + /* if xstats_get() is implemented by the PMD, the Q stats are done
> > */
> > + if (dev->dev_ops->xstats_get != NULL)
> > + return count + xcount;
> > +
> >
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++) {
>
Update the strings used for presenting stats to adhere
to the scheme previously presented. Updated xstats_get()
function to handle Q information only if xstats() is not
implemented in the PMD, providing the PMD with the needed
flexibility to expose its extended Q stats.
Signed-off-by: Harry van Ha
4 matches
Mail list logo