sFlow Broadcom Switch ASIC Table Utilization Structures

77 views
Skip to first unread message

Łukasz M

unread,
Jun 18, 2017, 1:45:55 PM6/18/17
to Host-sFlow
Hi All,

I read the spec http://sflow.org/sflow_broadcom_tables.txt describing sflow structures giving notion about ASIC state.
However, support for it seems very limited, I looked into the code of host-sflow and it seems only Cumulus module supports it, where it actually reads all the values from VFS populated by some cumulus driver (so it is not very portable to other platforms).
Reading this spec I had, an apparently fake, impression that it should be possible to query ASIC for this structure and receive the counters...
Nevertheless, the doc also mentions that those counters can be obtained with the aid of BroadView.
I am just running it on my switch (dell s6000) but I do not see any documentation how those particular counters can be gathered. The documentation focuses on monitoring interface buffers and black-hole detection but there is no word about ASIC structures.

Can someone comment on this topic?

p.s. I decided to ask a similar question to Broadcom : https://github.com/Broadcom-Switch/BroadView-Instrumentation/issues/2

Regards,
Łukasz

Peter Phaal

unread,
Jun 20, 2017, 3:35:04 PM6/20/17
to Host-sFlow
What operating system are you running on your switch? FTOS? OS10? OpenSwitch?

The operating system links to the Broadcom driver and needs to expose the counters.

Peter Phaal

unread,
Jul 6, 2017, 2:38:49 PM7/6/17
to Host-sFlow
I had a look at the OpenNSL code and it looks like some of the counters are accessible:


However, it does appear that some of them are missing.
Reply all
Reply to author
Forward
0 new messages