17#ifndef BACKENDS_DPDK_CONSTANTS_H_
18#define BACKENDS_DPDK_CONSTANTS_H_
20#include "lib/cstring.h"
23const unsigned table_handle_prefix = 0x00010000;
24const unsigned action_handle_prefix = 0x00020000;
27const unsigned dpdk_default_table_size = 65536;
28#define DPDK_MAX_SHIFT_AMOUNT 64
31const unsigned dpdk_learner_max_configurable_timeout_values = 8;
32const unsigned default_learner_table_size = 0x10000;
34const unsigned default_learner_table_timeout[dpdk_learner_max_configurable_timeout_values] = {
35 10, 30, 60, 120, 300, 43200, 120, 120};
38const cstring bfrtSchemaVersion = cstring::literal(
"1.0.0");
39const cstring tdiSchemaVersion = cstring::literal(
"0.1");
51const unsigned initial_member_id = 0;
52const unsigned initial_group_id = 0xFFFFFFFF;
55#define IPSEC_SUCCESS 0
56#define IPSEC_PORT_REG_INDEX 0
57#define IPSEC_PORT_REG_SIZE 1
58#define IPSEC_PORT_REG_INDEX_BITWIDTH 32
59#define IPSEC_PORT_REG_INITVAL_BITWIDTH 32
63const int dpdk_max_operand_size = 64;