1 /* SPDX-License-Identifier: BSD-3-Clause 2 * 3 * Copyright (c) 2023 Advanced Micro Devices, Inc. 4 */ 5 6 #ifndef _SFC_TBL_META_CACHE_H 7 #define _SFC_TBL_META_CACHE_H 8 9 #include <rte_hash.h> 10 11 #include "efx.h" 12 13 #include "sfc_tbl_meta.h" 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 int sfc_tbl_meta_cache_ctor(struct rte_hash **ref_cache); 20 21 void sfc_tbl_meta_cache_dtor(struct rte_hash **ref_cache); 22 23 int sfc_tbl_meta_cache_update(struct rte_hash *cache, efx_nic_t *enp); 24 25 #endif /* _SFC_TBLS_DESC_CACHE_H */ 26