Skip to Content.

rare-dev - Re: [rare-dev] Exception when deleting a subinterface in p4lang

Subject: Rare project developers

List archive


Re: [rare-dev] Exception when deleting a subinterface in p4lang


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>
  • Cc: , Frédéric LOUI <>
  • Subject: Re: [rare-dev] Exception when deleting a subinterface in p4lang
  • Date: Fri, 18 Mar 2022 10:26:39 +0100

hi,

On 3/18/22 09:47, Alexander Gall wrote:

i tried with the module's "interval" set to 1 second and seemingly the tofino
can cope with it,
but i only have a single port activated and some subinterfaces on it
(router-on-the-stick)...

Updating all counters at this interval may be a bit excessive. I
suggest to change the code to fetch the port table entries and check
for status changes once per second and perform the counter stuff only
at a fixed multiple of that interval (also what Frederic
suggested). If we chose 5 as the multiplier we get the previous
behaviour. This change is in
https://bitbucket.software.geant.org/projects/RARE/repos/rare/commits/b5df56af79fe20909105fdcb4b674843886faa1c


works fine, thanks!

regards,
cs



Archive powered by MHonArc 2.6.19.

Top of Page