Re: [PATCH linux-next v4 2/8] vdpa: Introduce query of device config layout

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

 




在 2021/10/22 上午12:35, Parav Pandit 写道:
Introduce a command to query a device config layout.

An example query of network vdpa device:

$ vdpa dev add name bar mgmtdev vdpasim_net

$ vdpa dev config show
bar: mac 00:35:09:19:48:05 link up link_announce false mtu 1500


Nit: it looks to me this patch doesn't expose link_announce but max_virtqueue_pairs.

Other looks good.

Thanks



$ vdpa dev config show -jp
{
     "config": {
         "bar": {
             "mac": "00:35:09:19:48:05",
             "link ": "up",
             "link_announce ": false,
             "mtu": 1500,
         }
     }
}

Signed-off-by: Parav Pandit<parav@xxxxxxxxxx>
Signed-off-by: Eli Cohen<elic@xxxxxxxxxx>

---
changelog:
v3->v4:
  - removed config space fields reporting which are not used by mlx5
    and sim drivers

_______________________________________________
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