text: /* 
   * 
   * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
   * 
   * Copyright 2007-2020 Broadcom Inc. All rights reserved.
   * 
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated.
   * Edits to this file will be lost when it is regenerated.
   */
  
  #include <sal/core/libc.h>
  #include <shared/swstate/sw_state.h>
  #include <shared/error.h>
  #include <shared/swstate/sw_state_defs.h>
  #include <shared/bsl.h>
  #include <shared/swstate/sw_state_dump.h>
  #include <shared/swstate/diagnostic/sw_state_diagnostic.h>
  #include <shared/swstate/diagnostic/sw_state_dpp_bcm_cosq_diagnostic.h>
  
  #ifdef BCM_WARM_BOOT_API_TEST
  #ifdef _ERR_MSG_MODULE_NAME
      #error "_ERR_MSG_MODULE_NAME redefined"
  #endif
  
  #define _ERR_MSG_MODULE_NAME BSL_LS_SHARED_SWSTATE
  
  extern shr_sw_state_t *sw_state[BCM_MAX_NUM_UNITS];
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_dump(int unit){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq, sizeof(*sw_state[unit]->dpp.bcm.cosq), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.dump(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.dump(unit, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.hr_fc_default_template.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.hr_fc_default_template_data.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_type.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_class.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_flags.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_flags.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_flags.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_config.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_flow.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.isq_port.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.fmq_class_ports.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.rx_pfc_map_info.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.dump(unit, cosq_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.dump(unit, cosq_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_hr_fc_default_template_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.hr_fc_default_template,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.hr_fc_default_template: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_hr_fc_default_template_data_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.hr_fc_default_template_data,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.hr_fc_default_template_data: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_default_se_type_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se_type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.default_se_type: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_default_se_class_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se_class,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.default_se_class: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_flags_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_flags: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_flags_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_flags: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_flags_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_flags: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_config_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_config.ref_cnt.dump(unit, cosq_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_config_ref_cnt_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_config.ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_config.ref_cnt: ", unit);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_default_se_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_config.default_se[%d]: ", unit, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_default_se_flow_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se_flow
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se_flow), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.default_se_flow[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_config.default_se_flow[%d]: ", unit, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_isq_port_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.isq_port
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.isq_port), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.isq_port[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_config.isq_port[%d]: ", unit, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_fmq_class_ports_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.fmq_class_ports
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.fmq_class_ports), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              {
                  int i1;
                  i1 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.fmq_class_ports[i0]
                      , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.fmq_class_ports[i0]), DPP_DEVICE_FMQ_CLASS_PORTS) ? DPP_DEVICE_FMQ_CLASS_PORTS - 1 : 0;
                  for (; i1 < DPP_DEVICE_FMQ_CLASS_PORTS; i1++) {
                      shr_sw_state_dump_update_current_idx(unit, i1);
                      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.fmq_class_ports[i0][i1],
                          "sw_state[%d]->dpp.bcm.cosq->cosq_config.fmq_class_ports[%d][%d]: ", unit, i0, i1);
                  }
                  shr_sw_state_dump_end_of_stride(unit);
              }
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_config_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_config
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_config), DPP_DEVICE_COSQ_MAX_COS) ? DPP_DEVICE_COSQ_MAX_COS - 1 : 0;
          for (; i0 < DPP_DEVICE_COSQ_MAX_COS; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.num_cos.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.flags.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.ref_cnt.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_config_num_cos_dump(int unit, int cosq_idx_0, int voq_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_config[voq_config_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_config[%d].num_cos: ", unit, voq_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_config_flags_dump(int unit, int cosq_idx_0, int voq_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_config[voq_config_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_config[%d].flags: ", unit, voq_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_config_ref_cnt_dump(int unit, int cosq_idx_0, int voq_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_config[voq_config_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_config[%d].ref_cnt: ", unit, voq_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_config_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config), DPP_DEVICE_COSQ_MAX_COS) ? DPP_DEVICE_COSQ_MAX_COS - 1 : 0;
          for (; i0 < DPP_DEVICE_COSQ_MAX_COS; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.num_cos.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.flags.dump(unit, cosq_idx_0, i0);
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.src_modid.dump(unit, cosq_idx_0, i0);
  #endif
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.ref_cnt.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_config_num_cos_dump(int unit, int cosq_idx_0, int connector_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config[connector_config_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_config[%d].num_cos: ", unit, connector_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_config_flags_dump(int unit, int cosq_idx_0, int connector_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config[connector_config_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_config[%d].flags: ", unit, connector_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_config_src_modid_dump(int unit, int cosq_idx_0, int connector_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config[connector_config_idx_0].src_modid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_config[%d].src_modid: ", unit, connector_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_config_ref_cnt_dump(int unit, int cosq_idx_0, int connector_config_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_config[connector_config_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_config[%d].ref_cnt: ", unit, connector_config_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal), SOC_DPP_MAX_INTERLAKEN_PORTS) ? SOC_DPP_MAX_INTERLAKEN_PORTS - 1 : 0;
          for (; i0 < SOC_DPP_MAX_INTERLAKEN_PORTS; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.valid.dump(unit, cosq_idx_0, inband_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.intf.dump(unit, cosq_idx_0, inband_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.cal_mode_ndx.dump(unit, cosq_idx_0, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_valid_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].rx.valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].rx.valid: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_intf_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].rx.intf,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].rx.intf: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_cal_mode_ndx_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].rx.cal_mode_ndx,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].rx.cal_mode_ndx: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.valid.dump(unit, cosq_idx_0, inband_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.intf.dump(unit, cosq_idx_0, inband_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.cal_mode_ndx.dump(unit, cosq_idx_0, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_valid_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].tx.valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].tx.valid: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_intf_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].tx.intf,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].tx.intf: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_cal_mode_ndx_dump(int unit, int cosq_idx_0, int inband_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.inband_cal[inband_cal_idx_0].tx.cal_mode_ndx,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.inband_cal[%d].tx.cal_mode_ndx: ", unit, inband_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal), SOC_DPP_MAX_OOB_PORTS) ? SOC_DPP_MAX_OOB_PORTS - 1 : 0;
          for (; i0 < SOC_DPP_MAX_OOB_PORTS; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.valid.dump(unit, cosq_idx_0, oob_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.intf.dump(unit, cosq_idx_0, oob_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.cal_mode_ndx.dump(unit, cosq_idx_0, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_valid_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].rx.valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].rx.valid: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_intf_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].rx.intf,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].rx.intf: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_cal_mode_ndx_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].rx.cal_mode_ndx,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].rx.cal_mode_ndx: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.valid.dump(unit, cosq_idx_0, oob_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.intf.dump(unit, cosq_idx_0, oob_cal_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.cal_mode_ndx.dump(unit, cosq_idx_0, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_valid_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].tx.valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].tx.valid: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_intf_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].tx.intf,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].tx.intf: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_cal_mode_ndx_dump(int unit, int cosq_idx_0, int oob_cal_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.oob_cal[oob_cal_idx_0].tx.cal_mode_ndx,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.oob_cal[%d].tx.cal_mode_ndx: ", unit, oob_cal_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_rx_pfc_map_info_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.rx_pfc_map_info
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.rx_pfc_map_info), SOC_MAX_NUM_PORTS) ? SOC_MAX_NUM_PORTS - 1 : 0;
          for (; i0 < SOC_MAX_NUM_PORTS; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.rx_pfc_map_info[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_config.rx_pfc_map_info[%d]: ", unit, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_ingress_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.ingress
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.ingress), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.vsq_category_mode.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.ucast_qid_start.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.ucast_qid_end.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_ingress_vsq_category_mode_dump(int unit, int cosq_idx_0, int ingress_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.ingress[ingress_idx_0].vsq_category_mode,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.ingress[%d].vsq_category_mode: ", unit, ingress_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_ingress_ucast_qid_start_dump(int unit, int cosq_idx_0, int ingress_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.ingress[ingress_idx_0].ucast_qid_start,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.ingress[%d].ucast_qid_start: ", unit, ingress_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_ingress_ucast_qid_end_dump(int unit, int cosq_idx_0, int ingress_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.ingress[ingress_idx_0].ucast_qid_end,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.ingress[%d].ucast_qid_end: ", unit, ingress_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd), 1) ? 1 - 1 : 0;
          for (; i0 < 1; i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.se_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.num_elements.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.type.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].voq_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].voq_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.num_cos.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.flags.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.ref_cnt.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_num_cos_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].voq_buf[voq_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].voq_buf[%d].num_cos: ", unit, voq_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_flags_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].voq_buf[voq_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].voq_buf[%d].flags: ", unit, voq_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_ref_cnt_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].voq_buf[voq_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].voq_buf[%d].ref_cnt: ", unit, voq_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.num_cos.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.flags.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.src_modid.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
  #endif
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.ref_cnt.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_num_cos_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf[connector_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].connector_buf[%d].num_cos: ", unit, voq_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_flags_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf[connector_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].connector_buf[%d].flags: ", unit, voq_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_src_modid_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf[connector_buf_idx_0].src_modid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].connector_buf[%d].src_modid: ", unit, voq_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_ref_cnt_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].connector_buf[connector_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].connector_buf[%d].ref_cnt: ", unit, voq_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_se_buf_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].se_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].se_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.se_buf.ref_cnt.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_se_buf_ref_cnt_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int se_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].se_buf[se_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].se_buf[%d].ref_cnt: ", unit, voq_hd_idx_0, se_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].flow_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].flow_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.weight.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.mode.dump(unit, cosq_idx_0, voq_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_weight_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].flow_buf[flow_buf_idx_0].weight,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].flow_buf[%d].weight: ", unit, voq_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_mode_dump(int unit, int cosq_idx_0, int voq_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].flow_buf[flow_buf_idx_0].mode,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].flow_buf[%d].mode: ", unit, voq_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_num_elements_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].num_elements,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].num_elements: ", unit, voq_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_voq_hd_type_dump(int unit, int cosq_idx_0, int voq_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.voq_hd[voq_hd_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.voq_hd[%d].type: ", unit, voq_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.se_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.num_elements.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.type.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].voq_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].voq_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.num_cos.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.flags.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.ref_cnt.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_num_cos_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].voq_buf[voq_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].voq_buf[%d].num_cos: ", unit, flow_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_flags_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].voq_buf[voq_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].voq_buf[%d].flags: ", unit, flow_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_ref_cnt_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].voq_buf[voq_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].voq_buf[%d].ref_cnt: ", unit, flow_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.num_cos.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.flags.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.src_modid.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
  #endif
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.ref_cnt.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_num_cos_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf[connector_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].connector_buf[%d].num_cos: ", unit, flow_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_flags_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf[connector_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].connector_buf[%d].flags: ", unit, flow_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_src_modid_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf[connector_buf_idx_0].src_modid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].connector_buf[%d].src_modid: ", unit, flow_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_ref_cnt_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].connector_buf[connector_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].connector_buf[%d].ref_cnt: ", unit, flow_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_se_buf_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].se_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].se_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.se_buf.ref_cnt.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_se_buf_ref_cnt_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int se_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].se_buf[se_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].se_buf[%d].ref_cnt: ", unit, flow_hd_idx_0, se_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].flow_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].flow_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.weight.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.mode.dump(unit, cosq_idx_0, flow_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_weight_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].flow_buf[flow_buf_idx_0].weight,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].flow_buf[%d].weight: ", unit, flow_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_mode_dump(int unit, int cosq_idx_0, int flow_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].flow_buf[flow_buf_idx_0].mode,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].flow_buf[%d].mode: ", unit, flow_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_num_elements_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].num_elements,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].num_elements: ", unit, flow_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_flow_hd_type_dump(int unit, int cosq_idx_0, int flow_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.flow_hd[flow_hd_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.flow_hd[%d].type: ", unit, flow_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.se_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.num_elements.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.type.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].voq_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].voq_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.num_cos.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.flags.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.ref_cnt.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_num_cos_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].voq_buf[voq_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].voq_buf[%d].num_cos: ", unit, connector_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_flags_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].voq_buf[voq_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].voq_buf[%d].flags: ", unit, connector_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_ref_cnt_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].voq_buf[voq_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].voq_buf[%d].ref_cnt: ", unit, connector_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.num_cos.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.flags.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.src_modid.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
  #endif
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.ref_cnt.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_num_cos_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf[connector_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].connector_buf[%d].num_cos: ", unit, connector_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_flags_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf[connector_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].connector_buf[%d].flags: ", unit, connector_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_src_modid_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf[connector_buf_idx_0].src_modid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].connector_buf[%d].src_modid: ", unit, connector_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_ref_cnt_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].connector_buf[connector_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].connector_buf[%d].ref_cnt: ", unit, connector_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_se_buf_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].se_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].se_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.se_buf.ref_cnt.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_se_buf_ref_cnt_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int se_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].se_buf[se_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].se_buf[%d].ref_cnt: ", unit, connector_hd_idx_0, se_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].flow_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].flow_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.weight.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.mode.dump(unit, cosq_idx_0, connector_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_weight_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].flow_buf[flow_buf_idx_0].weight,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].flow_buf[%d].weight: ", unit, connector_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_mode_dump(int unit, int cosq_idx_0, int connector_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].flow_buf[flow_buf_idx_0].mode,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].flow_buf[%d].mode: ", unit, connector_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_num_elements_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].num_elements,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].num_elements: ", unit, connector_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_connector_hd_type_dump(int unit, int cosq_idx_0, int connector_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.connector_hd[connector_hd_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.connector_hd[%d].type: ", unit, connector_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.se_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.num_elements.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.type.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].voq_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].voq_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.num_cos.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.flags.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.ref_cnt.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_num_cos_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].voq_buf[voq_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].voq_buf[%d].num_cos: ", unit, se_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_flags_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].voq_buf[voq_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].voq_buf[%d].flags: ", unit, se_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_ref_cnt_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int voq_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].voq_buf[voq_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].voq_buf[%d].ref_cnt: ", unit, se_hd_idx_0, voq_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.num_cos.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.flags.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.src_modid.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
  #endif
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.ref_cnt.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_num_cos_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf[connector_buf_idx_0].num_cos,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].connector_buf[%d].num_cos: ", unit, se_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_flags_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf[connector_buf_idx_0].flags,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].connector_buf[%d].flags: ", unit, se_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_src_modid_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf[connector_buf_idx_0].src_modid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].connector_buf[%d].src_modid: ", unit, se_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_ref_cnt_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int connector_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].connector_buf[connector_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].connector_buf[%d].ref_cnt: ", unit, se_hd_idx_0, connector_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_se_buf_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].se_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].se_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.se_buf.ref_cnt.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_se_buf_ref_cnt_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int se_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].se_buf[se_buf_idx_0].ref_cnt,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].se_buf[%d].ref_cnt: ", unit, se_hd_idx_0, se_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].flow_buf, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].flow_buf), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.weight.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.mode.dump(unit, cosq_idx_0, se_hd_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_weight_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].flow_buf[flow_buf_idx_0].weight,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].flow_buf[%d].weight: ", unit, se_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_mode_dump(int unit, int cosq_idx_0, int se_hd_idx_0, int flow_buf_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].flow_buf[flow_buf_idx_0].mode,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].flow_buf[%d].mode: ", unit, se_hd_idx_0, flow_buf_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_num_elements_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].num_elements,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].num_elements: ", unit, se_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_config_se_hd_type_dump(int unit, int cosq_idx_0, int se_hd_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_config.se_hd[se_hd_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_config.se_hd[%d].type: ", unit, se_hd_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_dump(int unit, int cosq_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info), SOC_DPP_DEFS_MAX(NOF_CORES)) ? SOC_DPP_DEFS_MAX(NOF_CORES) - 1 : 0;
          for (; i0 < SOC_DPP_DEFS_MAX(NOF_CORES); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_fixed_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_fixed_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_total_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_free_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_total_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_free_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_total_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_free_dynamic_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.dump(unit, cosq_idx_0, i0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.dump(unit, cosq_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_fixed_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_fixed_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_fixed_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_fixed_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_fixed_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.is_valid.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.is_dynamic.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.pool_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.type_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.type.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.p_pool_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.res.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.start.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.count.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_is_valid_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].is_valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].is_valid: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_is_dynamic_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].is_dynamic,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].is_dynamic: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_pool_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].pool_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].pool_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_type_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].type_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].type_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_type_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].type: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_p_pool_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].p_pool_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].p_pool_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].res
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].res), SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1)) ? SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1) - 1 : 0;
          for (; i0 < SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].res[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].res[%d]: ", unit, cosq_res_info_idx_0, entries_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_start_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].start,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].start: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_count_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].e2e_total_res_pool.entries[entries_idx_0].count,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].e2e_total_res_pool.entries[%d].count: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_1_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_1_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_1_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_1_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_1_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_1_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_1_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_1_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_2_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_2_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_2_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_2_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_2_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_2_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].connector_non_cont_region_type_2_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].connector_non_cont_region_type_2_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_1_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_1_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_1_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_1_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_1_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_1_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_1_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_1_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_2_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_2_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_2_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_2_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_2_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_2_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_fq_region_type_2_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_fq_region_type_2_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_hr_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_hr_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_hr_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_hr_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_hr_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_hr_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].se_cl_hr_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].se_cl_hr_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].fq_connector_region_type_2_sync_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].fq_connector_region_type_2_sync_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].fq_connector_region_type_2_sync_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].fq_connector_region_type_2_sync_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].fq_connector_region_type_2_sync_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].fq_connector_region_type_2_sync_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].fq_connector_region_type_2_sync_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].fq_connector_region_type_2_sync_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].hr_connector_region_type_2_sync_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].hr_connector_region_type_2_sync_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].hr_connector_region_type_2_sync_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].hr_connector_region_type_2_sync_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].hr_connector_region_type_2_sync_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].hr_connector_region_type_2_sync_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].hr_connector_region_type_2_sync_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].hr_connector_region_type_2_sync_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_fixed_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_fixed_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_fixed_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_fixed_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_fixed_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_total_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_total_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_total_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_total_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_total_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_free_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_free_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_free_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_free_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_free_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_total_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_total_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_total_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_total_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_total_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_free_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_free_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_free_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_free_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_free_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_total_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_total_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_total_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_total_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_total_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_free_dynamic_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_free_dynamic_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_free_dynamic_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_free_dynamic_res[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_free_dynamic_res[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].quad_interdigitated_res, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].quad_interdigitated_res), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.is_quad_region_allocated.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.is_interdigitated.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_is_quad_region_allocated_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int quad_interdigitated_res_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].quad_interdigitated_res[quad_interdigitated_res_idx_0].is_quad_region_allocated,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].quad_interdigitated_res[%d].is_quad_region_allocated: ", unit, cosq_res_info_idx_0, quad_interdigitated_res_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_is_interdigitated_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int quad_interdigitated_res_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].quad_interdigitated_res[quad_interdigitated_res_idx_0].is_interdigitated,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].quad_interdigitated_res[%d].is_interdigitated: ", unit, cosq_res_info_idx_0, quad_interdigitated_res_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_non_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_non_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_non_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_non_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_non_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_non_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_unicast_non_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_unicast_non_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_non_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_non_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_non_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_non_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_non_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_non_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_multicast_non_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_multicast_non_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_non_cont_res_pool_ref.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_non_cont_res_pool_ref.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_non_cont_res_pool_ref.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_non_cont_res_pool_ref.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_non_cont_res_pool_ref.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_non_cont_res_pool_ref.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_isq_non_cont_res_pool_ref.entries[j0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_isq_non_cont_res_pool_ref.entries[%d]: ", unit, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.max_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.valid_entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.dump(unit, cosq_idx_0, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_max_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.max_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.max_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_valid_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.valid_entries,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.valid_entries: ", unit, cosq_res_info_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          uint32 j0, J0;
          sw_state_get_nof_elements(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries, sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries), &j0 ,&J0);
          for (; j0 < J0; j0++) {
              shr_sw_state_dump_update_current_idx(unit, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.is_valid.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.is_dynamic.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.pool_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.type_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.type.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.p_pool_id.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.res.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.start.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
              sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.count.dump(unit, cosq_idx_0, cosq_res_info_idx_0, j0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_is_valid_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].is_valid,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].is_valid: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_is_dynamic_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].is_dynamic,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].is_dynamic: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_pool_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].pool_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].pool_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_type_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].type_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].type_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_type_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].type,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].type: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_p_pool_id_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].p_pool_id,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].p_pool_id: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_res_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      {
          int i0;
          i0 = shr_sw_state_dump_check_all_the_same(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].res
              , sizeof(*sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].res), SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1)) ? SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1) - 1 : 0;
          for (; i0 < SHR_BITALLOCSIZE(DPP_DEVICE_COSQ_MAX_REGION_VAL+1); i0++) {
              shr_sw_state_dump_update_current_idx(unit, i0);
              SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].res[i0],
                  "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].res[%d]: ", unit, cosq_res_info_idx_0, entries_idx_0, i0);
          }
          shr_sw_state_dump_end_of_stride(unit);
      }
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_start_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].start,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].start: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
  /* AUTO-GENERATED - DO NOT MODIFY */
  int sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_count_dump(int unit, int cosq_idx_0, int cosq_res_info_idx_0, int entries_idx_0){
      SW_STATE_INIT_FUNC_DEFS;
      SW_STATE_PRINT_OPAQUE(unit, sw_state[unit]->dpp.bcm.cosq->cosq_res_info[cosq_res_info_idx_0].queue_total_res_pool.entries[entries_idx_0].count,
          "sw_state[%d]->dpp.bcm.cosq->cosq_res_info[%d].queue_total_res_pool.entries[%d].count: ", unit, cosq_res_info_idx_0, entries_idx_0);
      SW_STATE_FUNC_RETURN;
  }
  
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  
  
  int
  sw_state_dpp_bcm_cosq_diagnostic_cb_init(int unit){
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.dump = sw_state_dpp_bcm_cosq_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.dump = sw_state_dpp_bcm_cosq_cosq_config_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.hr_fc_default_template.dump = sw_state_dpp_bcm_cosq_cosq_config_hr_fc_default_template_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.hr_fc_default_template_data.dump = sw_state_dpp_bcm_cosq_cosq_config_hr_fc_default_template_data_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_type.dump = sw_state_dpp_bcm_cosq_cosq_config_default_se_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_class.dump = sw_state_dpp_bcm_cosq_cosq_config_default_se_class_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_flags.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_flags.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_flags.dump = sw_state_dpp_bcm_cosq_cosq_config_se_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_config.dump = sw_state_dpp_bcm_cosq_cosq_config_se_config_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_config.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_se_config_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se.dump = sw_state_dpp_bcm_cosq_cosq_config_default_se_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.default_se_flow.dump = sw_state_dpp_bcm_cosq_cosq_config_default_se_flow_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.isq_port.dump = sw_state_dpp_bcm_cosq_cosq_config_isq_port_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.fmq_class_ports.dump = sw_state_dpp_bcm_cosq_cosq_config_fmq_class_ports_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_config_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_config_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_config_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_config.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_config_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_config_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_config_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_config_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.src_modid.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_config_src_modid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_config.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_config_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.valid.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.intf.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_intf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.rx.cal_mode_ndx.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_rx_cal_mode_ndx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.valid.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.intf.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_intf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.inband_cal.tx.cal_mode_ndx.dump = sw_state_dpp_bcm_cosq_cosq_config_inband_cal_tx_cal_mode_ndx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.valid.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.intf.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_intf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.rx.cal_mode_ndx.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_rx_cal_mode_ndx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.valid.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.intf.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_intf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.oob_cal.tx.cal_mode_ndx.dump = sw_state_dpp_bcm_cosq_cosq_config_oob_cal_tx_cal_mode_ndx_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.rx_pfc_map_info.dump = sw_state_dpp_bcm_cosq_cosq_config_rx_pfc_map_info_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.dump = sw_state_dpp_bcm_cosq_cosq_config_ingress_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.vsq_category_mode.dump = sw_state_dpp_bcm_cosq_cosq_config_ingress_vsq_category_mode_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.ucast_qid_start.dump = sw_state_dpp_bcm_cosq_cosq_config_ingress_ucast_qid_start_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.ingress.ucast_qid_end.dump = sw_state_dpp_bcm_cosq_cosq_config_ingress_ucast_qid_end_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.voq_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_voq_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.src_modid.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_src_modid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.connector_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_connector_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.se_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_se_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.se_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_se_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.weight.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_weight_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.flow_buf.mode.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_flow_buf_mode_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.num_elements.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_num_elements_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.voq_hd.type.dump = sw_state_dpp_bcm_cosq_cosq_config_voq_hd_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.voq_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_voq_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.src_modid.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_src_modid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.connector_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_connector_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.se_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_se_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.se_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_se_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.weight.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_weight_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.flow_buf.mode.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_flow_buf_mode_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.num_elements.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_num_elements_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.flow_hd.type.dump = sw_state_dpp_bcm_cosq_cosq_config_flow_hd_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.voq_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_voq_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.src_modid.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_src_modid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.connector_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_connector_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.se_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_se_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.se_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_se_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.weight.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_weight_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.flow_buf.mode.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_flow_buf_mode_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.num_elements.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_num_elements_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.connector_hd.type.dump = sw_state_dpp_bcm_cosq_cosq_config_connector_hd_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.voq_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_voq_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.num_cos.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_num_cos_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.flags.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_flags_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.src_modid.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_src_modid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #endif /* BCM_DPP_COSQ_CONN_NO_MODID_OPTIMIZATION*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.connector_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_connector_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.se_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_se_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.se_buf.ref_cnt.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_se_buf_ref_cnt_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.weight.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_weight_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.flow_buf.mode.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_flow_buf_mode_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.num_elements.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_num_elements_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_config.se_hd.type.dump = sw_state_dpp_bcm_cosq_cosq_config_se_hd_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.dump = sw_state_dpp_bcm_cosq_cosq_res_info_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_fixed_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_fixed_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.is_valid.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_is_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.is_dynamic.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_is_dynamic_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.pool_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_pool_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.type_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_type_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.type.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.p_pool_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_p_pool_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.start.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_start_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.e2e_total_res_pool.entries.count.dump = sw_state_dpp_bcm_cosq_cosq_res_info_e2e_total_res_pool_entries_count_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_1_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_1_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.connector_non_cont_region_type_2_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_connector_non_cont_region_type_2_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_1_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_1_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_fq_region_type_2_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_fq_region_type_2_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.se_cl_hr_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_se_cl_hr_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.fq_connector_region_type_2_sync_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_fq_connector_region_type_2_sync_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.hr_connector_region_type_2_sync_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_hr_connector_region_type_2_sync_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_fixed_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_fixed_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_total_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_total_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_free_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_free_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_total_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_total_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_free_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_free_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_total_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_total_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_free_dynamic_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_free_dynamic_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.is_quad_region_allocated.dump = sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_is_quad_region_allocated_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.quad_interdigitated_res.is_interdigitated.dump = sw_state_dpp_bcm_cosq_cosq_res_info_quad_interdigitated_res_is_interdigitated_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_unicast_non_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_unicast_non_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_multicast_non_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_multicast_non_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_isq_non_cont_res_pool_ref.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_isq_non_cont_res_pool_ref_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.max_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_max_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.valid_entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_valid_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.is_valid.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_is_valid_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.is_dynamic.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_is_dynamic_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.pool_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_pool_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.type_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_type_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.type.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_type_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.p_pool_id.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_p_pool_id_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.res.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_res_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.start.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_start_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
  #ifdef BCM_PETRA_SUPPORT
  #if defined(BCM_PETRA_SUPPORT)
      sw_state_diagnostic[unit].dpp.bcm.cosq.cosq_res_info.queue_total_res_pool.entries.count.dump = sw_state_dpp_bcm_cosq_cosq_res_info_queue_total_res_pool_entries_count_dump;
  #endif /* defined(BCM_PETRA_SUPPORT)*/ 
  #endif /* BCM_PETRA_SUPPORT*/ 
      return _SHR_E_NONE;
  }
  
  #undef _ERR_MSG_MODULE_NAME
  #endif /* BCM_WARM_BOOT_API_TEST */
  