algo_sat.h (1039B)
1 /** 2 * \file algo_sat.h 3 * 4 * Internal DNX SAT Managment APIs 5 */ 6 /* 7 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 8 * 9 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 10 * All Rights Reserved. 11 */ 12 13 #ifndef ALGO_SAT_H_INCLUDED 14 /* 15 * { 16 */ 17 #define ALGO_SAT_H_INCLUDED 18 19 #include <shared/shrextend/shrextend_debug.h> 20 21 #ifndef BCM_DNX_SUPPORT 22 #error "This file is for use by DNX (JR2) family only!" 23 #endif 24 25 /** 26 * } 27 */ 28 29 /* 30 * Defines 31 * { 32 */ 33 #define DNX_ALGO_RES_TYPE_SAT_GTF_ID "SAT_RES_ALLOC_GTF_ID" 34 #define DNX_ALGO_RES_TYPE_SAT_CTF_ID "SAT_RES_ALLOC_CTF_ID" 35 #define DNX_ALGO_RES_TYPE_SAT_TRAP_ID "SAT_RES_ALLOC_TRAP_ID" 36 #define DNX_ALGO_RES_TYPE_SAT_TRAP_DATA "SAT_RES_ALLOC_TRAP_DATA" 37 38 /** 39 * } 40 */ 41 42 /* 43 * MACROs 44 * { 45 */ 46 47 /** 48 * } 49 */ 50 51 shr_error_e dnx_algo_sat_init( 52 int unit); 53 54 shr_error_e dnx_algo_sat_deinit( 55 int unit); 56 57 /* 58 * } 59 */ 60 #endif /* ALGO_SAT_H_INCLUDED */