dpdk: never override devname if set via config 57/40057/4
authorPeter Morrow <pdmorrow@gmail.com>
Tue, 5 Dec 2023 10:07:10 +0000 (10:07 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Fri, 8 Dec 2023 12:43:10 +0000 (12:43 +0000)
commit31d4891cfe9451fecce1e26e51153d608c76a4f8
tree4a9d0b3bfda453c117f68f4c4e9d8cb9c0794a9f
parent864eaae5bb648ad18b320f9ae9043eed440767db
dpdk: never override devname if set via config

Even if the device name is specified in the startup config it may
be appended to if the device is a switch domain member. This leads
to unexpected device naming if an explicit device name was requested.

Type: fix
Change-Id: Ib56b4ac41c17008db55dc69497721e3cb7d540c1
Signed-off-by: Peter Morrow <pdmorrow@gmail.com>
src/plugins/dpdk/device/init.c