[PATCH 02/10] net/nfp: fix malloc name problem in secondary process
Stephen Hemminger
stephen at networkplumber.org
Thu Oct 10 17:07:41 CEST 2024
On Thu, 10 Oct 2024 17:17:08 +0800
Chaoyong He <chaoyong.he at corigine.com> wrote:
> The original logic keeps using the same name parameter when malloc
> memory in secondary process, which may cause error when using
> multiple PF cards.
>
> Fixes: 3b00109d2b65 ("net/nfp: add PF ID used to format symbols")
> Cc: peng.zhang at corigine.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
Huh? the name is ignored by rte_malloc(), it only shows up in tracing.
in fact you could just always pass NULL.
More information about the dev
mailing list