Re: [PATCH rdma-core 0/5] Userspace library matching for hip08 RoCE

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

 



在 2017/10/24 1:27, Leon Romanovsky 写道:
> On Tue, Oct 17, 2017 at 09:12:21PM +0800, Lijun Ou wrote:
>> This patch series add userspace library for hip08 RoCE driver. It will
>> work with the kernel driver of hip08 RoCE(hns-roce-hw-v2.ko).
>>
>> Lijun Ou (5):
>>   libhns: Add new PCI device matching for hip08
>>   libhns: Introduce QP operations refered to hip08 RoCE device
>>   libhns: Introduce CQ operations refered to hip08 device
>>   libhns: Reimplement verbs of post_send and post_recv for hip08 RoCE
>>   libhns: Update consolidate repo for userspace library of hip08 RoCE
>>
> 
> Hi Lijun,
> 
> sorry for my slow response, your code causes to warnings during
> compilation:
> 
> -- Build files have been written to: /home/leonro/src/rdma-core/build
> [81/190] Building C object providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o
> ../providers/hns/hns_roce_u_hw_v2.c: In function ‘hns_roce_v2_handle_error_cqe’:
> ../providers/hns/hns_roce_u_hw_v2.c:62:3: warning: statement will never be executed [-Wswitch-unreachable]
>    fprintf(stderr, PFX "error cqe!\n");
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Please fix it.
> 
> Thanks
>
Hi, Leon

I have checked it and sent PATCH V2. I have built by use build.sh and the as follows cmd again:
CC=/opt/gcc-linaro-aarch64-linux-gnu-4.9-2014.05_linux/bin/aarch64-linux-gnu-gcc  cmake -GNinja -DENABLE_RESOLVE_NEIGH=0 ..

if have any other warnings, Please let me know.

Thanks
Lijun Ou

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