openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

flexdigest_int.h (2400B)


      1 /*
      2  * DO NOT EDIT THIS FILE!
      3  * This file is auto-generated.
      4  * Edits to this file will be lost when it is regenerated.
      5  *
      6  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      7  * 
      8  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      9  */
     10 
     11 #ifndef BCMINT_LTSW_FLEXDIGEST_INT_H
     12 #define BCMINT_LTSW_FLEXDIGEST_INT_H
     13 
     14 #include <bcm/flexdigest.h>
     15 
     16 /*!
     17  * \brief The device information of flexdigest functionalities.
     18  */
     19 typedef enum bcmint_flexdigest_info_s {
     20 
     21     /*! The flexdigest normalization seed profile identifier count. */
     22     bcmiFlexDigestInfoNormSeedProfileIdCount = 0,
     23 
     24     /*! The flexdigest normalization profile identifier count. */
     25     bcmiFlexDigestInfoNormProfileIdCount = 1,
     26 
     27     /*! The flexdigest hashing profile identifier count. */
     28     bcmiFlexDigestInfoHashProfileIdCount = 2,
     29 
     30     /*! The number of FD lookup groups. */
     31     bcmiFlexDigestInfoNumGroups = 3,
     32 
     33     /*! The number of FD lookup entries. */
     34     bcmiFlexDigestInfoNumEntries = 4,
     35 
     36     /*! The maximum priority of FD lookup group. */
     37     bcmiFlexDigestInfoGroupPrioMax = 5,
     38 
     39     /*! The maximum priority of FD lookup entry. */
     40     bcmiFlexDigestInfoEntryPrioMax = 6,
     41 
     42     /*! The maximum of FD lookup qualifier in an entry. */
     43     bcmiFlexDigestInfoQualifierMaxPerEntry = 7,
     44 
     45     /*! The maximum of FD lookup action in an entry. */
     46     bcmiFlexDigestInfoActionMaxPerEntry = 8,
     47 
     48     /*! The number of FD lookup match identifiers. */
     49     bcmiFlexDigestInfoNumMatchIds = 9,
     50 
     51     /*! The bit width of FD lookup match bitmap. */
     52     bcmiFlexDigestInfoMatchWidth = 10,
     53 
     54     /*! The flexdigest information count. */
     55     bcmiFlexDigestInfoCount = 11
     56 
     57 } bcmint_flexdigest_info_t;
     58 
     59 #define BCMINT_FLEXDIGEST_INFO_STR \
     60 { \
     61     "NormSeedProfileIdCount", \
     62     "NormProfileIdCount", \
     63     "HashProfileIdCount", \
     64     "NumGroups", \
     65     "NumEntries", \
     66     "GroupPrioMax", \
     67     "EntryPrioMax", \
     68     "QualifierMaxPerEntry", \
     69     "ActionMaxPerEntry", \
     70     "NumMatchIds", \
     71     "MatchWidth" \
     72 }
     73 
     74 /*!
     75  * \brief Flex digest entry information.
     76  */
     77 typedef struct bcmint_flexdigest_entry_info_s {
     78 
     79     /*! The entry identifer in a group. */
     80     bcm_flexdigest_entry_t id;
     81 
     82     /*! The group priority. */
     83     int group_prio;
     84 
     85     /*! The GENE handler. */
     86     void *handle;
     87 
     88 } bcmint_flexdigest_entry_info_t;
     89 
     90 #endif /* BCMINT_LTSW_FLEXDIGEST_INT_H */