7#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_CONSTANTS_H_
8#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_CONSTANTS_H_
14enum bmv2_gress_t { BMV2_INGRESS, BMV2_EGRESS };
29 static constexpr uint64_t PKT_INSTANCE_TYPE_INGRESS_CLONE = 0x0001;
30 static constexpr uint64_t PKT_INSTANCE_TYPE_EGRESS_CLONE = 0x0002;
31 static constexpr uint64_t PKT_INSTANCE_TYPE_COALESCED = 0x0003;
32 static constexpr uint64_t PKT_INSTANCE_TYPE_RECIRC = 0x0004;
33 static constexpr uint64_t PKT_INSTANCE_TYPE_REPLICATION = 0x005;
34 static constexpr uint64_t PKT_INSTANCE_TYPE_RESUBMIT = 0x006;
38 static constexpr uint16_t CLONE_SESSION_ID_MAX = 32767;
48 static constexpr int ETH_HDR_SIZE = 112;
49 static constexpr int DROP_PORT = 511;