text: /*******************************************************************************
   *
   * DO NOT EDIT THIS FILE!
   * This file is auto-generated by fltg from
   *    INTERNAL/fltg/xgs/npl/bcm56780_a0/dna_2_4_13/bcm56780_a0_dna_2_4_13_DT_EFP_ACTION_TEMPLATE.map.ltl for
   *      bcm56780_a0 variant dna_2_4_13
   *
   * 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/bcm56780_a0/dna_2_4_13/bcm56780_a0_dna_2_4_13_lrd_field_data.h>
  #include <bcmlrd/chip/bcm56780_a0/bcm56780_a0_lrd_ltm_intf.h>
  #include <bcmlrd/chip/bcm56780_a0/dna_2_4_13/bcm56780_a0_dna_2_4_13_lrd_ltm_intf.h>
  #include <bcmlrd/chip/bcm56780_a0/dna_2_4_13/bcm56780_a0_dna_2_4_13_lrd_xfrm_field_desc.h>
  #include <bcmdrd/chip/bcm56780_a0_enum.h>
  #include "bcmltd/chip/bcmltd_common_enumpool.h"
  #include "../bcm56780_a0_lrd_enumpool.h"
  #include "bcm56780_a0_dna_2_4_13_lrd_enumpool.h"
  #include <bcmltd/bcmltd_handler.h>
  /* DT_EFP_ACTION_TEMPLATE field init */
  static const bcmlrd_field_data_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_field_data_mmd[] = {
      { /* 0 EFP_ACTION_TEMPLATE_INDEX */
        .flags = BCMLTD_FIELD_F_KEY,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u32_0x1,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u32_0x1,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u32_0x1000,
        .depth = 0,
        .width = 13,
        .edata = NULL,
      },
      { /* 1 EGR_METER_TRIGGERS_METER_ACTION_SET */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x3fff,
        .depth = 0,
        .width = 14,
        .edata = NULL,
      },
      { /* 2 EGR_METER_TRIGGERS_COLOR_TABLE_INDEX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x3ff,
        .depth = 0,
        .width = 10,
        .edata = NULL,
      },
      { /* 3 EGR_METER_TRIGGERS_COLOR_PDD_SBR_INDEX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 4 EGR_METADATA_SF_LTS_IDX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 5 EGR_CMD_BUS_EFP_DROP_TRACE_POLICY */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 6 EGR_FIELD_BUS_TNL_L3_PROTOCOL */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 7 EGR_CMD_BUS_EFP_HG3_CTRL */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 8 EGR_OBJ_BUS_VXLAN_RESERVED_1 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 9 EGR_CMD_BUS_FLOW_BASED_INSERT_SVTAG */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 10 EGR_OBJ_BUS_SVTAG_OFFSET */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 11 EGR_OBJ_BUS_VID_0 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xfff,
        .depth = 0,
        .width = 12,
        .edata = NULL,
      },
      { /* 12 EGR_OBJ_BUS_EFP_OPAQUE_OBJ1 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 13 EGR_FIELD_BUS_FWD_TOS */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 14 EPOST_SF_LTS_IDX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x3,
        .depth = 0,
        .width = 2,
        .edata = NULL,
      },
      { /* 15 EGR_FIELD_BUS_TNL_VID */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xfff,
        .depth = 0,
        .width = 12,
        .edata = NULL,
      },
      { /* 16 EGR_CMD_BUS_TAG_ACTION */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 17 EGR_OBJ_BUS_SVTAG_SC_INDEX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x3ff,
        .depth = 0,
        .width = 10,
        .edata = NULL,
      },
      { /* 18 EGR_CMD_BUS_UL_OTAG_ACTION */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 19 EGR_OBJ_BUS_L3TUNNEL_TOS_REMARK_BASE_PTR */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 20 EGR_OBJ_BUS_OPAQUE_OBJECT_A */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 21 EGR_OBJ_BUS_SVTAG_PKT_TYPE */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x3,
        .depth = 0,
        .width = 2,
        .edata = NULL,
      },
      { /* 22 EGR_CMD_BUS_PKT_LENGTH_ADJUST_PROFILE_INDEX */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 23 EGR_OBJ_BUS_FWD_HDR_TTL */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 24 EGR_OBJ_BUS_VID_1 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xfff,
        .depth = 0,
        .width = 12,
        .edata = NULL,
      },
      { /* 25 EGR_CMD_BUS_FLEX_CTR_PRESEL */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_is_true_0x1,
        .depth = 0,
        .width = 1,
        .edata = NULL,
      },
      { /* 26 EGR_OBJ_BUS_L3OIF_TOS_REMARK_BASE_PTR */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 27 EGR_OBJ_BUS_DVP_DOT1P_REMARK_BASE_PTR */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 28 EGR_CMD_BUS_OPAQUE_CTRL_A */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 29 EGR_OBJ_BUS_ERSPAN3_GBP_SID */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 30 EGR_OBJ_BUS_TPID_0 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 31 EGR_OBJ_BUS_EFP_OPAQUE_OBJ2 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xffff,
        .depth = 0,
        .width = 16,
        .edata = NULL,
      },
      { /* 32 EGR_CMD_BUS_EP_RECIRC_CODE */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 33 EGR_OBJ_BUS_COPIED_QOS_FIELDS */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u16_0xfff,
        .depth = 0,
        .width = 12,
        .edata = NULL,
      },
      { /* 34 EGR_OBJ_BUS_L2OIF_EVXLT_DOT1P_REMARK_BASE_PTR */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xff,
        .depth = 0,
        .width = 8,
        .edata = NULL,
      },
      { /* 35 EGR_CMD_BUS_ING_QOS_REMARK_CTRL */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
      { /* 36 EGR_CMD_BUS_FSL2_PROC_CTRL_0 */
        .flags = 0,
        .min = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .def = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0x0,
        .max = &bcm56780_a0_dna_2_4_13_lrd_ifd_u8_0xf,
        .depth = 0,
        .width = 4,
        .edata = NULL,
      },
  };
  const bcmlrd_map_field_data_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_field_data = {
      .fields = 37,
      .field = bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_field_data_mmd
  };
  
  static const bcmlrd_map_table_attr_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_templatet_attr_entry[] = {
      { /* 0 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_ENTRY_LIMIT,
          .value = 4096,
      },
      { /* 1 */
          .key   = BCMLRD_MAP_TABLE_ATTRIBUTE_INTERACTIVE,
          .value = FALSE,
      },
  };
  
  static const bcmlrd_map_attr_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_templatet_attr_group = {
      .attributes = 2,
      .attr = bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_templatet_attr_entry,
  };
  
  static const bcmlrd_map_entry_t bcm56780_a0_dna_2_4_13_lrd_bcmimm_dt_efp_action_template_entry[] = {
      { /* 0 */
          .entry_type = BCMLRD_MAP_ENTRY_TABLE_HANDLER,
          .desc = {
              .field_id  = 0,
              .field_idx = 0,
              .minbit    = 0,
              .maxbit    = 0,
              .entry_idx = 0,
              .reserved  = 0
          },
          .u = {
              /* handler: bcm56780_a0_dna_2_4_13_lta_bcmimm_dt_efp_action_template_cth_handler */
              .handler_id = BCMLTD_TABLE_BCM56780_A0_DNA_2_4_13_LTA_BCMIMM_DT_EFP_ACTION_TEMPLATE_CTH_HANDLER_ID
          }
      },
  };
  static const bcmlrd_map_group_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_group[] = {
      {
          .dest = {
              .kind = BCMLRD_MAP_CUSTOM,
              .id = 0,
          },
          .entries = 1,
          .entry = bcm56780_a0_dna_2_4_13_lrd_bcmimm_dt_efp_action_template_entry
      },
  };
  const bcmlrd_map_t bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map = {
      .src_id = BCM56780_A0_DNA_2_4_13_DT_EFP_ACTION_TEMPLATEt,
      .field_data = &bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_field_data,
      .groups = 1,
      .group  = bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_template_map_group,
      .table_attr = &bcm56780_a0_dna_2_4_13_lrd_dt_efp_action_templatet_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
  };
  