Skip to Content.

rare-dev - [rare-dev] BF_BFRT Errors

Subject: Rare project developers

List archive


[rare-dev] BF_BFRT Errors


Chronological Thread 
  • From: Alexander Gall <>
  • To: " Frédéric LOUI" <>
  • Cc: <>
  • Subject: [rare-dev] BF_BFRT Errors
  • Date: Thu, 17 Feb 2022 15:17:54 +0100

Hi Frederic

The current bf-forwarder code generates these persistent errors (every
5 seconds) in bf_switchd:

Feb 15 12:14:22 spare-PB1 bf_switchd[26808]: 2022-02-15 12:14:22.995012 ERROR
(BF_BFRT:(file=null):(func=null):0) - server_op_cb:151 Unable to retrieve
bound_program data for client with id 3
Feb 15 12:14:27 spare-PB1 bf_switchd[26808]: 2022-02-15 12:14:27.944791 ERROR
(BF_BFRT:(file=null):(func=null):0) - tableOperationWaitForCompletion:3374
Timed out waiting for completion of operation for table -2081122291

It appears that this error is caused by

tbl_stats_in.operations_execute(self.bfgc.target,
'Sync',p4_name=self.bfgc.p4_name)
tbl_stats_out.operations_execute(self.bfgc.target,
'Sync',p4_name=self.bfgc.p4_name)
tbl_stats_pkt_out.operations_execute(self.bfgc.target,
'Sync',p4_name=self.bfgc.p4_name)

in rare/bf_subifcounter/__init__.py. I'm not familiar with
operations_execute() but I'm a bit confused by the fact that these
objects are not tables but indirect counters. Does
operations_execute() apply to counters too?

Also, what would be the benefit of the Sync operation compared to
using "from_hw = True" when reading the counters?

--
Alex




Archive powered by MHonArc 2.6.19.

Top of Page