diff mbox series

[ovs-dev,1/2] vswitch.xml: Add dpdkvhostuser group status.

Message ID 20231020190022.465940-1-ktraynor@redhat.com
State Superseded
Headers show
Series [ovs-dev,1/2] vswitch.xml: Add dpdkvhostuser group status. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/intel-ovs-compilation success test: success

Commit Message

Kevin Traynor Oct. 20, 2023, 7 p.m. UTC
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 <ktraynor@redhat.com>
---
 vswitchd/vswitch.xml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Comments

Simon Horman Oct. 25, 2023, 9:37 a.m. UTC | #1
On Fri, Oct 20, 2023 at 08:00:21PM +0100, Kevin Traynor wrote:
> 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 <ktraynor@redhat.com>

Thanks Kevin,

I verified that this change correlates with the cited commit,
that the documentation seems logical (to me),
and that both the CI and checkpatch are happy.

Acked-by: Simon Horman <horms@ovn.org>
diff mbox series

Patch

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>