[dpdk-dev] [dpdk-stable] [PATCH] telemetry: fix error when using ports of different types

Thomas Monjalon thomas at monjalon.net
Fri Dec 21 16:33:34 CET 2018


21/12/2018 14:27, Laatz, Kevin:
> On 19/12/2018 11:59, Bruce Richardson wrote:
> > Different NIC ports can have different numbers of xstats on them, which
> > means that we can't just use the xstats list from the first port registered
> > in the telemetry library. Instead, we need to check the type of each port -
> > by checking its ops structure pointer - and register each port type once
> > with the metrics lib.
> >
> > CC: stable at dpdk.org
> > Fixes: fdbdb3f9ce46 ("telemetry: add initial connection socket")
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> Acked-by: Kevin Laatz <kevin.laatz at intel.com>

Applied, thanks




More information about the dev mailing list