net/bnxt: enable meson build on TruFlow
authorVenkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Wed, 15 Apr 2020 08:19:11 +0000 (13:49 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:08 +0000 (13:57 +0200)
Include tf_ulp & tf_core directories and the files inside them.

Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
doc/guides/rel_notes/release_20_05.rst
drivers/net/bnxt/meson.build

index 31b5b99..0252113 100644 (file)
@@ -143,6 +143,12 @@ New Features
   Added the new ``igc`` net driver for Intel Foxville I225 devices. See the
   :doc:`../nics/igc` NIC guide for more details on this new driver.
 
+* **Updated Broadcom bnxt driver.**
+
+  Updated Broadcom bnxt driver with new features and improvements, including:
+
+  * Added support for host based flow table management
+
 * **Added handling of mixed crypto algorithms in QAT PMD for GEN2.**
 
   Enabled handling of mixed algorithms in encrypted digest hash-cipher
index 0c311d2..d75f887 100644 (file)
@@ -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'