Re: [PATCH V1 rdma-core 0/2] Optimize RoCE address handle creation for userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/5/2016 7:07 PM, Jason Gunthorpe wrote:
On Sun, Dec 04, 2016 at 05:53:24PM +0200, Yishai Hadas wrote:

Test results:
Upon testing the above use case the provider couldn't be loaded as expected,
"libibverbs: Warning: couldn't load driver 'libmlx5-rdmav2.so':
libmlx5-rdmav2.so: cannot open shared object file: No such file or directory"

The dynmic linker didn't print something too? That is surprising..

No more output, I was surprised as well about the error message, that's why I used strace to follow the system calls. Looking at the man page of dlopen can see that upon an error the most recent error is returned which was in that case ENOENT as the linker continued searching in other locations.

Just run with LD_LIBRARY_PATH=/usr/lib64/libibverbs which based on man page will cause the linker to look only in that location, I get below error as we expect it.

libibverbs: Warning: couldn't load driver 'libmlx5-rdmav2.so': /usr/lib64/libibverbs/libmlx5-rdmav2.so: symbol ibv_cmd_create_ah, version IBVERBS_1.0 not defined in file libibverbs.so.1 with link time reference

I'm not sure where we are in the release cycle right now.. Doug - if
we didn't make a release with the 1.3 symbol tag (this was created
just before rdma-core) then this should go into 1.3 when it gets
merged..

Jason,
You pointed to use 1.4, the series followed that.

Doug,
Can you please comment here ? we should have a clear definition what defined to be a "release" which requires a new number. In case we want to use 1.3 please let me know if I need to re-spin or you will change as part of the merge.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux