[dpdk-dev] [PATCH v10 1/2] ethdev: add pre-defined meter policy API

Li Zhang lizh at nvidia.com
Thu Apr 22 03:29:47 CEST 2021


Hi Thomas,

Thanks for your comments.
Since this patch already accepted, I will fix it in RC2.

Regards,
Li Zhang

> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Thursday, April 22, 2021 3:44 AM
> To: Jiawei(Jonny) Wang <jiaweiw at nvidia.com>
> Cc: Matan Azrad <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>;
> ferruh.yigit at intel.com; Wisam Monther <wisamm at nvidia.com>; Xiaoyun Li
> <xiaoyun.li at intel.com>; Jasvinder Singh <jasvinder.singh at intel.com>; Cristian
> Dumitrescu <cristian.dumitrescu at intel.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Ray Kinsella <mdr at ashroe.eu>;
> dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Roni Bar Yanai
> <roniba at nvidia.com>; Asaf Penso <asafp at nvidia.com>; Li Zhang
> <lizh at nvidia.com>; Haifei Luo <haifeil at nvidia.com>
> Subject: Re: [dpdk-dev] [PATCH v10 1/2] ethdev: add pre-defined meter policy
> API
> 
> External email: Use caution opening links or attachments
> 
> 
> 20/04/2021 16:04, Jiawei Wang:
> > --- a/doc/guides/rel_notes/release_21_05.rst
> > +++ b/doc/guides/rel_notes/release_21_05.rst
> > @@ -244,6 +244,27 @@ New Features
> >    * Added support for crypto adapter forward mode in octeontx2 event and
> crypto
> >      device driver.
> >
> > +  * deleted the port meter policer action command .
> > +    ``set port meter policer action (port_id) (mtr_id) (action_mask)
> > + ...``
> > +  * Added command to create meter policy.
> > +    ``add port meter policy (port_id) (policy_id) g_actions {action}
> > + end y_actions {action} end r_actions {action} end``
> > +  * Added command to delete meter policy.
> > +    ``del port meter policy (port_id) (policy_id)``
> > +
> > +* **Updated meter API.**
> > +
> > +  * ethdev: Deleted meter policer API to support policy API.
> > +    ``rte_mtr_policer_actions_update()``
> > +  * ethdev: Added meter API to support pre-defined policy, rte_flow action
> list per color.
> > +    ``rte_mtr_meter_policy_add()``, ``rte_mtr_meter_policy_delete()`` and
> > +    ``rte_mtr_create_with_policy()``
> > +  * ethdev: Removed rte_mtr_policer_action from rte_mtr_params
> structures.
> > +  * ethdev: Added rte_mtr_meter_policy_params structures to support
> policy API.
> > +  * ethdev: Added meter_policy_id into rte_mtr_params structures.
> > +  * ethdev: Removed policer_action_recolor_supported and
> policer_action_drop_supported from rte_mtr_capabilities structures.
> > +  * ethdev: Added meter_policy_n_max into rte_mtr_capabilities structures.
> > +  * ethdev: Added RTE_FLOW_ACTION_TYPE_METER_COLOR in enum
> rte_flow_action_type.
> > +  * ethdev: Added RTE_MTR_ERROR_TYPE_METER_POLICY_ID and
> RTE_MTR_ERROR_TYPE_METER_POLICY_ID into rte_mtr_error_type.
> 
> What is this garbage?
> Wrong place, wrong format, wrong everything.
> 
> I would like to see a bit more attention to details, especially in a rush to close
> the -rc1.
> 



More information about the dev mailing list