[yocto] [PATCH][meta-dpdk] dpdk-dev-libibverbs: fix do_fetch error

Changqing Li changqing.li at windriver.com
Thu Aug 23 01:40:37 PDT 2018



On 08/14/2018 10:27 AM, Anuj Mittal wrote:
> On 08/14/2018 09:37 AM, Changqing Li wrote:
>>
>> On 08/13/2018 02:35 PM, Anuj Mittal wrote:
>>> On 08/13/2018 01:22 PM, changqing.li at windriver.com wrote:
>>>> From: Changqing Li <changqing.li at windriver.com>
>>>>
>>>> original URI have been deleted(don't know why). I noticed there is
>>>> an official libibverbs(https://git.kernel.org/pub/scm/libs/infiniband
>>>> /libibverbs.git),
>>> The deprecation notice seems to imply that rdma-core on github should be
>>> used instead and that's what debian does too. Perhaps that should be
>>> used instead?
>>>
>>> https://tracker.debian.org/pkg/rdma-core
>> About you mentioned "deprecation notice " ,  I don't find it on original
>> github of Mellanox
>> can you send me a link of this notice? Thanks.
> https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/commit/?id=1a6ab7f4c4aa048e8cf0c6cbed5935181f660bd8
>
> And, this:
>
> https://www.openfabrics.org/downloads/verbs/README.html
>
>> besides,  from https://tracker.debian.org/pkg/rdma-core,  I  can get the
>> repo is here
>> https://github.com/linux-rdma/rdma-core,  but it is not only
>> libibverbs,  it is source
>> include some other package,  I think it is not proper here.
>>
> If you take a look at older version of libibverbs there, you'd see the
> code that we had. The later versions are pulling from rdma-core.
>
> You don't need to install everything, just the things that are needed
> for dpdk ...
>
Thanks.  I checked oldest 
https://github.com/linux-rdma/rdma-core/tree/rdma-core-12/libibverbs,
yes,  it is ported from 
https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git.

But my problem is current v19 of rdma-core/libibverbs  have big 
difference with original tar
libibverbs-1.2.1-3.4-2.0.0.0.tar.gz  download from 
https://github.com/Mellanox/
dpdk-dev-libibverbs/archive/libibverbs-${PV}.tar.gz, Include code 
structure, and compile way(autotool to cmake), and others
Actually, oldest version rdma-core-12 already have code structure, and 
compile way change.

I don't have condition to test the function of this lib and dpdk,  I can 
only  go far as build success.
what I worried is  upgrade with big difference without test maybe cause 
big problem.

if we don't want to use tar on 
"https://autobuilder.yocto.io/pub/sources/", I propose who
can test this to upgrade the SRC_URI to rdma-core/libibverbs.



-- 
BRs

Sandy(Li Changqing)
+861084778653

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180823/853ebbba/attachment-0001.html>


More information about the yocto mailing list