Hi HPS,

i don't see those sysctl entries for regular devices?
is this infiniband specific?
or is there anything I need to enable to get these sysctls?

Kind regards,

Mina
-------- Original Message --------
On 18 Apr 2023, 10:32, Hans Petter Selasky wrote:

> Hi, All the `/sys/class/net//*` entries are sysctl(8) entries, like Sobczak, 
> pointed out. They are converted simply by replacing "/" with ".", and there 
> are some helper functions in: contrib/ofed/libibumad/sysfs.c: if 
> (sysctlbyname(PATH_TO_SYS(path), str, &len, NULL, 0) == -1) To do this 
> conversion automagically. you specify the Linux equivalent as a "const char 
> *" pointer, and then it looks up the value for you under FreeBSD. We may not 
> have all the entries, but most you need is there, and some additions specific 
> to FreeBSD. --HPS

Reply via email to