Skip to content

Want better tooling for PRBS mode for transceiver qual #219

@rmustacc

Description

@rmustacc

Right now we have the ability to set ourselves into a PRBS mode; however, understanding that it's working is rather complicated and limited. The ucli has something like:

bf-sde.pm> prbs-show
prbs-show
Integration time: 10ms
...
-----------------------------------------------------------------------------------------------------------+--------------+----------+ ---------+---------+---------+---------+---------+---------+---------+-..
PORT |MAC |D_P|P/PT|PRBS  |    0     |    1     |    2     |    3     |    4     |    5     |    6     |    7     | Total Errors |   BER    |        1e-05     1e-06     1e-07     1e-08     1e-09     1e-10      1e-11
-----+----+---+----+----------+----------+----------+----------+----------+----------+----------+----------+--------------+----------+ ---------+---------+---------+---------+---------+---------+---------+-..
39/0 |18/0|272|2/16|PRBS7|         0|         0|         0|         0|          |          |          |          |            0 |  0.0e+00 | ---------+---------+---------+---------+---------+---------+---------+-..
40/0 |18/4|276|2/20|PRBS7|         0|         0|         0|         0|          |          |          |          |            0 |  0.0e+00 | ---------+---------+---------+---------+---------+---------+---------+-..
65/0 | 0/0|  2|0/ 2|PRBS7|  51674046|          |          |          |          |          |          |          |     51674046 |  5.0e-01 | 

There are a few things here that are worth calling out:

  • Right now I had actually used swadm link set-prop prbs 31 on 39/0 (qsfp6) and 40/0 (qsfp7), but it shows us in PRBS mode 7.
  • It'd be good to get PRBS-specific counters out somehow when we're in this mode.

More generally, we're using PRBS modes as a way to try to understand the effectiveness of transceivers. When the gearbox doing FEC is in a dsp we lose the ease of the link counters fec logic that exists. The main things that we want to be able to get out is:

  • How much PRBS data is being received?
  • What are the observed error rates?

And use this as a proxy of link quality. It's hard to use the normal rmon counters because we're using PRBS rather than actual traffic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions