09/11/2020 14:37, Gaetan Rivet: > Device name parsing is done on all buses during device iterations at > either EAL or ethdev levels. > > When a bus implements device name parsing slowly, all iterations are > impacted. Efficient implementation is important. > > The DPAA bus device name parsing has two issues: it allocates dynamic > memory and uses snprintf without a real need for it. Both can be > avoided, which improves the parsing performance. > > The function is also simpler and shorter. > > Signed-off-by: Gaetan Rivet <gr...@u256.net>
Applied, thanks