Re: [dpdk-dev] [PATCH] net/mlx5: fix the EIR calculation

2021-07-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Thursday, July 29, 2021 7:04 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh > ; NBU-Contact-Thomas Monjalon > > Subject: [PATCH] net/mlx5: fix the EIR calculation > > Before the yellow color pol

[dpdk-dev] [PATCH] net/mlx5: fix the EIR calculation

2021-07-29 Thread Bing Zhao
Before the yellow color policy was supported, the only supported profile of metering is RFC2697 and EIR is not part of the profile. When creating a meter with this profile, the EIR part was always zero. After the yellow color policy supported and RFC2698 & 4115 support was introduced, EIR is relev