Skip to Content.
Sympa Menu

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 <>, Fréderic LOUI <>
  • Subject: Re: [rare-dev] Exception when deleting a subinterface in p4lang
  • Date: Tue, 15 Mar 2022 18:46:21 +0100

hi,

On 3/15/22 17:37, Alexander Gall wrote:
Maybe you already handle bundle case as expected by INTEL/BAREFOOT in your
packet broker code @Alex ?
Yes. If the oper status of a port changes, one has to set the
$ACTIOM_MEMBER_STATUS field in the port group selector table
accordingly (to have it excluded or included in the hash calculation).

I don't quite understand yet how bundles are handled by freerouter and
bf_forwarder, TBH.

so here i just blindly followed frederic's suggestion....
right now, when a port goes down and it was a bundle member then
freerouter simply reprograms the bundle... there are 2 kind of
messages for that, the one used by the dpdk/pcap dataplane which
is bundlelist_add/del/mod <bunid> <port0> <port1> .. <port15>
and the ports are filled in from the available ports % listsize...
and the other used by tofino, where bundlelist_add/del/mod is
used imho to populate that table you mentioned...

regards,
cs




Archive powered by MHonArc 2.6.19.

Top of Page