[dpdk-dev] [PATCH 1/2] ethdev: add return value to stats get dev op

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 10 01:57:40 CEST 2017

On 10/9/2017 5:12 PM, Matan Azrad wrote:
> The stats_get dev op API doesn't include return value, so PMD cannot
> return an error in case of failure at stats getting process time.
> Since PCI devices can be removed and there is a time between the
> physical removal to the RMV interrupt, the user may get invalid stats
> without any indication.
> This patch changes the stats_get API return value to be int instead of
> void.
> All the net PMDs stats_get dev ops are adjusted by this patch.
> Signed-off-by: Matan Azrad <matan at mellanox.com>

Hi Matan,

Can you please rebase on top of latest next-net?
There are new PMDs in repo not covered by your patch:
- dpaa
- octeontx
- mrvl
- (perhaps softnic, waiting an updated version of it)


More information about the dev mailing list