From 2f3127321102b924d4e744b056188be458e3127c Mon Sep 17 00:00:00 2001 From: Venkat Duvvuru Date: Wed, 15 Apr 2020 13:49:11 +0530 Subject: [PATCH] net/bnxt: enable meson build on TruFlow Include tf_ulp & tf_core directories and the files inside them. Signed-off-by: Venkat Duvvuru Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- doc/guides/rel_notes/release_20_05.rst | 6 ++++++ drivers/net/bnxt/meson.build | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/doc/guides/rel_notes/release_20_05.rst b/doc/guides/rel_notes/release_20_05.rst index 31b5b992d1..0252113aee 100644 --- a/doc/guides/rel_notes/release_20_05.rst +++ b/doc/guides/rel_notes/release_20_05.rst @@ -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 diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build index 0c311d235a..d75f887d13 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.20.1