Skip to Content.
Sympa Menu

rare-dev - [rare-dev] further negotiations in between the dataplane and freerouter...

Subject: Rare project developers

List archive

[rare-dev] further negotiations in between the dataplane and freerouter...


Chronological Thread 
  • From: mc36 <>
  • To: "" <>, Frédéric LOUI <>, Alexander Gall <>
  • Cc: David Richardson <>
  • Subject: [rare-dev] further negotiations in between the dataplane and freerouter...
  • Date: Tue, 5 Jul 2022 19:28:51 +0200

hi,
so as nobody likes the magic numbers, and we already have a handshake in
between the dataplane and the control plane,
i got the idea that what if the bffwd would tell freerouter all the remaining
mapping of the export-port parameters,
like fec, autoneg and flwctrl? then the netadmin would be able to use the
names much like it's already happening with
the front-panel port names? here is the small change implementing the above:
https://github.com/rare-freertr/freeRtr/commit/7ffaa39864c0eb54fa546bb630337fab5dc60d7c
the drawback of this commit is the additional complexity in case of gearboxed
switches like the
bf2556tx where these magics need to be translated to the gearbox values in
case of gearbox ports...
ps: alex, as you're the only one access to a tofino2, could you please verify
if these are the right values on 400g too?
ps2: could someone please populate the flow control table in bffwd? :)
thanks,
cs


sid#configure
sid(cfg)#server p4lang p4
sid(cfg-server)#show running-config this
server p4lang p4
export-vrf v2 2
export-port sdn1 1 10 0 0 0
export-port sdn2 2 10 0 0 0
export-port sdn3 3 10 0 0 0
export-port sdn4 4 10 0 0 0
interconnect pwether0
vrf v1
exit
!

sid(cfg-server)#export-port sdn1 frontpanel-1/1 ?
<cr>
<num> - speed in gbps

sid(cfg-server)#export-port sdn1 frontpanel-1/1 10 ?
<cr>
<num> - fec, see hw vendor manual
auto - fec, see hw vendor manual
fc - fec, see hw vendor manual
none - fec, see hw vendor manual
rs - fec, see hw vendor manual

sid(cfg-server)#export-port sdn1 frontpanel-1/1 10 rs ?
<cr>
<num> - autoneg, see hw vendor manual
auto - autoneg, see hw vendor manual
off - autoneg, see hw vendor manual
on - autoneg, see hw vendor manual

sid(cfg-server)#export-port sdn1 frontpanel-1/1 10 rs off ?
<cr>
<num> - flowctrl, see hw vendor manual
auto - flowctrl, see hw vendor manual

sid(cfg-server)#export-port sdn1 frontpanel-1/1 10 rs off auto ?
<cr>

sid(cfg-server)#export-port sdn1 frontpanel-1/1 10 rs off auto
sid(cfg-server)#show running-config this
server p4lang p4
export-vrf v2 2
export-port sdn1 1 10 3 1 0
export-port sdn2 2 10 0 0 0
export-port sdn3 3 10 0 0 0
export-port sdn4 4 10 0 0 0
interconnect pwether0
vrf v1
exit
!

sid(cfg-server)#



Archive powered by MHonArc 2.6.19.

Top of Page