[dpdk-dev] [PATCH v3 2/4] app/testpmd: add meter profile packet mode option

Li Zhang lizh at nvidia.com
Tue Apr 13 04:57:48 CEST 2021


Hi Ferruh,

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Sent: Tuesday, April 13, 2021 7:51 AM
> To: Li Zhang <lizh at nvidia.com>; 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>;
> cristian.dumitrescu at intel.com; lironh at marvell.com; Xiaoyun Li
> <xiaoyun.li at intel.com>
> Cc: dev at dpdk.org; NBU-Contact-Thomas Monjalon <thomas at monjalon.net>;
> Raslan Darawsheh <rasland at nvidia.com>; Roni Bar Yanai
> <roniba at nvidia.com>
> Subject: Re: [dpdk-dev] [PATCH v3 2/4] app/testpmd: add meter profile packet
> mode option
> 
> External email: Use caution opening links or attachments
> 
> 
> On 4/10/2021 8:24 AM, Li Zhang wrote:
> > add meter profile packet_mode to the ethernet device.
> > One example:
> > add port meter profile rfc2697 (port_id) (profile_id)
> > (cir) (cbs) (ebs) (packet_mode)
> >
> > Signed-off-by: Li Zhang <lizh at nvidia.com>
> > Acked-by: Matan Azrad <matan at nvidia.com>
> 
> <...>
> 
> > @@ -365,7 +383,7 @@ static void
> cmd_add_port_meter_profile_srtcm_parsed(void *parsed_result,
> >   cmdline_parse_inst_t cmd_add_port_meter_profile_srtcm = {
> >       .f = cmd_add_port_meter_profile_srtcm_parsed,
> >       .data = NULL,
> > -     .help_str = "add port meter profile srtcm_rfc2697 <port_id> <profile_id>
> <cir> <cbs> <ebs>",
> > +     .help_str = "add port meter profile srtcm_rfc2697 <port_id>
> > + <profile_id> <cir> <cbs> <ebs> <packet_mode>",
> 
> Can you please update 'cmd_help_long_parsed()' in 'cmdline.c' for the
> command updates?

Sure, will update it in V4 patch.

Regards,
Li Zhang


More information about the dev mailing list