Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] Compilation failures for Tofino2

Subject: Rare project developers

List archive

Re: [rare-dev] Compilation failures for Tofino2


Chronological Thread 
  • From: mc36 <>
  • To: , Alexander Gall <>
  • Subject: Re: [rare-dev] Compilation failures for Tofino2
  • Date: Thu, 2 Jun 2022 12:57:58 +0200

hi,

On 6/2/22 12:16, Alexander Gall wrote:
On Thu, 2 Jun 2022 12:07:52 +0200, mc36 <> said:

hi,
taking a closer look on what's going on, i just realized that this pre_emit
stuff is basically just before the very core tocpu check:
https://github.com/rare-freertr/freeRtr/blob/7a417d4537db9cbae8fdcb9f618ef008f62f3913/misc/p4bf/include/ig_ctl.p4#L187
so for now, i strongly believe that we can get rid of all the ternary matches
here if we split the table... the cpuhdr
insertion could go directly to the inner part of the if, and the rest could
go to the else part... for the bridging ternary,
i can easily list all the possible values for the sap_en/de_cap so this table
could easily become an all-exact.... let's see.... :)

Ok, great.
unfortunately not, it broke multicast at all...
well yeahh, so the cpu header is not needed in that case...
but nevermind, i'll find out something.... one of the two
ternary will go away...

In the meantime I found that 9.7.2 fixes the compiler bug
in 9.7.1 that shows up with the BNG profile. I'll move RARE to 9.7.2
and tigether with your changes we should have a complete RARE on
Tofino2 :)

BTW, I think we now need an additional optimizer run for Tofino2.

indeed....

but before doing so, lemme ask the aps guys if they progressed porting the
2556 bsp to sde990...
if that's the case, we could completely move to sde990?

br,
cs



Archive powered by MHonArc 2.6.19.

Top of Page