All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fix dependencies on librte_hash
@ 2016-07-06 14:44 Thomas Monjalon
  2016-07-06 14:44 ` [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library Thomas Monjalon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-07-06 14:44 UTC (permalink / raw)
  To: dev

Thomas Monjalon (3):
  net/bnx2x: remove unneeded dependency on hash library
  table: remove unneeded dependency on hash library
  examples: fix dependencies on hash library

 drivers/net/bnx2x/Makefile                               | 2 +-
 examples/Makefile                                        | 8 ++++++--
 examples/multi_process/client_server_mp/mp_server/init.c | 1 -
 examples/multi_process/client_server_mp/mp_server/main.c | 1 -
 lib/librte_table/Makefile                                | 1 -
 5 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.7.0

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

* [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library
  2016-07-06 14:44 [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
@ 2016-07-06 14:44 ` Thomas Monjalon
  2016-07-07 22:48   ` Rasesh Mody
  2016-07-06 14:44 ` [PATCH 2/3] table: " Thomas Monjalon
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2016-07-06 14:44 UTC (permalink / raw)
  To: dev

Fixes: 9fb557035d90 ("bnx2x: enable PMD build")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 drivers/net/bnx2x/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile
index c2ddd8d..ab69680 100644
--- a/drivers/net/bnx2x/Makefile
+++ b/drivers/net/bnx2x/Makefile
@@ -31,7 +31,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_vfpf.c
 SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC) += debug.c
 
 # this lib depends upon:
-DEPDIRS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += lib/librte_eal lib/librte_ether lib/librte_hash
+DEPDIRS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += lib/librte_eal lib/librte_ether
 DEPDIRS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += lib/librte_mempool lib/librte_mbuf
 
 include $(RTE_SDK)/mk/rte.lib.mk
-- 
2.7.0

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

