20/11/2017 11:27, Eelco Chaudron: > On 17/11/17 17:19, Timothy Redaelli wrote: > > testpmd is often used inside a VM to test the OVS PVP scenario. > > This commit makes testpmd to link to virtio PMD when DPDK is built as > > shared libraries too. > > > > Signed-off-by: Timothy Redaelli <tredae...@redhat.com> > > Acked-by: Eelco Chaudron <echau...@redhat.com>
I really doubt it is the right fix. This PMD should be dynamically linked with dlopen as a plugin. It can be done with -d option or by specifying the plugin directory at compilation time in CONFIG_RTE_EAL_PMD_PATH.