> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> > +/* [rt]x_qX_ is prepended to the name string here */ static const
> > +struct rte_virtio_xstats_name_off rte_virtio_q_stat_strings[] = {
> > + {"packets", offsetof(struct virtqueue, packets)},
> > + {"bytes", offsetof(struct
On Wed, 30 Sep 2015 10:40:15 +0100
Harry van Haaren wrote:
> +/* [rt]x_qX_ is prepended to the name string here */
> +static const struct rte_virtio_xstats_name_off rte_virtio_q_stat_strings[] =
> {
> + {"packets", offsetof(struct virtqueue, packets)},
> + {"bytes", offsetof(struct virtq
Add xstats() functions and statistic strings to virtio PMD.
Signed-off-by: Harry van Haaren
---
drivers/net/virtio/virtio_ethdev.c | 82 +-
1 file changed, 80 insertions(+), 2 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/
3 matches
Mail list logo