[ovs-dev] [PATCH v2 1/3] dpif-netdev-unixctl.man: Document subtable-lookup-* CMDs

Cian Ferriter cian.ferriter at intel.com
Fri Aug 13 15:41:06 UTC 2021


Document the "ovs-appctl dpif-netdev/subtable-lookup-prio-get" and
"ovs-appctl dpif-netdev/subtable-lookup-prio-set" commands in the
vswitchd manpage.

Fixes: 9ff7cabfd78d ("dpif-netdev: add subtable-lookup-prio-get command.")
Fixes: 3d018c3ea79d ("dpif-netdev: add subtable lookup prio set command.")
Signed-off-by: Cian Ferriter <cian.ferriter at intel.com>

---

v2:
- Add one line summary in commit message.
- Add that the number of affected dpcls ports and subtables is returned.
---
 lib/dpif-netdev-unixctl.man | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/dpif-netdev-unixctl.man b/lib/dpif-netdev-unixctl.man
index 80304ad35..e8d904437 100644
--- a/lib/dpif-netdev-unixctl.man
+++ b/lib/dpif-netdev-unixctl.man
@@ -232,6 +232,18 @@ When this is the case, the above command prints the load-balancing information
 of the bonds configured in datapath \fIdp\fR showing the interface associated
 with each bucket (hash).
 .
+.IP "\fBdpif-netdev/subtable-lookup-prio-get\fR"
+Lists the DPCLS implementations or lookup functions that are available as well
+as their priorities.
+.
+.IP "\fBdpif-netdev/subtable-lookup-prio-set\fR \fIlookup_function\fR \
+\fIprio\fR"
+Sets the priority of a lookup function by name, \fIlookup_function\fR, and
+priority, \fIprio\fR, which should be a positive integer value.  The highest
+priority lookup function is used for classification.
+
+The number of affected dpcls ports and subtables is returned.
+.
 .IP "\fBdpif-netdev/dpif-impl-get\fR
 Lists the DPIF implementations that are available.
 .
-- 
2.32.0



More information about the dev mailing list