[dpdk-dev] [PATCH v3 34/34] net/bnxt: enable meson build on truflow code

Venkat Duvvuru venkatkumar.duvvuru at broadcom.com
Tue Apr 14 10:13:31 CEST 2020


Include tf_ulp & tf_core directories and the files inside them.

Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru at broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
Reviewed-by: Ajit Kumar Khaparde <ajit.khaparde at broadcom.com>
---
 drivers/net/bnxt/meson.build | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build
index 0c311d2..d75f887 100644
--- a/drivers/net/bnxt/meson.build
+++ b/drivers/net/bnxt/meson.build
@@ -1,7 +1,12 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
+# Copyright(c) 2020 Broadcom
 
 install_headers('rte_pmd_bnxt.h')
+
+includes += include_directories('tf_ulp')
+includes += include_directories('tf_core')
+
 sources = files('bnxt_cpr.c',
 	'bnxt_ethdev.c',
 	'bnxt_filter.c',
@@ -16,6 +21,27 @@ sources = files('bnxt_cpr.c',
 	'bnxt_txr.c',
 	'bnxt_util.c',
 	'bnxt_vnic.c',
+
+	'tf_core/tf_core.c',
+	'tf_core/bitalloc.c',
+	'tf_core/tf_msg.c',
+	'tf_core/rand.c',
+	'tf_core/stack.c',
+	'tf_core/tf_em.c',
+	'tf_core/tf_rm.c',
+	'tf_core/tf_tbl.c',
+	'tf_core/tfp.c',
+
+	'tf_ulp/bnxt_ulp.c',
+	'tf_ulp/ulp_mark_mgr.c',
+	'tf_ulp/ulp_flow_db.c',
+	'tf_ulp/ulp_template_db.c',
+	'tf_ulp/ulp_utils.c',
+	'tf_ulp/ulp_mapper.c',
+	'tf_ulp/ulp_matcher.c',
+	'tf_ulp/ulp_rte_parser.c',
+	'tf_ulp/bnxt_ulp_flow.c',
+
 	'rte_pmd_bnxt.c')
 
 if arch_subdir == 'x86'
-- 
2.7.4



More information about the dev mailing list