Skip to content

Commit

Permalink
Fix class reference in Tofino 2 driver. (#5103)
Browse files Browse the repository at this point in the history
Signed-off-by: fruffy <[email protected]>
  • Loading branch information
fruffy authored Jan 17, 2025
1 parent fa9dc08 commit 8f122d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/tofino/bf-p4c/driver/p4c.tofino2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Tofino2Backend(bfn.BarefootBackend):

def process_command_line_options(self, opts):
if opts.enable_bf_asm or os.getenv("ENABLE_BF_ASM"):
self.config_assembler(self.target)
self.config_assembler(self._target)
bfn.BarefootBackend.process_command_line_options(self, opts)

for t in Tofino2Variants.keys():
Expand Down

0 comments on commit 8f122d6

Please sign in to comment.