← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1312419] Re: nl_cache_refill; rtnl_neigh_get fail to find neighbors in cache

 

Awesome. Thank you Talat. This was actually a simple example I was giving
to Kamal, explaining to him how the SRU process worked and giving him a
real example on how to provide a debdiff and create a PPA. So, I really did
not expect the fix to be "good" but to give him so clue how things worked.

It is good that you are catching up with bugs. I'll compile the testcase,
backport the commits you are mentioning and provide you a PPA to test, okay
? Please expect this to take sometime (a week) because of my Ubuntu
Advantage workload.

Thank you !!

Cheers

Rafael

On Sun, Nov 22, 2015 at 11:41 AM, Talat Batheesh <1312419@xxxxxxxxxxxxxxxxxx
> 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
>
> --
> You received this bug notification because you are a bug assignee.
> 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
>


-- 
--
Rafael David Tinoco
Canonical - Kernel & Userland Sustaining Engineer
Server Tech Lead for SEG - Manager: Brooks Warner
-
# Email: rafael.tinoco@xxxxxxxxxxxxx (GPG: 2B15B499)
# Canonical: +44.20.7537.2822
# Extension: 7684
# Phone: +55.11.9.6777.2727 (Americas/Sao_Paulo)
# LP: ~inaddy | IRC: tinoco

-- 
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


References