Hi, > -----Original Message----- > From: Ferruh Yigit <ferruh.yi...@intel.com> > Sent: Tuesday, April 20, 2021 7:37 PM > To: Jiawei(Jonny) Wang <jiaw...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Shahaf Shuler <shah...@nvidia.com> > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > <tho...@monjalon.net>; Raslan Darawsheh <rasl...@nvidia.com>; Roni > Bar Yanai <ron...@nvidia.com> > Subject: Re: [dpdk-dev] [PATCH v9 0/2] Support meter policy API > > On 4/19/2021 5:08 PM, Jiawei Wang wrote: > > Currently, the flow meter policy does not support multiple actions per > > color; also the allowed action types per color are very limited. > > In addition, the policy cannot be pre-defined. > > > > Due to the growing in flow actions offload abilities there is a > > potential for the user to use variety of actions per color differently. > > This new meter policy API comes to allow this potential in the most > > ethdev common way using rte_flow action definition. > > A list of rte_flow actions will be provided by the user per color in > > order to create a meter policy. > > In addition, the API forces to pre-define the policy before the meters > > creation in order to allow sharing of single policy with multiple > > meters efficiently. > > > > meter_policy_id is added into struct rte_mtr_params. > > So that it can get the policy during the meters creation. > > > > Add two common policy template as macros in the header file, > > > > RFC ("ethdev: add pre-defined meter policy API") > > https://patchwork.dpdk.org/project/dpdk/patch/20210318085815.804896- > 1- > > l...@nvidia.com/ > > > > Depends-on: series=16351 ("Add ASO meter support in MLX5 PMD ") > > https://patchwork.dpdk.org/project/dpdk/list/?series=16351 > > > > V2: Delete default policy and change relation doc files. > > V3: Fix coding style issues. > > V4: Fix comments about Depends-on > > V5: Fix comments about rte_mtr_meter_policy_add. > > V6: Delete policy example. > > V7: Fix comments and place two common policy template as macros. > > V8: Fix rebase conflict issues and CI warning > > V9: Rebase and Fix the comments for softnic driver. > > > > Haifei Luo (1): > > app/testpmd: support policy actions per color > > > > Li Zhang (1): > > ethdev: add pre-defined meter policy API > > > > Hi Li, Haifei, > > This patch conflicts with merged integrity check/conntrack features, also the > dependent mlx5 ASO set send a new version. > > Can you please send a new version rebasing on latest versions? > >
Thanks Ferruh point it, I had rebased and also update the new mlx5 ASO series link. The latest v10 already been sent. Thanks.