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

Ajit Khaparde ajit.khaparde at broadcom.com
Tue Apr 13 05:48:01 CEST 2021


On Mon, Apr 12, 2021 at 12:29 PM Jerin Jacob <jerinjacobk at gmail.com> wrote:
>
> On Tue, Apr 13, 2021 at 12:54 AM Dumitrescu, Cristian
> <cristian.dumitrescu at intel.com> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: Li Zhang <lizh at nvidia.com>
> > > Sent: Saturday, April 10, 2021 8:25 AM
> > > To: dekelp at nvidia.com; orika at nvidia.com; viacheslavo at nvidia.com;
> > > matan at nvidia.com; shahafs at nvidia.com; Dumitrescu, Cristian
> > > <cristian.dumitrescu at intel.com>; lironh at marvell.com; Thomas Monjalon
> > > <thomas at monjalon.net>; Yigit, Ferruh <ferruh.yigit at intel.com>; Andrew
> > > Rybchenko <andrew.rybchenko at oktetlabs.ru>
> > > Cc: dev at dpdk.org; rasland at nvidia.com; roniba at 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 <lizh at nvidia.com>
> > > Acked-by: Matan Azrad <matan at nvidia.com>
>
>
> Acked-by: Jerin Jacob <jerinj at marvell.com>
Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>


More information about the dev mailing list