text: /*******************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by fltg from
   *    INTERNAL/fltg/xgs/tm/bcm56880_a0/bcm56880_a0_TM_SERVICE_POOL_OVERRIDE.map.ltl for
   *      bcm56880_a0
   *
   * Tool: $SDK/INTERNAL/fltg/bin/fltg
   *
   * Edits to this file will be lost when it is regenerated.
   *
   * 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.
   */
  #include <bcmlrd/bcmlrd_internal.h>
  #include <bcmlrd/chip/bcmlrd_id.h>
  #include <bcmlrd/chip/bcm56880_a0/bcm56880_a0_lrd_field_data.h>
  #include <bcmlrd/chip/bcm56880_a0/bcm56880_a0_lrd_ltm_intf.h>
  #include <bcmlrd/chip/bcm56880_a0/bcm56880_a0_lrd_xfrm_field_desc.h>
  #include <bcmdrd/chip/bcm56880_a0_enum.h>
  #include "bcmltd/chip/bcmltd_common_enumpool.h"
  #include "bcm56880_a0_lrd_enumpool.h"
  /* TM_SERVICE_POOL_OVERRIDE field init */
  static const bcmlrd_field_data_t bcm56880_a0_lrd_tm_service_pool_override_map_field_data_mmd[] = {
      { /* 0 MC_OVERRIDE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 1 MC_SERVICE_POOL */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u8_0x0,
        .def = &bcm56880_a0_lrd_ifd_u8_0x0,
        .max = &bcm56880_a0_lrd_ifd_u8_0x3,
        .depth = 0,
        .width = 2,
        .edata = NULL,
      },
      { /* 2 CPU_OVERRIDE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 3 CPU_SERVICE_POOL */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u8_0x0,
        .def = &bcm56880_a0_lrd_ifd_u8_0x0,
        .max = &bcm56880_a0_lrd_ifd_u8_0x3,
        .depth = 0,
        .width = 2,
        .edata = NULL,
      },
      { /* 4 MIRROR_OVERRIDE */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .def = &bcm56880_a0_lrd_ifd_is_true_0x0,
        .max = &bcm56880_a0_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 5 MIRROR_SERVICE_POOL */
        .flags = 0,
        .min = &bcm56880_a0_lrd_ifd_u8_0x0,
        .def = &bcm56880_a0_lrd_ifd_u8_0x0,
        .max = &bcm56880_a0_lrd_ifd_u8_0x3,
        .depth = 0,
        .width = 2,
        .edata = NULL,
      },
  };
  const bcmlrd_map_field_data_t bcm56880_a0_lrd_tm_service_pool_override_map_field_data = {
      .fields = 6,
      .field = bcm56880_a0_lrd_tm_service_pool_override_map_field_data_mmd
  };
  
  static const bcmlrd_map_table_attr_t bcm56880_a0_lrd_tm_service_pool_overridet_attr_entry[] = {
      { /* 0 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_INTERACTIVE,
          .value = true,
      },
      { /* 1 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_TABLE_MAX_INDEX,
          .value = 0,
      },
      { /* 2 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_TABLE_MIN_INDEX,
          .value = 0,
      },
  };
  
  static const bcmlrd_map_attr_t bcm56880_a0_lrd_tm_service_pool_overridet_attr_group = {
      .attributes = 3,
      .attr = bcm56880_a0_lrd_tm_service_pool_overridet_attr_entry,
  };
  
  static const bcmlrd_map_entry_t bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_cpu_spid_override_ctrl_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = ENABLEf,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_CPU_OVERRIDEf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 0,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = SPIDf,
              .field_idx = 0,
              .minbit    = 1,
              .maxbit    = 2,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_CPU_SERVICE_POOLf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 1,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
  };
  static const bcmlrd_map_entry_t bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_mc_spid_override_ctrl_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = ENABLEf,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_MC_OVERRIDEf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 0,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = SPIDf,
              .field_idx = 0,
              .minbit    = 1,
              .maxbit    = 2,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_MC_SERVICE_POOLf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 1,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
  };
  static const bcmlrd_map_entry_t bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_mirror_spid_override_ctrl_map_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = ENABLEf,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_MIRROR_OVERRIDEf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 0,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
      { /* 1 */
          .entry_type = BCMLRD_MAP_ENTRY_MAPPED_VALUE,
          .desc = {
              .field_id  = SPIDf,
              .field_idx = 0,
              .minbit    = 1,
              .maxbit    = 2,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              .mapped = {
                  .src = {
                      .field_id = TM_SERVICE_POOL_OVERRIDEt_MIRROR_SERVICE_POOLf,
                      .field_idx = 0,
                      .minbit    = 0,
                      .maxbit    = 1,
                      .entry_idx = 0,
                      .reserved  = 0
                  }
              }
          },
      },
  };
  static const bcmlrd_map_group_t bcm56880_a0_lrd_tm_service_pool_override_map_group[] = {
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = MMU_THDI_CPU_SPID_OVERRIDE_CTRLr,
          },
          .entries = 2,
          .entry = bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_cpu_spid_override_ctrl_map_entry
      },
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = MMU_THDI_MC_SPID_OVERRIDE_CTRLr,
          },
          .entries = 2,
          .entry = bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_mc_spid_override_ctrl_map_entry
      },
      {
          .dest = {
              .kind = BCMLRD_MAP_PHYSICAL,
              .id = MMU_THDI_MIRROR_SPID_OVERRIDE_CTRLr,
          },
          .entries = 2,
          .entry = bcm56880_a0_lrd_tm_service_pool_overridet_mmu_thdi_mirror_spid_override_ctrl_map_entry
      },
  };
  const bcmlrd_map_t bcm56880_a0_lrd_tm_service_pool_override_map = {
      .src_id = TM_SERVICE_POOL_OVERRIDEt,
      .field_data = &bcm56880_a0_lrd_tm_service_pool_override_map_field_data,
      .groups = 3,
      .group  = bcm56880_a0_lrd_tm_service_pool_override_map_group,
      .table_attr = &bcm56880_a0_lrd_tm_service_pool_overridet_attr_group,
      .entry_ops = BCMLRD_MAP_TABLE_ENTRY_OPERATION_LOOKUP | BCMLRD_MAP_TABLE_ENTRY_OPERATION_TRAVERSE | BCMLRD_MAP_TABLE_ENTRY_OPERATION_INSERT | BCMLRD_MAP_TABLE_ENTRY_OPERATION_UPDATE | BCMLRD_MAP_TABLE_ENTRY_OPERATION_DELETE
  };
  