Re: [dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter

2021-04-13 Thread Li Zhang
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Tuesday, April 13, 2021 7:06 PM > To: Li Zhang ; dek...@nvidia.com; Ori Kam > ; Slava Ovsiienko ; Matan > Azrad ; Shahaf Shuler ; > cristian.dumitre...@intel.com; lir...@marvell.com; jer...@marvell.com > Cc: dev@dpdk.org; NBU-

Re: [dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter

2021-04-13 Thread Ferruh Yigit
On 4/13/2021 12:02 PM, Li Zhang wrote: Hi Ferruh, -Original Message- From: Ferruh Yigit Sent: Tuesday, April 13, 2021 6:25 PM To: Li Zhang ; dek...@nvidia.com; Ori Kam ; Slava Ovsiienko ; Matan Azrad ; Shahaf Shuler ; cristian.dumitre...@intel.com; lir...@marvell.com; jer...@marvell.co

Re: [dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter

2021-04-13 Thread Li Zhang
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Tuesday, April 13, 2021 6:25 PM > To: Li Zhang ; dek...@nvidia.com; Ori Kam > ; Slava Ovsiienko ; Matan > Azrad ; Shahaf Shuler ; > cristian.dumitre...@intel.com; lir...@marvell.com; jer...@marvell.com > Cc: dev@dpdk.org; NBU-Co

Re: [dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter

2021-04-13 Thread Ferruh Yigit
On 4/13/2021 4:50 AM, Li Zhang wrote: Currently meter algorithms only supports rate is bytes per second(BPS). Add packet_mode flag in meter profile parameters data structure. So that it can meter traffic by packet per second. When packet_mode is 0, the profile rates and bucket sizes are specifie

[dpdk-dev] [PATCH v4 0/4] Support PPS(packet per second) on meter

2021-04-12 Thread Li Zhang
Currently meter algorithms only supports rate is bytes per second(BPS). Add packet_mode flag in meter profile parameters data structure. So that it can meter traffic by packet per second. When packet_mode is 0, the profile rates and bucket sizes are specified in bytes per second and bytes when pac