The "rate" column of Meter_Band says the value is in bits per second
when the parent Meter's unit is "pktps".  That unit means packets per
second, as the Meter "unit" column and the "burst_size" column already
state, and ovn-controller programs such meters with OFPMF13_PKTPS.

Fixes: 2a9d1242d521 ("ovn: Add Meter and Meter_Band tables to the NB and SB 
databases.")
Signed-off-by: Alexandra Rukomoinikova <[email protected]>
Assisted-by: Claude Opus 5.5 <[email protected]>
---
 ovn-nb.xml | 2 +-
 ovn-sb.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ovn-nb.xml b/ovn-nb.xml
index 377397523..72cdcb96e 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -3520,7 +3520,7 @@ or
 
     <column name="rate">
       <p>
-        The rate limit for this band, in kilobits per second or bits per
+        The rate limit for this band, in kilobits per second or packets per
         second, depending on whether the parent <ref table="Meter"/>
         entry's <ref column="unit" table="Meter"/> column specified
         <code>kbps</code> or <code>pktps</code>.
diff --git a/ovn-sb.xml b/ovn-sb.xml
index db5faac66..8fc6537d2 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -3180,7 +3180,7 @@ tcp.flags = RST;
 
     <column name="rate">
       <p>
-        The rate limit for this band, in kilobits per second or bits per
+        The rate limit for this band, in kilobits per second or packets per
         second, depending on whether the parent <ref table="Meter"/>
         entry's <ref column="unit" table="Meter"/> column specified
         <code>kbps</code> or <code>pktps</code>.
-- 
2.48.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to