1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001-2021 Intel Corporation
5 #ifndef _ICE_BST_TCAM_H_
6 #define _ICE_BST_TCAM_H_
10 struct ice_bst_tcam_item {
16 struct ice_np_keybuilder np_kb;
17 struct ice_pg_keybuilder pg_kb;
23 void ice_bst_tcam_dump(struct ice_hw *hw, struct ice_bst_tcam_item *item);
25 struct ice_bst_tcam_item *ice_bst_tcam_table_get(struct ice_hw *hw);
27 struct ice_lbl_item *ice_bst_lbl_table_get(struct ice_hw *hw);
29 struct ice_bst_tcam_item *
30 ice_bst_tcam_match(struct ice_bst_tcam_item *tcam_table, u8 *pat);
31 struct ice_bst_tcam_item *
32 ice_bst_tcam_search(struct ice_bst_tcam_item *tcam_table,
33 struct ice_lbl_item *lbl_table,
34 const char *prefix, u16 *start);
35 #endif /*_ICE_BST_TCAM_H_ */