diff --git a/backends/common/psaProgramStructure.h b/backends/common/psaProgramStructure.h index f44f257351..46dcc6b5b7 100644 --- a/backends/common/psaProgramStructure.h +++ b/backends/common/psaProgramStructure.h @@ -22,6 +22,11 @@ limitations under the License. namespace P4 { +enum psa_gress_t { + INGRESS, + EGRESS, +}; + enum block_t { PARSER, PIPELINE, @@ -31,7 +36,7 @@ enum block_t { class PsaProgramStructure : public PortableProgramStructure { public: /// Architecture related information. - ordered_map> block_type; + ordered_map> block_type; public: PsaProgramStructure(P4::ReferenceMap *refMap, P4::TypeMap *typeMap)