Hi: I created a class attr called portstate to toggle the port state values (INIT/ARM etc...), as follows:
static CLASS_DEVICE_ATTR(portstate, S_IRUGO|S_IWUSR, show_stats, store_portstate); this results in a file under sys/class/Infiniband/mysw/. When I write to the file from linux shell as, echo "1" > portstate, my store function callback gets called forever.... Any ideas... Thanks a lot in advance! Suri _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
