Re: [PATCH net-next v4 7/8] netdev: add queue stats

2024-03-15 Thread Xuan Zhuo
On Thu, 14 Mar 2024 16:21:42 -0700, Jakub Kicinski wrote: > On Thu, 14 Mar 2024 16:54:58 +0800 Xuan Zhuo wrote: > > + - > > +name: rx-hw-drops > > +doc: | > > + Number of packets that arrived at the device but never left it, > > + encompassing packets dropped

Re: [PATCH net-next v4 8/8] virtio-net: support queue stat

2024-03-15 Thread Xuan Zhuo
On Thu, 14 Mar 2024 15:56:16 -0700, Jakub Kicinski wrote: > On Thu, 14 Mar 2024 16:54:59 +0800 Xuan Zhuo wrote: > > +static void virtnet_get_base_stats(struct net_device *dev, > > + struct netdev_queue_stats_rx *rx, > > + struct netdev_queu

Re: [PATCH net-next v4 3/8] virtio_net: support device stats

2024-03-15 Thread Xuan Zhuo
On Thu, 14 Mar 2024 15:54:25 -0700, Jakub Kicinski wrote: > On Thu, 14 Mar 2024 16:54:54 +0800 Xuan Zhuo wrote: > > make virtio-net support getting the stats from the device by ethtool -S > > . > > > > Due to the numerous descriptors stats, an organization method is > > required. For this purpose,