Skip to content

Commit

Permalink
vswitch.xml: Add dpdkvhostuser group status.
Browse files Browse the repository at this point in the history
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: b2e8b12 ("netdev-dpdk: add vhost-user get_status.")
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Simon Horman <horms@ovn.org>
  • Loading branch information
kevintraynor authored and Simon Horman committed Oct 30, 2023
1 parent 8a2418c commit 2ff1dbe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions vswitchd/vswitch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3711,6 +3711,36 @@ ovs-vsctl add-port br0 p0 -- set Interface p0 type=patch options:peer=p1 \
VF representors.
</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>

<group title="Statistics">
Expand Down

0 comments on commit 2ff1dbe

Please sign in to comment.