Re: [ovs-dev] [PATCHv2] Documentation: Fix DPDK qos example.

2021-03-01 Thread Ilya Maximets
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

Re: [ovs-dev] [PATCHv2] Documentation: Fix DPDK qos example.

2021-02-18 Thread Eelco Chaudron
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

[ovs-dev] [PATCHv2] Documentation: Fix DPDK qos example.

2021-02-18 Thread William Tu
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