DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] vhost: add missing build dependency on librte_net
@ 2016-02-18  9:47 Panu Matilainen
  2016-02-18 13:25 ` Yuanhan Liu
  0 siblings, 1 reply; 9+ messages in thread
From: Panu Matilainen @ 2016-02-18  9:47 UTC (permalink / raw)
  To: dev

Commit d0cf91303d73 added dependency on librte_net headers to vhost
but did not add this to the Makefile, which makes builds
non-deterministic. Curiously it is non-parallel build that is
consistently broken by this missing dependency, usually it's the other
way around, but trying to build without -j(n) fails with:

	dpdk/lib/librte_vhost/vhost_rxtx.c:41:20:
	fatal error: rte_ip.h: No such file or directory

Fixes: d0cf91303d73 ("vhost: add Tx offload capabilities")
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
---
 lib/librte_vhost/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile
index 035b569..ef9bbae 100644
--- a/lib/librte_vhost/Makefile
+++ b/lib/librte_vhost/Makefile
@@ -65,5 +65,6 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_VHOST)-include += rte_virtio_net.h
 DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_eal
 DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_ether
 DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_mbuf
+DEPDIRS-$(CONFIG_RTE_LIBRTE_VHOST) += lib/librte_net
 
 include $(RTE_SDK)/mk/rte.lib.mk
-- 
2.5.0

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

end of thread, other threads:[~2016-02-23 15:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18  9:47 [dpdk-dev] [PATCH] vhost: add missing build dependency on librte_net Panu Matilainen
2016-02-18 13:25 ` Yuanhan Liu
2016-02-18 13:39   ` Panu Matilainen
2016-02-18 13:56     ` Yuanhan Liu
2016-02-18 14:07       ` Panu Matilainen
2016-02-19  1:56         ` Yuanhan Liu
2016-02-19 10:24           ` Thomas Monjalon
2016-02-23 15:34           ` Bruce Richardson
2016-02-18 19:26   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).