Add group for dpdkvhostuser(/client) netdev.

Adding as a single group as they display the same status,
one of which is 'mode' to indicate if it's client or server.

Fixes: b2e8b12f8a82 ("netdev-dpdk: add vhost-user get_status.")
Signed-off-by: Kevin Traynor <ktray...@redhat.com>
---
 vswitchd/vswitch.xml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 1e2a1267d..2c2bdfa57 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -3822,4 +3822,34 @@ ovs-vsctl add-port br0 p0 -- set Interface p0 type=patch 
options:peer=p1 \
           </column>
       </group>
+
+      <group title="dpdkvhostuser">
+        <p>
+          dpdkvhostuser and dpdkvhostuserclient
+          netdev specific interface status information.
+        </p>
+          <column name="status" key="mode">
+            client (connecting) or server (listening) in the socket
+            communication.
+          </column>
+          <column name="status" key="features">
+            virtio features bitmap as per virtio specification.
+          </column>
+          <column name="status" key="num_of_vrings">
+            The number of available virtqueues.
+          </column>
+          <column name="status" key="numa">
+            The numa id of the device and guest memory.
+          </column>
+          <column name="status" key="socket">
+            The path to the socket used for communication.
+          </column>
+          <column name="status" key="status">
+            Status of connection to the device.
+          </column>
+          <column name="status" key="vring_n_size">
+            Each virtqueue will have it's size reported, where n is the
+            virtqueue number from 0..(num_of_vrings-1).
+          </column>
+      </group>
     </group>
 
-- 
2.41.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to