@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-/* Copyright(c) 2019-2021 Broadcom All rights reserved. */
+/* Copyright(c) 2019-2023 Broadcom All rights reserved. */
#include <inttypes.h>
#include <stdbool.h>
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2020-2021 Broadcom
+ * Copyright(c) 2020-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-/* Copyright(c) 2019-2021 Broadcom All rights reserved. */
+/* Copyright(c) 2019-2023 Broadcom All rights reserved. */
#include <inttypes.h>
#include <stdbool.h>
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-/* Copyright(c) 2019-2021 Broadcom All rights reserved. */
+/* Copyright(c) 2019-2023 Broadcom All rights reserved. */
#include <inttypes.h>
#include <stdbool.h>
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-# Copyright(c) 2020 Broadcom
+# Copyright(c) 2023 Broadcom
if is_windows
build = false
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-2021 Broadcom
+ * Copyright(c) 2017-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-2021 Broadcom
+ * Copyright(c) 2017-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -7,7 +7,6 @@
#define BITALLOC_MAX_LEVELS 6
-
/* Finds the last bit set plus 1, equivalent to gcc __builtin_fls */
static int
ba_fls(bitalloc_word_t v)
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -121,5 +121,4 @@ int ba_free_count(struct bitalloc *pool);
* Returns the pool's in use count
*/
int ba_inuse_count(struct bitalloc *pool);
-
#endif /* _BITALLOC_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -256,5 +256,4 @@
/* Table Scope */
#define CFA_RESOURCE_TYPE_P4_TBL_SCOPE 0x22UL
#define CFA_RESOURCE_TYPE_P4_LAST CFA_RESOURCE_TYPE_P4_TBL_SCOPE
-
#endif /* _CFA_RESOURCE_TYPES_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
#include <stdio.h>
@@ -55,6 +55,7 @@ static int dpool_move(struct dpool *dpool,
{
uint32_t size;
uint32_t i;
+
if (DP_IS_FREE(dpool->entry[dst_index].flags)) {
size = DP_FLAGS_SIZE(dpool->entry[src_index].flags);
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -305,5 +305,4 @@ void dpool_dump(struct dpool *dpool);
int dpool_defrag(struct dpool *dpool,
uint32_t entry_size,
uint8_t defrag);
-
#endif /* _DPOOL_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -157,5 +157,4 @@ static inline uint32_t hashword(const uint32_t *k,
/*------------------------------------------------- report the result */
return c;
}
-
#endif /* _LOOKUP3_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -32,5 +32,4 @@ uint32_t rand32(void);
*
*/
void rand_init(void);
-
#endif /* __RAND_H__ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
#ifndef _STACK_H_
@@ -113,5 +113,4 @@ int stack_pop(struct stack *st, uint32_t *x);
* none
*/
void stack_dump(struct stack *st);
-
#endif /* _STACK_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2020-2021 Broadcom
+ * Copyright(c) 2020-2023 Broadcom
* All rights reserved.
*/
@@ -39,5 +39,4 @@
return -EINVAL; \
} \
} while (0)
-
#endif /* _TF_COMMON_H_ */
@@ -2481,5 +2481,4 @@ struct tf_get_sram_policy_parms {
*/
int tf_get_sram_policy(struct tf *tfp,
struct tf_get_sram_policy_parms *parms);
-
#endif /* _TF_CORE_H_ */
@@ -1142,5 +1142,4 @@ extern const struct tf_dev_ops tf_dev_ops_p58;
*/
extern const struct tf_hcapi_resource_map tf_hcapi_res_map_p4[CFA_RESOURCE_TYPE_P4_LAST + 1];
extern const struct tf_hcapi_resource_map tf_hcapi_res_map_p58[CFA_RESOURCE_TYPE_P58_LAST + 1];
-
#endif /* _TF_DEVICE_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -181,5 +181,4 @@ const struct tf_hcapi_resource_map tf_hcapi_res_map_p4[CFA_RESOURCE_TYPE_P4_LAST
TF_MODULE_TYPE_EM, 1 << TF_EM_TBL_TYPE_TBL_SCOPE
},
};
-
#endif /* _TF_DEVICE_P4_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -8,7 +8,6 @@
#include "tf_core.h"
#include "tf_session.h"
-
#include "tf_em_common.h"
#include "hcapi_cfa_defs.h"
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -9,7 +9,6 @@
#include <rte_common.h>
#include <rte_errno.h>
#include <rte_log.h>
-
#include "tf_core.h"
#include "tf_util.h"
#include "tf_common.h"
@@ -20,10 +19,8 @@
#include "tf_device.h"
#include "tf_ext_flow_handle.h"
#include "hcapi_cfa.h"
-
#include "bnxt.h"
-
/** Invalid table scope id */
#define TF_TBL_SCOPE_INVALID 0xffffffff
@@ -285,7 +282,6 @@ tf_em_create_key_entry(struct cfa_p4_eem_entry_hdr *result,
memcpy(key_entry->key, in_key, TF_P4_HW_EM_KEY_MAX_SIZE + 4);
}
-
/**
* Return the number of page table pages needed to
* reference the given number of next level pages.
@@ -908,7 +904,6 @@ tf_em_delete_ext_entry(struct tf *tfp,
return tf_delete_eem_entry(tbl_scope_cb, parms);
}
-
int
tf_em_ext_common_bind(struct tf *tfp,
struct tf_em_cfg_parms *parms)
@@ -1204,7 +1199,6 @@ int tf_em_ext_map_tbl_scope(struct tf *tfp,
gcfg_parms.config_mask = (uint8_t *)mask;
gcfg_parms.config_sz_in_bytes = sizeof(uint64_t);
-
rc = tf_msg_set_global_cfg(tfp, &gcfg_parms);
if (rc) {
TFP_DRV_LOG(ERR,
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -178,7 +178,6 @@ int tf_em_validate_num_entries(struct tf_tbl_scope_cb *tbl_scope_cb,
int tf_em_size_table(struct hcapi_cfa_em_table *tbl,
uint32_t page_size);
-
/**
* Look up table scope control block using tbl_scope_id from
* tf_session
@@ -196,5 +195,4 @@ int tf_em_size_table(struct hcapi_cfa_em_table *tbl,
struct tf_tbl_scope_cb *
tf_em_ext_common_tbl_scope_find(struct tf *tfp,
uint32_t tbl_scope_id);
-
#endif /* _TF_EM_COMMON_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -376,7 +376,6 @@ tf_em_ext_alloc(struct tf *tfp,
void *ext_ptr = NULL;
uint16_t pf;
-
rc = tf_session_get_session_internal(tfp, &tfs);
if (rc) {
TFP_DRV_LOG(ERR, "Failed to get tf_session, rc:%s\n",
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -15,6 +15,7 @@
#include "tf_msg.h"
#include "tfp.h"
#include "tf_ext_flow_handle.h"
+
#include "bnxt.h"
#define TF_EM_DB_EM_REC 0
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -184,6 +184,4 @@ do { \
type = (((gfid) & TF_HASH_TYPE_GFID_MASK) >> \
TF_HASH_TYPE_GFID_SFT); \
} while (0)
-
-
#endif /* _TF_EXT_FLOW_HANDLE_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -146,5 +146,4 @@ int tf_global_cfg_set(struct tf *tfp,
*/
int tf_global_cfg_get(struct tf *tfp,
struct tf_global_cfg_parms *parms);
-
#endif /* TF_GLOBAL_CFG_H */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -23,5 +23,4 @@ tf_hash_calc_crc32i(uint32_t init, uint8_t *buf, uint32_t len);
*/
uint32_t
tf_hash_calc_crc32(uint8_t *buf, uint32_t len);
-
#endif
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -212,5 +212,4 @@ int tf_ident_search(struct tf *tfp,
*/
int tf_ident_get_resc_info(struct tf *tfp,
struct tf_identifier_resource_info *parms);
-
#endif /* _TF_IDENTIFIER_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -224,5 +224,4 @@ int tf_if_tbl_set(struct tf *tfp,
*/
int tf_if_tbl_get(struct tf *tfp,
struct tf_if_tbl_get_parms *parms);
-
#endif /* TF_IF_TBL_TYPE_H */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -40,5 +40,4 @@
parms.resp_size = 0; \
parms.resp_data = NULL; \
} while (0)
-
#endif /* _TF_MSG_COMMON_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -20,5 +20,4 @@
#ifndef TF_SHARED
#define TF_SHARED 0
#endif
-
#endif /* _TF_PROJECT_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -7,5 +7,4 @@
#define _TF_RESOURCES_H_
#define TF_NUM_TBL_SCOPE 16 /* < Number of TBL scopes */
-
#endif /* _TF_RESOURCES_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -43,7 +43,6 @@ struct tf;
* support module, not called directly.
*/
-
/**
* RM Element configuration enumeration. Used by the Device to
* indicate how the RM elements the DB consists off, are to be
@@ -75,8 +74,6 @@ enum tf_rm_elem_cfg_type {
* HCAPI type. Child accesses the parent db.
*/
TF_RM_ELEM_CFG_HCAPI_BA_CHILD,
-
-
TF_RM_TYPE_MAX
};
@@ -581,5 +578,4 @@ tf_rm_check_indexes_in_range(struct tf_rm_check_indexes_in_range_parms *parms);
*/
int
tf_rm_get_slices(struct tf_rm_get_slices_parms *parms);
-
#endif /* TF_RM_NEW_H_ */
@@ -716,5 +716,4 @@ tf_session_set_if_tbl_db(struct tf *tfp,
int
tf_session_get_if_tbl_db(struct tf *tfp,
void **if_tbl_handle);
-
#endif /* _TF_SESSION_H_ */
@@ -303,5 +303,4 @@ const char
*/
const char
*tf_sram_bank_2_str(enum tf_sram_bank_id bank_id);
-
#endif /* _TF_SRAM_MGR_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -15,7 +15,6 @@ struct tf;
* The Table module provides processing of Internal TF table types.
*/
-
/**
* Table configuration parameters
*/
@@ -327,5 +326,4 @@ int tf_tbl_bulk_get(struct tf *tfp,
int
tf_tbl_get_resc_info(struct tf *tfp,
struct tf_tbl_resource_info *tbl);
-
#endif /* TF_TBL_TYPE_H */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -9,12 +9,10 @@
#include "tf_core.h"
#include "stack.h"
-
/**
* The SRAM Table module provides processing of managed SRAM types.
*/
-
/**
* @page tblsram SRAM Table
*
@@ -99,7 +97,6 @@ int tf_tbl_sram_alloc(struct tf *tfp,
int tf_tbl_sram_free(struct tf *tfp,
struct tf_tbl_free_parms *parms);
-
/**
* Configures the requested element by sending a firmware request which
* then installs it into the device internal structures.
@@ -150,5 +147,4 @@ int tf_tbl_sram_get(struct tf *tfp,
*/
int tf_tbl_sram_bulk_get(struct tf *tfp,
struct tf_tbl_get_bulk_parms *parms);
-
#endif /* TF_TBL_SRAM_H */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -374,5 +374,4 @@ int tf_tcam_get(struct tf *tfp,
*/
int tf_tcam_get_resc_info(struct tf *tfp,
struct tf_tcam_resource_info *parms);
-
#endif /* _TF_TCAM_H */
@@ -179,5 +179,4 @@ int tf_tcam_shared_move_p58(struct tf *tfp,
*/
int tf_tcam_shared_clear(struct tf *tfp,
struct tf_clear_tcam_shared_entries_parms *parms);
-
#endif /* _TF_TCAM_SHARED_H */
@@ -1,10 +1,9 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
#include <string.h>
-
#include "tf_util.h"
const char *
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -93,5 +93,4 @@ const char *tf_module_subtype_2_str(enum tf_module_type module,
* Pointer to a char string holding the string for the EM type
*/
const char *tf_module_2_str(enum tf_module_type module);
-
#endif /* _TF_UTIL_H_ */
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
* see the individual elements.
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2021 Broadcom
+ * Copyright(c) 2019-2023 Broadcom
* All rights reserved.
*/
@@ -185,7 +185,6 @@ void tfp_spinlock_unlock(struct tfp_spinlock_parms *slock);
*/
int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
-
/*
* @ref tfp_cpu_to_le_16
* @ref tfp_le_to_cpu_16
@@ -232,5 +231,4 @@ int tfp_get_fid(struct tf *tfp, uint16_t *fw_fid);
*
*/
int tfp_get_pf(struct tf *tfp, uint16_t *pf);
-
#endif /* _TFP_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -68,5 +68,4 @@ bnxt_ulp_cntxt_ptr2_mark_db_get(struct bnxt_ulp_context *ulp_ctx);
int32_t
bnxt_ulp_cntxt_ptr2_mark_db_set(struct bnxt_ulp_context *ulp_ctx,
struct bnxt_ulp_mark_tbl *mark_tbl);
-
#endif /* _BNXT_TF_COMMON_H_ */
@@ -25,5 +25,4 @@ uint16_t bnxt_pmd_get_phy_port_id(uint16_t port);
uint16_t bnxt_pmd_get_vport(uint16_t port);
enum bnxt_ulp_intf_type bnxt_pmd_get_interface_type(uint16_t port);
int32_t bnxt_pmd_set_unicast_rxmask(struct rte_eth_dev *eth_dev);
-
#endif /* _BNXT_TF_PMD_ABSTRACT_H_ */
@@ -317,5 +317,4 @@ bnxt_ulp_cntxt_num_shared_clients_get(struct bnxt_ulp_context *ulp_ctx);
struct bnxt_flow_app_tun_ent *
bnxt_ulp_cntxt_ptr2_app_tun_list_get(struct bnxt_ulp_context *ulp);
-
#endif /* _BNXT_ULP_H_ */
@@ -184,5 +184,4 @@ int32_t ulp_fc_mgr_cntr_parent_flow_set(struct bnxt_ulp_context *ctxt,
enum tf_dir dir,
uint32_t hw_cntr_id,
uint32_t pc_idx);
-
#endif /* _ULP_FC_MGR_H_ */
@@ -410,5 +410,4 @@ ulp_flow_db_parent_flow_count_reset(struct bnxt_ulp_context *ulp_ctxt);
*/
void ulp_flow_db_shared_session_set(struct ulp_flow_db_res_params *res,
enum bnxt_ulp_shared_session shared);
-
#endif /* _ULP_FLOW_DB_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -162,5 +162,4 @@ ulp_gen_hash_tbl_list_add(struct ulp_gen_hash_tbl *hash_tbl,
int32_t
ulp_gen_hash_tbl_list_del(struct ulp_gen_hash_tbl *hash_tbl,
struct ulp_gen_hash_entry_params *entry);
-
#endif /* _ULP_GEN_HASH_H_ */
@@ -167,5 +167,4 @@ int32_t
ulp_mapper_gen_tbl_hash_entry_add(struct ulp_mapper_gen_tbl_list *tbl_list,
struct ulp_gen_hash_entry_params *hash_entry,
struct ulp_mapper_gen_tbl_entry *gen_tbl_ent);
-
#endif /* _ULP_EN_TBL_H_ */
@@ -63,5 +63,4 @@ ulp_ha_mgr_close(struct bnxt_ulp_context *ulp_ctx);
int32_t
ulp_ha_mgr_region_get(struct bnxt_ulp_context *ulp_ctx,
enum ulp_ha_mgr_region *region);
-
#endif /* _ULP_HA_MGR_H_*/
@@ -133,5 +133,4 @@ ulp_mapper_get_shared_fid(struct bnxt_ulp_context *ulp,
uint32_t id,
uint16_t key,
uint32_t *fid);
-
#endif /* _ULP_MAPPER_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -112,5 +112,4 @@ int32_t
ulp_mark_db_mark_del(struct bnxt_ulp_context *ctxt,
uint32_t mark_flag,
uint32_t gfid);
-
#endif /* _ULP_MARK_MGR_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -27,5 +27,4 @@ ulp_matcher_pattern_match(struct ulp_rte_parser_params *params,
int32_t
ulp_matcher_action_match(struct ulp_rte_parser_params *params,
uint32_t *act_id);
-
#endif /* ULP_MATCHER_H_ */
@@ -326,5 +326,4 @@ ulp_port_db_parent_vnic_get(struct bnxt_ulp_context *ulp_ctxt,
int32_t
ulp_port_db_phy_port_get(struct bnxt_ulp_context *ulp_ctxt,
uint32_t port_id, uint16_t *phy_port);
-
#endif /* _ULP_PORT_DB_H_ */
@@ -259,5 +259,4 @@ ulp_vendor_vxlan_decap_act_handler(const struct rte_flow_action *action_item,
int32_t
ulp_rte_vendor_vxlan_decap_hdr_handler(const struct rte_flow_item *item,
struct ulp_rte_parser_params *params);
-
#endif /* _ULP_RTE_PARSER_H_ */
@@ -441,5 +441,4 @@ extern struct bnxt_ulp_generic_tbl_params ulp_generic_tbl_params[];
* that could be reused by other templates.
*/
extern uint32_t ulp_glb_template_tbl[];
-
#endif /* _ULP_TEMPLATE_STRUCT_H_ */
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -57,5 +57,4 @@ ulp_tunnel_offload_entry_clear(struct bnxt_tun_cache_entry *tun_tbl,
int32_t
ulp_tunnel_offload_process(struct ulp_rte_parser_params *params);
-
#endif
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2021 Broadcom
+ * Copyright(c) 2014-2023 Broadcom
* All rights reserved.
*/
@@ -522,5 +522,4 @@ uint32_t ulp_bitmap_notzero(const uint8_t *bitmap, int32_t size);
/* returns 0 if input is power of 2 */
int32_t ulp_util_is_power_of_2(uint64_t x);
-
#endif /* _ULP_UTILS_H_ */