[dpdk-dev,v1,2/7] net/mlx5: handle the IPsec support from Verbs

Message ID d058975c5a8bb88cd3dc4e1ada65cff214f40e02.1511453340.git.nelio.laranjeiro@6wind.com (mailing list archive)
State Superseded, archived
Headers

Checks

Context Check Description
ci/Intel-compilation fail apply patch file failure
ci/checkpatch success coding style OK

Commit Message

Nélio Laranjeiro Nov. 23, 2017, 4:13 p.m. UTC
  Enable HAVE_VERBS_IPSEC_SUPPORT is associated code is available in
RDMA-Core.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
---
 drivers/net/mlx5/Makefile | 5 +++++
 1 file changed, 5 insertions(+)
  

Patch

diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile
index a3984eb9f..b2dd86796 100644
--- a/drivers/net/mlx5/Makefile
+++ b/drivers/net/mlx5/Makefile
@@ -147,6 +147,11 @@  mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh
 		infiniband/verbs.h \
 		enum IBV_FLOW_SPEC_ACTION_COUNT \
 		$(AUTOCONF_OUTPUT)
+	$Q sh -- '$<' '$@' \
+		HAVE_IBV_IPSEC_SUPPORT \
+		infiniband/verbs.h \
+		enum IBV_FLOW_SPEC_ESP \
+		$(AUTOCONF_OUTPUT)
 
 # Create mlx5_autoconf.h or update it in case it differs from the new one.