[PATCH 1/3] net/nfp: add the elf module

Stephen Hemminger stephen at networkplumber.org
Wed Feb 28 23:18:51 CET 2024


On Tue, 27 Feb 2024 19:15:49 +0800
Chaoyong He <chaoyong.he at corigine.com> wrote:

> From: Peng Zhang <peng.zhang at corigine.com>
> 
> Add the elf module, which can get mip information from the
> firmware ELF file.
> 
> Signed-off-by: Peng Zhang <peng.zhang at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> ---

Why are you rolling your own ELF parser?
There are libraries to do this such as libelf.
Libelf is already used in the BPF part of DPDK.


More information about the dev mailing list