Skip to content

Commit

Permalink
Unbreak tc backend in the mainline (#4794)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Korobeynikov <[email protected]>
Co-authored-by: Anton Korobeynikov <[email protected]>
  • Loading branch information
fruffy and asl authored Jul 11, 2024
1 parent e135f41 commit 3e60b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/tc/ebpfCodeGen.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class EBPFPnaParser : public EBPF::EBPFPsaParser {
const P4::TypeMap *typeMap);
void emit(EBPF::CodeBuilder *builder) override;
void emitRejectState(EBPF::CodeBuilder *) override;
void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl);
void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl) override;

DECLARE_TYPEINFO(EBPFPnaParser, EBPF::EBPFPsaParser);
};
Expand Down Expand Up @@ -189,7 +189,7 @@ class IngressDeparserPNA : public EBPF::EBPFDeparserPSA {
bool build() override;
void emit(EBPF::CodeBuilder *builder) override;
void emitPreDeparser(EBPF::CodeBuilder *builder) override;
void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl);
void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl) override;

DECLARE_TYPEINFO(IngressDeparserPNA, EBPF::EBPFDeparserPSA);
};
Expand Down

0 comments on commit 3e60b5d

Please sign in to comment.