>>>> +          sys_read_gid;
>>>> +          sys_read_guid;
>>>> +          sys_read_string;
>>>> +          sys_read_uint;
>>>> +          sys_read_uint64;
>>>>    local: *;
>>>>
>>>
>>> Why expose these?
>>>
>>> - Sean
>>>
>>
>>These functions are used by srptools.
>
>Please don't expose them.  We're trying to port the IB diags and other MAD code
>to Windows.  This is adding OS specific routines to the lowest layer.  What
>values does srptools actually need?

There's also this helper function in libibverbs that may be usable instead:

int ibv_read_sysfs_file(const char *dir, const char *file,
                        char *buf, size_t size);

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to