Subject: Rare project developers
List archive
- From: Alexander Gall <>
- To: <>
- Cc: <>
- Subject: Re: [rare-dev] RARE on Tofino model
- Date: Fri, 17 Jun 2022 14:21:51 +0200
On Fri, 17 Jun 2022 14:12:43 +0200, mc36 <> said:
> hi,
> On 6/17/22 14:02, Alexander Gall wrote:
>> On Fri, 17 Jun 2022 09:35:02 +0200, mc36 <> said:
>>
>>> hi,
>>> well, if we're talking about workarounds, freerouter already had the knob
>>> no autostate to have a down interface in the routing tables...
>>> with this commit
>>> https://github.com/rare-freertr/freeRtr/commit/cc0cb4f563bd5e4da2eeeff6d9c5fa40e3c9f79c
>>> it just passes traffic in such
>>> a case... (before it dropped everything regardless of the autostate
>>> configured or not on down interfaces)
>>> now i see hw counters reported from the dataplane that is, it went out
>>> somewhere on the tofino model....
>>
>> Yes, as I said, the model happily passes packets in and out of ports
>> that are in the down state. I just checked and the same is true for
>> the Tofino2 model as well (remember, there the port is also marked
>> with RDY == NO in addition to being in oper DWN state).
>>
>> So this option makes freertr work on both models, which is nice. The
>> only drawback is that we have to add that config option specifically
>> for the model. The workaround with the forwarder would avoid that.
>>
> so as long as the model is known to be buggy,
> imho a note is enough somewhere that for now,
> it needs the no autostate knob... and it'll
> regardless disappear as soon as we move to
> a newer sde... regarding the forwarder, i'm
> happy with the current reported states....
Ok, agreed. For Tofino1, the problem is already fixed since 9.8 but
not for Tofino2. I think I'll post that to the forum and see what
Vladimir has to say about it :)
--
Alex
- Re: [rare-dev] RARE on Tofino model, (continued)
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, mc36, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, mc36, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, mc36, 06/14/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/17/2022
- Re: [rare-dev] RARE on Tofino model, mc36, 06/17/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/17/2022
- Re: [rare-dev] RARE on Tofino model, mc36, 06/17/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/17/2022
- Re: [rare-dev] RARE on Tofino model, Alexander Gall, 06/14/2022
Archive powered by MHonArc 2.6.19.