Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-04-01 Thread Li Zhang
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, April 1, 2021 3:45 PM > To: Li Zhang > Cc: Ori Kam ; Slava Ovsiienko ; > Matan Azrad ; cristian.dumitre...@intel.com; > lir...@marvell.com; dev@dpdk.org; Raslan Darawsheh > ; Roni Bar Yanai > Subject: Re: [PATCH 0/2] Check

Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-04-01 Thread Thomas Monjalon
01/04/2021 09:37, Li Zhang: > Thanks, I will change it in V2 patch. Not sure you should do a v2. I think this patchset is needed only because of your other patchset. So it should be integrated with the other one. Am I missing something? > > > > > Depends-on: series=16002 ("Support PPS(packet per

Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-04-01 Thread Li Zhang
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, April 1, 2021 3:05 PM > To: Li Zhang > Cc: Ori Kam ; Slava Ovsiienko ; > Matan Azrad ; cristian.dumitre...@intel.com; > lir...@marvell.com; dev@dpdk.org; Raslan Darawsheh > ; Roni Bar Yanai > Subject: Re: [PATCH 0/2] Check

Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-04-01 Thread Thomas Monjalon
01/04/2021 08:52, Li Zhang: > From: Thomas Monjalon > > 01/04/2021 08:16, Li Zhang: > > > Currently meter algorithms only supports rate is bytes per second(BPS). > > > Add packet_mode flag in meter profile parameters data structure in RTE. > > > > What means RTE? > > I see no flag added in these

Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-03-31 Thread Li Zhang
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Thursday, April 1, 2021 2:31 PM > To: Li Zhang > Cc: Ori Kam ; Slava Ovsiienko ; > Matan Azrad ; cristian.dumitre...@intel.com; > lir...@marvell.com; dev@dpdk.org; Raslan Darawsheh > ; Roni Bar Yanai > Subject: Re: [PATCH

Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-03-31 Thread Thomas Monjalon
01/04/2021 08:16, Li Zhang: > Currently meter algorithms only supports rate is bytes per second(BPS). > Add packet_mode flag in meter profile parameters data structure in RTE. What means RTE? I see no flag added in these patches. > Add the necessary checks to the existing drivers implementing > t

[dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD

2021-03-31 Thread Li Zhang
Currently meter algorithms only supports rate is bytes per second(BPS). Add packet_mode flag in meter profile parameters data structure in RTE. Add the necessary checks to the existing drivers implementing the rte_mtr API to makes sure that profiles with packet_mode set to TRUE are rejected. Depen