Since devices are shared among the primary process and all secondary processes, it is necessary to link vhost PMD to spp_pcap too. Itsuro Oda (1): spp_pcap: add link to vhost PMD in Makefile src/pcap/Makefile | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1
This patch adds link to vhost PMD in Makefile. Signed-off-by: Itsuro Oda <oda@valinux.co.jp> --- src/pcap/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pcap/Makefile b/src/pcap/Makefile index b2ed5f0..7d93c60 100644 --- a/src/pcap/Makefile +++ b/src/pcap/Makefile @@ -43,4 +43,7 @@ LDLIBS += -lrte_pmd_ring LDLIBS += -lrte_pmd_vhost endif +SPP_DRIVERS_DIR = $(BASE_OUTPUT)/src/drivers +EXTRA_LDLIBS = -L$(SPP_DRIVERS_DIR)/vhost --whole-archive -lrte_pmd_spp_vhost --no-whole-archive + include $(RTE_SDK)/mk/rte.extapp.mk -- 2.17.1
On 2020/01/21 10:15, Itsuro Oda wrote: > Since devices are shared among the primary process and all > secondary processes, it is necessary to link vhost PMD to > spp_pcap too. Applied, thanks. > > Itsuro Oda (1): > spp_pcap: add link to vhost PMD in Makefile > > src/pcap/Makefile | 3 +++ > 1 file changed, 3 insertions(+) >