> Subject: [PATCH] examples/l3fwd: add option to set refetch offset
I suppose it should be 'prefetch'.
> The prefetch window depending on the HW platform. It is difficult to
> measure the prefetch window of a HW platform. Therefore, the prefetch
> offset option is added
On Tue, 14 Jan 2025 08:07:52 -0800
Stephen Hemminger wrote:
> On Tue, 14 Jan 2025 17:22:08 +0800
> huangdengdui wrote:
>
> > On 2025/1/11 1:20, Stephen Hemminger wrote:
> > > This will make it slower for many platforms.
> > > GCC will unroll a loop of fixed small size, which is what we want.
On Tue, 14 Jan 2025 17:22:08 +0800
huangdengdui wrote:
> On 2025/1/11 1:20, Stephen Hemminger wrote:
> > This will make it slower for many platforms.
> > GCC will unroll a loop of fixed small size, which is what we want.
>
> Do you mean to replace option with a macro?
> But most of prefetch_of
On 2025/1/11 1:19, Stephen Hemminger wrote:
> On Fri, 10 Jan 2025 17:37:15 +0800
> Dengdui Huang wrote:
>
>> +#define DEFAULT_PREFECH_OFFSET 4
>
> Spelling
I made a mistake. I'll fix it for the next version.
On 2025/1/11 1:20, Stephen Hemminger wrote:
> This will make it slower for many platforms.
> GCC will unroll a loop of fixed small size, which is what we want.
Do you mean to replace option with a macro?
But most of prefetch_offset are used with the nb_rx, So using macros is the
same as using o
On Fri, 10 Jan 2025 17:37:15 +0800
Dengdui Huang wrote:
> The prefetch window depending on the HW platform. It is difficult to
> measure the prefetch window of a HW platform. Therefore, the prefetch
> offset option is added to change the prefetch window. User can adjust
> the refetch offset to ac
On Fri, 10 Jan 2025 17:37:15 +0800
Dengdui Huang wrote:
> +#define DEFAULT_PREFECH_OFFSET 4
Spelling
The prefetch window depending on the HW platform. It is difficult to
measure the prefetch window of a HW platform. Therefore, the prefetch
offset option is added to change the prefetch window. User can adjust
the refetch offset to achieve the best prefetch effect.
In addition, this option is used
8 matches
Mail list logo