Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH 0/1] spp_pcap: add link to vhost PMD in Makefile
@ 2020-01-21  1:15 Itsuro Oda
  2020-01-21  1:15 ` [spp] [PATCH 1/1] " Itsuro Oda
  2020-01-27  6:28 ` [spp] [PATCH 0/1] " Yasufumi Ogawa
  0 siblings, 2 replies; 3+ messages in thread
From: Itsuro Oda @ 2020-01-21  1:15 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [spp] [PATCH 1/1] spp_pcap: add link to vhost PMD in Makefile
  2020-01-21  1:15 [spp] [PATCH 0/1] spp_pcap: add link to vhost PMD in Makefile Itsuro Oda
@ 2020-01-21  1:15 ` " Itsuro Oda
  2020-01-27  6:28 ` [spp] [PATCH 0/1] " Yasufumi Ogawa
  1 sibling, 0 replies; 3+ messages in thread
From: Itsuro Oda @ 2020-01-21  1:15 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [spp] [PATCH 0/1] spp_pcap: add link to vhost PMD in Makefile
  2020-01-21  1:15 [spp] [PATCH 0/1] spp_pcap: add link to vhost PMD in Makefile Itsuro Oda
  2020-01-21  1:15 ` [spp] [PATCH 1/1] " Itsuro Oda
@ 2020-01-27  6:28 ` " Yasufumi Ogawa
  1 sibling, 0 replies; 3+ messages in thread
From: Yasufumi Ogawa @ 2020-01-27  6:28 UTC (permalink / raw)
  To: Itsuro Oda; +Cc: spp, ferruh.yigit

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(+)
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21  1:15 [spp] [PATCH 0/1] spp_pcap: add link to vhost PMD in Makefile Itsuro Oda
2020-01-21  1:15 ` [spp] [PATCH 1/1] " Itsuro Oda
2020-01-27  6:28 ` [spp] [PATCH 0/1] " Yasufumi Ogawa

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox