Re: [dpdk-dev] [PATCH v5 1/4] ethdev: add packet mode in meter profile structure

2021-04-17 Thread Thomas Monjalon
13/04/2021 17:59, 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 > specifie

[dpdk-dev] [PATCH v5 1/4] ethdev: add packet mode in meter profile structure

2021-04-13 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