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 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 1e2a1267d..403b954c2 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -3822,4 +3822,32 @@ 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 options.
+        </p>
+          <column name="status" key="mode">
+            Client or server vhost mode.
+          </column>
+          <column name="status" key="features">
+            vhost features bitmap.
+          </column>
+          <column name="status" key="num_of_vrings">
+            Number of vrings.
+          </column>
+          <column name="status" key="numa">
+            Vhost numa association.
+          </column>
+          <column name="status" key="socket">
+            Vhost socket path.
+          </column>
+          <column name="status" key="status">
+            Status of connection.
+          </column>
+          <column name="status" key="vring_n_size">
+            Size of vring n.
+          </column>
+      </group>
     </group>
 
-- 
2.41.0

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

Reply via email to