Re: [PATCH libibverbs] init.c: increase sysfs read buffer size to 16

2015-12-09 Thread Doug Ledford
On 12/09/2015 10:05 AM, Jeff Squyres (jsquyres) wrote: > Any further comments on this? > > Doug -- does it look ok to you? > > >> On Dec 7, 2015, at 5:27 AM, Haggai Eran wrote: >> >> On 12/04/2015 01:09 AM, Jeff Squyres wrote: >>> The default value of 8 is too small to read >>> /sys/class/infin

Re: [PATCH libibverbs] init.c: increase sysfs read buffer size to 16

2015-12-09 Thread Jeff Squyres (jsquyres)
Any further comments on this? Doug -- does it look ok to you? > On Dec 7, 2015, at 5:27 AM, Haggai Eran wrote: > > On 12/04/2015 01:09 AM, Jeff Squyres wrote: >> The default value of 8 is too small to read >> /sys/class/infiniband/usnic_x/node_type, which contains "6: usNIC >> UDP". Per a7a73

Re: [PATCH libibverbs] init.c: increase sysfs read buffer size to 16

2015-12-07 Thread Haggai Eran
On 12/04/2015 01:09 AM, Jeff Squyres wrote: > The default value of 8 is too small to read > /sys/class/infiniband/usnic_x/node_type, which contains "6: usNIC > UDP". Per a7a73a8c1b39362f1701256bc772d82847832f9c, the too-small > buffer causes a stderr warning to be emitted from ibv_devinfo when > r

[PATCH libibverbs] init.c: increase sysfs read buffer size to 16

2015-12-03 Thread Jeff Squyres
The default value of 8 is too small to read /sys/class/infiniband/usnic_x/node_type, which contains "6: usNIC UDP". Per a7a73a8c1b39362f1701256bc772d82847832f9c, the too-small buffer causes a stderr warning to be emitted from ibv_devinfo when reading usNIC devices. This commit therefore increases