On 2/18/21 5:52 PM, Eelco Chaudron wrote:
> 
> 
> On 18 Feb 2021, at 16:24, William Tu wrote:
> 
>> Fix the example use case based on the decription.
>> EIR and CIR are measured in bytes/sec and considered 64-byte
>> IP packets size withtout 14-byte Ethernet header.
>> So fix the 1000pps example by: (64 - 14) * 1000 = 50,000
>> If the frame includes 4-byte FCS header, then it's
>> (64 - 14 - 4) * 1000 = 46,000
>>
>> Fixes: e61bdffc2a98 ("netdev-dpdk: Add new DPDK RFC 4115 egress policer")
>> Signed-off-by: William Tu <u9012...@gmail.com>
> 
> Looks good, thanks for taking the time to fix this!
> 
> Acked-by: Eelco Chaudron <echau...@redhat.com>

Thanks!
Applied to master and backported down to 2.13.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to