On Mon, Apr 12, 2021 at 12:29 PM Jerin Jacob wrote: > > On Tue, Apr 13, 2021 at 12:54 AM Dumitrescu, Cristian > wrote: > > > > > > > > > -----Original Message----- > > > From: Li Zhang > > > Sent: Saturday, April 10, 2021 8:25 AM > > > To: dekelp@nvidia.com; orika@nvidia.com; viacheslavo@nvidia.com; > > > matan@nvidia.com; shahafs@nvidia.com; Dumitrescu, Cristian > > > ; lironh@marvell.com; Thomas Monjalon > > > ; Yigit, Ferruh ; Andrew > > > Rybchenko > > > Cc: dev@dpdk.org; rasland@nvidia.com; roniba@nvidia.com > > > Subject: [PATCH v3 1/4] ethdev: add packet mode in meter profile structure > > > > > > 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 packet_mode is not 0, the profile rates and bucket sizes are > > > specified in packets and packets per second. > > > > > > The below structure will be extended: > > > rte_mtr_meter_profile > > > rte_mtr_capabilities > > > > > > Signed-off-by: Li Zhang > > > Acked-by: Matan Azrad > > > Acked-by: Jerin Jacob Acked-by: Ajit Khaparde