[RFC v2 3/7] ethdev: introduce Rx queue based limit watermark
Spike Du
spiked at nvidia.com
Mon May 23 16:10:07 CEST 2022
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Monday, May 23, 2022 6:59 PM
> To: Spike Du <spiked at nvidia.com>; Morten Brørup
> <mb at smartsharesystems.com>
> Cc: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; dev at dpdk.org;
> Raslan Darawsheh <rasland at nvidia.com>
> Subject: Re: [RFC v2 3/7] ethdev: introduce Rx queue based limit watermark
>
> External email: Use caution opening links or attachments
>
>
> 23/05/2022 08:07, Morten Brørup:
> > > + uint8_t lwm;
> >
> > Why percentage, why not 1/128th, or 1/16th? 2^N seems more logical, and
> I wonder if such high granularity is really necessary. Just a thought, it's not
> important.
>
> I think percentage is the easiest to understand and to share with other teams
> in design documents.
>
> > If you stick with percentage, it only needs 7 bits, and you can make the
> remaining one bit reserved.
Agree, will change to use 7 bits.
> >
> > Also, please add here that 0 means disable.
Sure.
>
> Good idea.
>
More information about the dev
mailing list