diff mbox series

[ovs-dev,v4,2/2] vswitch: Add missing documentation for "ct_flush" capability

Message ID 20230313071635.89349-2-amusil@redhat.com
State Accepted
Commit e90a0727f17f6ad915a32735a8c0b282f2c8cd6f
Headers show
Series [ovs-dev,v4,1/2] dpctl: Fix flush-conntrack with datapath as argument | 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

Ales Musil March 13, 2023, 7:16 a.m. UTC
Fixes: 08146bf7d9b4 ("openflow: Add extension to flush CT by generic match.")
Signed-off-by: Ales Musil <amusil@redhat.com>
---
v3: Make the connection between the extension in the capability more explicit.
v4: Rebase on top of current master.
---
 vswitchd/vswitch.xml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Simon Horman March 15, 2023, 9:05 a.m. UTC | #1
On Mon, Mar 13, 2023 at 08:16:35AM +0100, Ales Musil wrote:
> Fixes: 08146bf7d9b4 ("openflow: Add extension to flush CT by generic match.")
> Signed-off-by: Ales Musil <amusil@redhat.com>

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Ilya Maximets March 15, 2023, 10:36 p.m. UTC | #2
On 3/15/23 10:05, Simon Horman wrote:
> On Mon, Mar 13, 2023 at 08:16:35AM +0100, Ales Musil wrote:
>> Fixes: 08146bf7d9b4 ("openflow: Add extension to flush CT by generic match.")
>> Signed-off-by: Ales Musil <amusil@redhat.com>
> 
> Reviewed-by: Simon Horman <simon.horman@corigine.com>

Thanks, Ales, Roi and Simon!

I applied the set to master and 3.1.

Best regards, Ilya Maximets.
diff mbox series

Patch

diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 12708a313..4c0ba2187 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -6301,6 +6301,12 @@  ovs-vsctl add-port br0 p0 -- set Interface p0 type=patch options:peer=p1 \
         translated to an ephemeral port. If there is no collision, no SNAT
         is performed.
       </column>
+      <column name="capabilities" key="ct_flush"
+              type='{"type": "boolean"}'>
+        True if the datapath supports CT flush OpenFlow Nicira extension
+        called <code>NXT_CT_FLUSH</code>. The <code>NXT_CT_FLUSH</code>
+        extensions allows to flush CT entries based on specified parameters.
+      </column>
     </group>
 
     <group title="Common Columns">