17#ifndef CONTROL_PLANE_P4RUNTIMEANNOTATIONS_H_
18#define CONTROL_PLANE_P4RUNTIMEANNOTATIONS_H_
20#include "frontends/p4/parseAnnotations.h"
30 ParseP4RuntimeAnnotations()
34 PARSE(
"controller_header"_cs, StringLiteral),
35 PARSE_EMPTY(
"hidden"_cs),
36 PARSE(
"id"_cs, Constant),
37 PARSE(
"brief"_cs, StringLiteral),
38 PARSE(
"description"_cs, StringLiteral),
39 PARSE_KV_LIST(
"platform_property"_cs),
53 PARSE(
"max_group_size"_cs, Constant),
54 PARSE(
"selector_size_semantics"_cs, StringLiteral),
55 PARSE(
"max_member_weight"_cs, Constant),
56 {
"p4runtime_translation"_cs, &ParseAnnotations::parseP4rtTranslationAnnotation},
ParseAnnotations(bool warn=false)
Produces a pass that rewrites the spec-defined annotations.
Definition parseAnnotations.h:150
TODO(antonin): High level goals of the generator go here!!
Definition dpdk/control-plane/bfruntime_arch_handler.h:52
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24