* [PATCH 2/3] table: remove unneeded dependency on hash library
  2016-07-06 14:44 [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
  2016-07-06 14:44 ` [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library Thomas Monjalon
@ 2016-07-06 14:44 ` Thomas Monjalon
  2016-07-06 14:44 ` [PATCH 3/3] examples: fix dependencies " Thomas Monjalon
  2016-07-10 14:32 ` [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-07-06 14:44 UTC (permalink / raw)
  To: dev

Fixes: 8aa327214ceb ("table: hash")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 lib/librte_table/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_table/Makefile b/lib/librte_table/Makefile
index 7f02af3..7a8a3f3 100644
--- a/lib/librte_table/Makefile
+++ b/lib/librte_table/Makefile
@@ -80,6 +80,5 @@ DEPDIRS-$(CONFIG_RTE_LIBRTE_TABLE) += lib/librte_lpm
 ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
 DEPDIRS-$(CONFIG_RTE_LIBRTE_TABLE) += lib/librte_acl
 endif
-DEPDIRS-$(CONFIG_RTE_LIBRTE_TABLE) += lib/librte_hash
 
 include $(RTE_SDK)/mk/rte.lib.mk
-- 
2.7.0

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

* [PATCH 3/3] examples: fix dependencies on hash library
  2016-07-06 14:44 [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
  2016-07-06 14:44 ` [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library Thomas Monjalon
  2016-07-06 14:44 ` [PATCH 2/3] table: " Thomas Monjalon
@ 2016-07-06 14:44 ` Thomas Monjalon
  2016-07-10 14:32 ` [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-07-06 14:44 UTC (permalink / raw)
  To: dev

The multi_process example do not need rte_hash.
But these examples cannot compile if rte_hash is not available:
- ipsec-secgw (was already protected - no change)
- ipv4_multicast
- l3fwd-power
- l3fwd-vf
- tep_termination
- ip_pipeline

The ip_pipeline example is not disabled because its dependencies
are handled with #ifdef. It may require a separate fix.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 examples/Makefile                                        | 8 ++++++--
 examples/multi_process/client_server_mp/mp_server/init.c | 1 -
 examples/multi_process/client_server_mp/mp_server/main.c | 1 -
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/examples/Makefile b/examples/Makefile
index f650d3e..18b41b9 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -54,7 +54,7 @@ endif
 ifeq ($(CONFIG_RTE_LIBRTE_ACL)$(CONFIG_RTE_LIBRTE_HASH)$(CONFIG_RTE_LIBRTE_LPM),yyy)
 DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += ipsec-secgw
 endif
-DIRS-y += ipv4_multicast
+DIRS-$(CONFIG_RTE_LIBRTE_HASH) += ipv4_multicast
 DIRS-$(CONFIG_RTE_LIBRTE_KNI) += kni
 DIRS-y += l2fwd
 ifneq ($(PQOS_INSTALL_PATH),)
@@ -65,9 +65,11 @@ DIRS-$(CONFIG_RTE_LIBRTE_IVSHMEM) += l2fwd-ivshmem
 DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += l2fwd-jobstats
 DIRS-y += l2fwd-keepalive
 DIRS-y += l2fwd-keepalive/ka-agent
+ifeq ($(CONFIG_RTE_LIBRTE_HASH),y)
 DIRS-$(CONFIG_RTE_LIBRTE_LPM) += l3fwd
+endif
 DIRS-$(CONFIG_RTE_LIBRTE_ACL) += l3fwd-acl
-ifeq ($(CONFIG_RTE_LIBRTE_LPM),y)
+ifeq ($(CONFIG_RTE_LIBRTE_LPM)$(CONFIG_RTE_LIBRTE_HASH),yy)
 DIRS-$(CONFIG_RTE_LIBRTE_POWER) += l3fwd-power
 DIRS-y += l3fwd-vf
 endif
@@ -82,7 +84,9 @@ DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched
 DIRS-y += quota_watermark
 DIRS-$(CONFIG_RTE_ETHDEV_RXTX_CALLBACKS) += rxtx_callbacks
 DIRS-y += skeleton
+ifeq ($(CONFIG_RTE_LIBRTE_HASH),y)
 DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += tep_termination
+endif
 DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += timer
 DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost
 DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen
diff --git a/examples/multi_process/client_server_mp/mp_server/init.c b/examples/multi_process/client_server_mp/mp_server/init.c
index ecb61c6..ad941a7 100644
--- a/examples/multi_process/client_server_mp/mp_server/init.c
+++ b/examples/multi_process/client_server_mp/mp_server/init.c
@@ -60,7 +60,6 @@
 #include <rte_ether.h>
 #include <rte_ethdev.h>
 #include <rte_malloc.h>
-#include <rte_fbk_hash.h>
 #include <rte_string_fns.h>
 #include <rte_cycles.h>
 
diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c
index de54c67..a6dc12d 100644
--- a/examples/multi_process/client_server_mp/mp_server/main.c
+++ b/examples/multi_process/client_server_mp/mp_server/main.c
@@ -65,7 +65,6 @@
 #include <rte_ethdev.h>
 #include <rte_byteorder.h>
 #include <rte_malloc.h>
-#include <rte_fbk_hash.h>
 #include <rte_string_fns.h>
 
 #include "common.h"
-- 
2.7.0

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

* Re: [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library
  2016-07-06 14:44 ` [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library Thomas Monjalon
@ 2016-07-07 22:48   ` Rasesh Mody
  0 siblings, 0 replies; 6+ messages in thread
From: Rasesh Mody @ 2016-07-07 22:48 UTC (permalink / raw)
  To: Thomas Monjalon, dev

> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Wednesday, July 06, 2016 7:45 AM
> 
> Fixes: 9fb557035d90 ("bnx2x: enable PMD build")
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>

Thanks!
Rasesh

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

* Re: [PATCH 0/3] fix dependencies on librte_hash
  2016-07-06 14:44 [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
                   ` (2 preceding siblings ...)
  2016-07-06 14:44 ` [PATCH 3/3] examples: fix dependencies " Thomas Monjalon
@ 2016-07-10 14:32 ` Thomas Monjalon
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-07-10 14:32 UTC (permalink / raw)
  To: dev

2016-07-06 16:44, Thomas Monjalon:
> Thomas Monjalon (3):
>   net/bnx2x: remove unneeded dependency on hash library
>   table: remove unneeded dependency on hash library
>   examples: fix dependencies on hash library

Applied

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

end of thread, other threads:[~2016-07-10 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06 14:44 [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon
2016-07-06 14:44 ` [PATCH 1/3] net/bnx2x: remove unneeded dependency on hash library Thomas Monjalon
2016-07-07 22:48   ` Rasesh Mody
2016-07-06 14:44 ` [PATCH 2/3] table: " Thomas Monjalon
2016-07-06 14:44 ` [PATCH 3/3] examples: fix dependencies " Thomas Monjalon
2016-07-10 14:32 ` [PATCH 0/3] fix dependencies on librte_hash Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.