17#ifndef BACKENDS_DPDK_CONSTANTS_H_
18#define BACKENDS_DPDK_CONSTANTS_H_
20#include "lib/cstring.h"
26const unsigned action_handle_prefix = 0x00020000;
30#define DPDK_MAX_SHIFT_AMOUNT 64
34const unsigned default_learner_table_size = 0x10000;
37 10, 30, 60, 120, 300, 43200, 120, 120};
41const cstring tdiSchemaVersion = cstring::literal(
"0.1");
54const unsigned initial_group_id = 0xFFFFFFFF;
57#define IPSEC_SUCCESS 0
58#define IPSEC_PORT_REG_INDEX 0
59#define IPSEC_PORT_REG_SIZE 1
60#define IPSEC_PORT_REG_INDEX_BITWIDTH 32
61#define IPSEC_PORT_REG_INITVAL_BITWIDTH 32
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24
const int dpdk_max_operand_size
Maximum operand size for unary, binary and ternary operations.
Definition dpdk/constants.h:65
const unsigned table_handle_prefix
Unique handle for action and table.
Definition dpdk/constants.h:25
const unsigned dpdk_default_table_size
Default values.
Definition dpdk/constants.h:29
const unsigned initial_member_id
Initial values for group_id and member_id for action selector and action profile tables.
Definition dpdk/constants.h:53
const unsigned dpdk_learner_max_configurable_timeout_values
Maximum number of configurable timeout values.
Definition dpdk/constants.h:33
const unsigned default_learner_table_timeout[dpdk_learner_max_configurable_timeout_values]
Default timeout values for learner table to support common protocol states.
Definition dpdk/constants.h:36
const cstring bfrtSchemaVersion
JSON schema versions.
Definition dpdk/constants.h:40