diag_dnxf_fabric.h (2100B)
1 /* 2 * ! \file diag_swstate_tests.h Purpose: shell registers commands for sw state tests 3 */ 4 /* 5 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 6 * 7 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 8 */ 9 #ifndef DIAG_DNXF_FABRIC_H_INCLUDED 10 #define DIAG_DNXF_FABRIC_H_INCLUDED 11 12 #include <appl/diag/shell.h> 13 #include <appl/diag/sand/diag_sand_utils.h> 14 #include <appl/diag/sand/diag_sand_framework.h> 15 16 /* 17 * { Local Structures 18 */ 19 20 /* 21 * } Local Structures 22 */ 23 24 /* 25 * { Functions 26 */ 27 /** 28 * DNXF specific command for printing FE queues status 29 * 30 * @author db889754 (2/2/2018) 31 * 32 * @param unit 33 * @param args 34 * @param sand_control 35 * 36 * @return shr_error_e 37 */ 38 shr_error_e cmd_dnxf_fabric_queues( 39 int unit, 40 args_t * args, 41 sh_sand_control_t * sand_control); 42 extern sh_sand_option_t dnxf_fabric_queues_options[]; 43 extern sh_sand_man_t dnxf_fabric_queues_man; 44 /** 45 * DNXF specific command for printing fabric CGM thresholds 46 * 47 * 48 * \param unit 49 * \param args 50 * \param sand_control 51 * 52 * \return shr_error_e 53 */ 54 shr_error_e cmd_dnxf_fabric_thresholds( 55 int unit, 56 args_t * args, 57 sh_sand_control_t * sand_control); 58 extern sh_sand_option_t dnxf_fabric_thresholds_options[]; 59 extern sh_sand_man_t dnxf_fabric_thresholds_man; 60 /** 61 * DNXF specific command for printing fabric counters in as a 62 * graphic 63 * 64 * @author db889754 (2/2/2018) 65 * 66 * @param unit 67 * @param sand_control 68 * 69 * @return shr_error_e 70 */ 71 shr_error_e diag_dnxf_counters_graphical_print( 72 int unit, 73 sh_sand_control_t * sand_control); 74 /** 75 * DNXF specific command for printing fabric traffic profile 76 * 77 * @author db889754 (2/2/2018) 78 * 79 * @param unit 80 * @param args 81 * @param sand_control 82 * 83 * @return shr_error_e 84 */ 85 shr_error_e cmd_dnxf_fabric_traffic( 86 int unit, 87 args_t * args, 88 sh_sand_control_t * sand_control); 89 extern sh_sand_option_t dnxf_fabric_traffic_options[]; 90 extern sh_sand_man_t dnxf_fabric_traffic_man; 91 92 /* 93 * } Local Functions 94 */ 95 #endif /* DIAG_DNXF_FABRIC_H_INCLUDED */