23class Target::Tofino::GatewayTable :
public ::GatewayTable {
24 friend class ::GatewayTable;
25 GatewayTable(
int line,
const char *n, gress_t gr,
Stage *s,
int lid)
26 : ::GatewayTable(line, n, gr, s, lid) {}
28 void pass1()
override;
29 void pass2()
override;
30 void pass3()
override;
32 bool check_match_key(MatchKey &,
const std::vector<MatchKey> &,
bool)
override;
33 int gw_memory_unit()
const override {
return layout[0].row * 2 + gw_unit; }
34 REGSETS_IN_CLASS(
Tofino, TARGET_OVERLOAD,
void write_next_table_regs, (mau_regs &),
override)