RE: [PATCH 1/2] vdpa: Add support for querying statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> From: Jason Wang <jasowang@xxxxxxxxxx>
> Sent: Monday, November 22, 2021 3:02 PM
> 
> > If we go with vendor stats, how can we communicate the information to
> > userspace? Currenlty we use netlink attributes defined to pass this
> > information.
> 
> It can be done exactly as what have been done in the patch, we can document
> it as vendor stats.
> 
Yes, attribute to have VENDOR_ prefix in it.
> 
> Ok, I think I get you. So I wonder if it's more useful to use device specific
> counters. For networking, it could be packets send/received etc.

Yes, I equally discussed this previously with Eli as its more meaningful for end users.
We just return the device id of it along with queue number that helps to show tx and rx.
For ctrl q, it is just ctrl commands and ctrl completions.
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux