Re: [dpdk-dev] [PATCH] [RFC]: adds support PPS(packet per second) on meter

2021-02-22 Thread Li Zhang
ev On Behalf Of Ajit Khaparde > Sent: Saturday, February 13, 2021 5:36 AM > To: Li Zhang > Cc: Dekel Peled ; Ori Kam ; Slava > Ovsiienko ; Matan Azrad ; > dpdk-dev ; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh > Subject: Re: [dpdk-dev] [PATCH] [RFC]: adds support PPS(pa

Re: [dpdk-dev] [PATCH] [RFC]: adds support PPS(packet per second) on meter

2021-02-12 Thread Ajit Khaparde
On Sun, Jan 24, 2021 at 5:02 PM Li Zhang wrote: > Currently the flow Meter algorithms in rte_flow only supports bytes per > second(BPS). > Such as Single Rate Three Color Marker (srTCM rfc2697) > This RFC adds the packet per second definition in Meter algorithms > structure, > to support the rte_

[dpdk-dev] [PATCH] [RFC]: adds support PPS(packet per second) on meter

2021-01-24 Thread Li Zhang
Currently the flow Meter algorithms in rte_flow only supports bytes per second(BPS). Such as Single Rate Three Color Marker (srTCM rfc2697) This RFC adds the packet per second definition in Meter algorithms structure, to support the rte_mtr APIs with type srTCM pps mode. The below structure will b