RE: question about drivers/infiniband/core/cm.c's kobject usage
From: Sean Hefty
Date: Thu May 22 2008 - 17:48:05 EST
>So I was curious, was this done on purpose? If so, why? If not, any
>objection to me switching it over to be using struct device properly?
It's entirely possible I have this wrong, but the intent is to export some
infiniband communication management message counters and relate them to the
corresponding ib_device/port. For example:
/sys/class/infiniband_cm/<device name>/<port number>/<counter group>/<counter>
(E.g. /sys/class/infiniband_cm/mthca0/1/cm_tx_msgs/req)
If there's a better way to handle this, I have no objection to changing it.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/