[PATCH] examples/l3fwd: add option to set refetch offset
Stephen Hemminger
stephen at networkplumber.org
Fri Jan 10 18:20:36 CET 2025
On Fri, 10 Jan 2025 17:37:15 +0800
Dengdui Huang <huangdengdui at huawei.com> 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 achieve the best prefetch effect.
>
> In addition, this option is used only in the main loop.
>
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
> ---
This will make it slower for many platforms.
GCC will unroll a loop of fixed small size, which is what we want.
More information about the dev
mailing list