[ovs-dev] [PATCH 1/2] vswitch.xml: Fix key type and description style of tc-policy.
Ilya Maximets
i.maximets at samsung.com
Fri Aug 24 15:13:19 UTC 2018
The set of supported values specified.
Style fixed to look good in man page. Fixed indents.
CC: Paul Blakey <paulb at mellanox.com>
Fixes: 691d20cbdcf3 ("other-config: Add tc-policy switch to
control tc flower flag")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
---
vswitchd/vswitch.xml | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index a858e8ef4..570c1619f 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -201,16 +201,23 @@
</column>
<column name="other_config" key="tc-policy"
- type='{"type": "string"}'>
- <p>
- Specified the policy used with HW offloading.
- Options:
- <code>none</code> - Add software rule and offload rule to HW.
- <code>skip_sw</code> - Offload rule to HW only.
- <code>skip_hw</code> - Add software rule without offloading rule to HW.
- </p>
- <p>
- This is only relevant if HW offloading is enabled (hw-offload).
+ type='{"type": "string",
+ "enum": ["set", ["none", "skip_sw", "skip_hw"]]}'>
+ <p>
+ Specified the policy used with HW offloading.
+ Options:
+ <dl>
+ <dt><code>none</code></dt>
+ <dd>Add software rule and offload rule to HW.</dd>
+ <dt><code>skip_sw</code></dt>
+ <dd>Offload rule to HW only.</dd>
+ <dt><code>skip_hw</code></dt>
+ <dd>Add software rule without offloading rule to HW.</dd>
+ </dl>
+ </p>
+ <p>
+ This is only relevant if
+ <ref column="other_config" key="hw-offload"/> is enabled.
</p>
<p>
The default value is <code>none</code>.
--
2.17.1
More information about the dev
mailing list