[dpdk-dev] [PATCH 1/2] [RFC]: ethdev: add pre-defined meter policy API
Li Zhang
lizh at nvidia.com
Wed Apr 21 04:49:16 CEST 2021
Hi Stephen
Thanks your comments.
We already change it in the following series and please take a look:
https://patchwork.dpdk.org/project/dpdk/list/?series=16524
+ /**
+ * Color the packet to reflect the meter color result.
+ * Set the meter color in the mbuf to the selected color.
+ *
+ * See struct rte_flow_action_meter_color.
+ */
+ RTE_FLOW_ACTION_TYPE_METER_COLOR,
Regards,
Li Zhang
> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Wednesday, April 21, 2021 1:56 AM
> To: Li Zhang <lizh at nvidia.com>
> Cc: dekelp at nvidia.com; Ori Kam <orika at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>; Shahaf
> Shuler <shahafs at nvidia.com>; lironh at marvell.com;
> jasvinder.singh at intel.com; NBU-Contact-Thomas Monjalon
> <thomas at monjalon.net>; Ferruh Yigit <ferruh.yigit at intel.com>; Andrew
> Rybchenko <andrew.rybchenko at oktetlabs.ru>; Cristian Dumitrescu
> <cristian.dumitrescu at intel.com>; dev at dpdk.org; Raslan Darawsheh
> <rasland at nvidia.com>; Roni Bar Yanai <roniba at nvidia.com>
> Subject: Re: [dpdk-dev] [PATCH 1/2] [RFC]: ethdev: add pre-defined meter
> policy API
>
> External email: Use caution opening links or attachments
>
>
> On Thu, 18 Mar 2021 10:58:14 +0200
> Li Zhang <lizh at nvidia.com> wrote:
>
> > +
> > + /**
> > + * Color the packet to reflect the meter color result.
> > + *
> > + * See struct rte_flow_action_color.
> > + */
> > + RTE_FLOW_ACTION_TYPE_COlOR,
>
> Why the odd use of lower case here? Shouldn't it be
> RTE_FLOW_ACTION_TYPE_COLOR
More information about the dev
mailing list