Comment 9 for bug 1312419

Revision history for this message
Talat Batheesh (talat-b87) wrote :

Hi Rafael,

 Unfortunately, after installing the PPA, the udaddy test still fail on Ubuntu 14.04.3 LTS.
Tested with ConnectX3-pro.

root # udaddy -b 1.1.1.1
udaddy: starting server
receiving data transfers

^C
root# uname -r
3.13.0-68-generic
root# cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

Client side
# udaddy -s 1.1.1.1 -b 1.1.1.2
udaddy: starting client
udaddy: connecting
udaddy: failure creating address handle
test complete
return status -1

As a reference, may we need to add the following patches that mentioned in Bug #1364442

Ubuntu is missing some code to make this work. The issue is that libmlx4 and libibverbs is missing the code for RoCE UD neighboor code.
Here I found the series of patches needed:
For libmlx4:
[PATCH libmlx4 V4 0/2] Add RoCE IP based addressing support for UD QPs
[PATCH libmlx4 V4 1/2] Add ibv_query_port caching support
[PATCH libmlx4 V4 2/2] Add RoCE IP based addressing support for UD QPs
For libibverbs:
[PATCH libibverbs V5 0/2] Use neighbour lookup for RoCE UD QPs Eth L2 resolution
[PATCH libibverbs V5 1/2] Add ibv_port_cap_flags
[PATCH libibverbs V5 2/2] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

Yours,
Talat