touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #119953
[Bug 1312419] Re: nl_cache_refill; rtnl_neigh_get fail to find neighbors in cache
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
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnl3 in Ubuntu.
https://bugs.launchpad.net/bugs/1312419
Title:
nl_cache_refill; rtnl_neigh_get fail to find neighbors in cache
Status in libnl3 package in Ubuntu:
In Progress
Bug description:
Retrieving information about configured neighbors fail
my application is running the following procedure:
neigh = NULL;
cache = rtnl_neigh_alloc_cache(sk);
while(NULL == neigh){
nl_cache_refill(sk, chache);
neigh = rtnl_neigh_get(cache, ifindex, dst_addr);
}
with libnl3 3.2.21-1 this loop will never end, even when adding a static arp entry.
However, with libnl-3.2.24 the neighbor lookup succeed.
additional general info:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
$ uname -r
3.13.0-24-generic
$ apt-cache policy libnl-genl-3-200 libnl-route-3-200
libnl-genl-3-200:
Installed: 3.2.21-1
Candidate: 3.2.21-1
Version table:
*** 3.2.21-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
libnl-route-3-200:
Installed: 3.2.21-1
Candidate: 3.2.21-1
Version table:
*** 3.2.21-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/1312419/+subscriptions
Follow ups