Skip to Content.

rare-dev - [rare-dev] Feqture request: use front-panel port IDs in freerouter

Subject: Rare project developers

List archive


[rare-dev] Feqture request: use front-panel port IDs in freerouter


Chronological Thread 
  • From: Alexander Gall <>
  • To: mc36 <>, <>
  • Cc: <>
  • Subject: [rare-dev] Feqture request: use front-panel port IDs in freerouter
  • Date: Mon, 21 Feb 2022 17:11:13 +0100

Hi csaba, Frederic

The current discion on the "Basic Bridge" on RARE-usres has reminded
me of a feature that we should implement to increase the user
experience.

Currently, one has to specify the physical port ID in the
"export-port" statement, which is a major problem for people who are
not really familiar with Tofino inernals. IMHO, there is no reason at
all to use the physical port there. Why not simply use the much
friendlier "port/channel" (e.g. "1/0") identifier to directly address
the ports on the device's front panel? bf_forwarder can easily
translate that into the physical port ID by a lookup in the
$PORT_STR_INFO table.

This would require to change the parser in freerouter as well as the
format of the message passed to bf_forwarder.

--
Alex



Archive powered by MHonArc 2.6.19.

Top of Page