fabric.h (1174B)
1 /* 2 * 3 * 4 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 5 * 6 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 7 * 8 * FE1600 DEFS H 9 */ 10 #ifndef _APPL_DIAG_DFE_FABRIC_H_INCLUDED_ 11 #define _APPL_DIAG_DFE_FABRIC_H_INCLUDED_ 12 13 #include <appl/diag/shell.h> 14 15 #include <appl/diag/dcmn/diag.h> 16 17 #ifdef BCM_DFE_SUPPORT 18 #include <soc/dfe/cmn/dfe_diag.h> 19 #include <soc/dfe/cmn/dfe_fabric_cell_snake_test.h> 20 21 cmd_result_t diag_dfe_fabric_counters_print(int unit); 22 cmd_result_t diag_dfe_fabric_queues_print(int unit); 23 cmd_result_t diag_dfe_fabric_thresholds_types_parse(int unit, char *th_name, diag_dnx_fabric_link_th_info_t *thresholds_info); 24 cmd_result_t diag_dfe_fabric_thresholds_supported_get(int unit, bcm_port_t port, bcm_fabric_link_threshold_type_t type, int *supported); 25 cmd_result_t diag_dfe_fabric_thresholds_threshold_to_str(int unit, bcm_fabric_link_threshold_type_t type, char **type_name); 26 27 void diag_dfe_fabric_cell_snake_test_result_print( int unit, soc_fabric_cell_snake_test_results_t* results); 28 #endif /*BCM_DFE_SUPPORT*/ 29 30 #endif /*!_APPL_DIAG_DFE_FABRIC_H_INCLUDED_*/ 31 32