> From: Olivier MATZ [mailto:olivier.matz at 6wind.com]
> Sent: Wednesday, July 15, 2015 10:19 AM
> To: Tahhan, Maryam; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v4 3/8] ethdev: expose extended error stats
>
> Hi Maryam,
>
> The API of the driver-specific function
Hi Maryam,
The API of the driver-specific function should be the same than
the generic one, described in rte_ethdev.h.
What I mean is:
- the xstats pointer is the place where the xstats should be written
by the driver
- the n argument is the number of entries in the xstats structure
The
Extend rte_eth_xstats_get to retrieve additional stats from the device
driver as well the ethdev generic stats.
Signed-off-by: Maryam Tahhan
---
drivers/net/ixgbe/ixgbe_ethdev.c | 7 ---
lib/librte_ether/rte_ethdev.c| 25 -
2 files changed, 20 insertions(+), 12 d
3 matches
Mail list logo