[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [PATCH v8] virtio-net: support device stats
On Tue, Jan 11 2022, Xuan Zhuo <xuanzhuo@linux.alibaba.com> wrote: > This patch allows the driver to obtain some statistics from the device. > > In the back-end implementation, we can count a lot of such information, > which can be used for debugging and judging the running status of the > back-end. We hope to directly display it to the user through ethtool. > > Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> > Reviewed-by: Jason Wang <jasowang@redhat.com> > --- > > v8: > 1. Modified based on comments by Cornelia Huck > > v7: > 1. add rx_reset, tx_reset > 2. add device normative and dirver normative > 3. add comments for *_packets, *_bytres > > v6: > 1. correct the names and descriptions of some stats items > > v5: > 1. add VIRTIO_NET_CTRL_STATS_GET_CTRL_VQ > 2. more item for virtio_net_ctrl_reply_stats_queue_pair > > v4: > 1. remove dev_stats_num, {rx|tx}_stats_num > 2. Use two commands to get the stats of queue pair and dev respectively > > v3 changes: > 1. add dev_version > 2. use queue_pair_index replace rx_num, tx_num > 3. Explain the processing when the device and driver support different numbers > of stats > > conformance.tex | 2 + > content.tex | 133 +++++++++++++++++++++++++++++++++++++++++++++++- > 2 files changed, 134 insertions(+), 1 deletion(-) LGTM. Unless someone else spots a problem, I think this is ready to vote on, so please open a github issue and link it here.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]