P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
DPDK::SplitActionSelectorTable Class Reference
Inheritance diagram for DPDK::SplitActionSelectorTable:

Public Member Functions

 SplitActionSelectorTable (P4::ReferenceMap *refMap, P4::TypeMap *typeMap, DpdkProgramStructure *structure, SwitchHandler &sw)
 
const IR::Node * postorder (IR::P4Table *tbl) override
 
- Public Member Functions inherited from DPDK::SplitP4TableCommon
 SplitP4TableCommon (P4::ReferenceMap *refMap, P4::TypeMap *typeMap, DpdkProgramStructure *structure, SwitchHandler &sw)
 
const IR::P4Action * create_action (cstring, cstring, cstring)
 
const IR::P4Table * create_group_table (const IR::P4Table *, cstring, cstring, cstring, unsigned, unsigned)
 
std::tuple< const IR::P4Table *, cstring, cstringcreate_match_table (const IR::P4Table *)
 
const IR::P4Table * create_member_table (const IR::P4Table *, cstring, cstring)
 
IR::Expression * initializeMemberAndGroupId (cstring tableName, IR::IndexedVector< IR::StatOrDecl > *decls)
 
const IR::Node * postorder (IR::IfStatement *) override
 
const IR::Node * postorder (IR::MethodCallStatement *) override
 
const IR::Node * postorder (IR::P4Control *) override
 
const IR::Node * postorder (IR::SwitchStatement *) override
 

Additional Inherited Members

- Public Types inherited from DPDK::SplitP4TableCommon
enum class  TableImplementation { DEFAULT , ACTION_PROFILE , ACTION_SELECTOR }
 
- Public Attributes inherited from DPDK::SplitP4TableCommon
std::map< cstring, cstringgroup_ids
 
std::map< cstring, cstringgroup_tables
 
TableImplementation implementation
 
std::set< cstringmatch_tables
 
std::map< cstring, cstringmember_ids
 
std::map< cstring, cstringmember_tables
 
P4::ReferenceMaprefMap
 
DpdkProgramStructurestructure
 
SwitchHandlersw
 
P4::TypeMaptypeMap
 

Detailed Description

Split ActionSelector into three tables: match table that matches on exact/ternary key and generates a group id group table that matches on group id and generates a member id member table that runs an action based on member id.