Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

Ralph Campbell
2010-04-08T23:42:44Z

On Thu, 2010-04-08 at 16:29 -0700, Roland Dreier wrote:
> > I for one would rather not see this die. We have debugged some critical
> > issues using this data. The sysfs entries above are what Mellanox uses.
> > Should those also be changed?
>
> Which sysfs entries? I don't see any likely looking code in either of
> the Mellanox drivers.
>
> - R.

I think Ira means:

# ls /sys/class/infiniband/mlx4_0/diag_counters/
clear_diag rq_num_lqpoe rq_num_udsdprd sq_num_lqpoe sq_num_rree
num_baddb rq_num_mce rq_num_wrfe sq_num_mwbe sq_num_rsync
num_cqovf rq_num_oos sq_num_bre sq_num_oos sq_num_tree
num_eqovf rq_num_rae sq_num_ieecne sq_num_rabrte sq_num_wrfe
rq_num_lae rq_num_rire sq_num_ieecse sq_num_rae
rq_num_leeoe rq_num_rnr sq_num_leeoe sq_num_rire
rq_num_lle rq_num_rsync sq_num_lle sq_num_rnr
rq_num_lpe rq_num_ucsdprd sq_num_lpe sq_num_roe

I couldn't find where these entries are added in the kernel.org code.
It is in the OFED tree though.