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: Alexander Gall <>
  • To: mc36 <>
  • Cc: <>
  • Subject: Re: [rare-dev] Exception when deleting a subinterface in p4lang
  • Date: Tue, 15 Mar 2022 13:29:16 +0100

On Mon, 14 Mar 2022 16:24:25 +0100, mc36 <> said:

> finally i ended up dropping the "port" and the messages simply became
> stats, exactly:
> https://github.com/mc36/freeRouter/commit/a946434181569374978bae3600fe85f71eb85d41

> this is what i get from the dpdk:

> sid#show p4lang p4 sdn2
> ipackets 1111
> opackets 1111
> ibytes 1249875
> obytes 1249875
> imissed 0
> ierrors 0
> oerrors 0
> rx_nombuf 0

Ok. I'm not quite sure what exactly is expected to be reported. If I
understand correctly, freerouter will simply display the text that it
got from the data plane. What would you like to be reported by the
Tofino data plane? The $PORT_STAT table has lots of counters that are
not exported by any other means. Should I just dump the whole thing?

I assume this will only be applied to physical interfaces, not
subinterfaces?

--
Alex



Archive powered by MHonArc 2.6.19.

Top of Page