From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: oulijun <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH V3 rdma-core 0/5] Userspace library matching for hip08 RoCE
Date: Wed, 25 Oct 2017 10:34:30 +0300 [thread overview]
Message-ID: <20171025073430.GO16127@mtr-leonro.local> (raw)
In-Reply-To: <7689f70b-746a-44b8-91b3-81294d83b2a6-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 4169 bytes --]
On Wed, Oct 25, 2017 at 02:29:26PM +0800, oulijun wrote:
> 在 2017/10/25 13:38, Leon Romanovsky 写道:
> > On Tue, Oct 24, 2017 at 06:28:36PM +0300, Leon Romanovsky wrote:
> >> On Tue, Oct 24, 2017 at 09:21:44PM +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).
> >>>
> >>> Change from V2:
> >>> - Fix the spelling with referred
> >>> - Eliminate the warning by travis-CI
> >>>
> >>> Change from V1:
> >>> - Fix build warning due to the strange placement of fprintf
> >>>
> >>
> >> I created pull request, but Travis CI doesn't seem like working.
> >> https://github.com/linux-rdma/rdma-core/pull/230
> >>
> >> I'll try to restart it a little bit later.
> >
> > OK, I gave up and rerun it locally and it fails to compile.
> >
> > Did you run cbuild travis?
> >
> Sorry, I have tried to run cbuild travis before send PATCH V2 and it is ok.
> I also run it according to you provide way. it is print as follows:
> oulijun@Turing-Arch-b:~/rdma/rdma-core/buildlib$ python2 cbuild pkg travis
I don't know if it matters, but I run the cbuild from top-directory,
e.g. python2 buildlib/cbuild ...
Can i assume that you run "cbuild build-image travis" and "cbuild make travis" before?
Did it finish successfully?
From the error below seems like you had an issue with your internet
connection.
Thanks
> HEAD is now at d0a1424 libhns: Update consolidate repo for userspace library of hip08 RoCE
> fatal: unable to access 'https://github.com/linux-rdma/rdma-core.git/': Failed to connect to github.com port 443: Connection timed out
> Traceback (most recent call last):
> File "cbuild", line 789, in <module>
> args.func(args);
> File "cbuild", line 618, in cmd_pkg
> run_travis_build(args,env);
> File "cbuild", line 565, in run_travis_build
> "master"]);
> File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command '['git', '--git-dir', '/home/oulijun/rdma/rdma-core/.git', 'fetch', '--no-tags', 'https://github.com/linux-rdma/rdma-core.git', 'HEAD', 'master']' returned non-zero exit status 128
>
>
> > ➜ rdma-core git:(2017-10-24-2) python2 ./buildlib/cbuild pkg travis
> > <....>
> > [70/183] Building C object providers/i40iw/CMakeFiles/i40iw-rdmav16.dir/i40iw_umain.c.o
> > FAILED: /usr/bin/gcc-7 -Dhns_rdmav16_EXPORTS -Werror -m32 -std=gnu11 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O2 -g -fPIC -Iinclude -MMD -MT providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o -MF "providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o.d" -o providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o -c ../providers/hns/hns_roce_u_hw_v2.c
> > ../providers/hns/hns_roce_u_hw_v2.c: In function 'get_send_wqe':
> > ../providers/hns/hns_roce_u_hw_v2.c:131:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> > return (void *)((uint64_t)(qp->buf.buf) + qp->sq.offset +
> > ^
> > ../providers/hns/hns_roce_u_hw_v2.c:131:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> > return (void *)((uint64_t)(qp->buf.buf) + qp->sq.offset +
> > ^
> > ../providers/hns/hns_roce_u_hw_v2.c: In function 'get_send_sge_ex':
> > ../providers/hns/hns_roce_u_hw_v2.c:137:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> > return (void *)((uint64_t)(qp->buf.buf) + qp->sge.offset +
> > ^
> > ../providers/hns/hns_roce_u_hw_v2.c:137:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> > return (void *)((uint64_t)(qp->buf.buf) + qp->sge.offset +
> > ^
> > cc1: all warnings being treated as errors
> > ninja: build stopped: subcommand failed.
> >
> > Thanks
> >
> >>
> >> Thanks
> >
> >
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-10-25 7:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 13:21 [PATCH V3 rdma-core 0/5] Userspace library matching for hip08 RoCE Lijun Ou
[not found] ` <1508851309-183263-1-git-send-email-oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-10-24 13:21 ` [PATCH V3 rdma-core 1/5] libhns: Add new PCI device matching for hip08 Lijun Ou
2017-10-24 13:21 ` [PATCH V3 rdma-core 2/5] libhns: Introduce QP operations referred to hip08 RoCE device Lijun Ou
2017-10-24 13:21 ` [PATCH V3 rdma-core 3/5] libhns: Introduce CQ operations referred to hip08 device Lijun Ou
2017-10-24 13:21 ` [PATCH V3 rdma-core 4/5] libhns: Reimplement verbs of post_send and post_recv for hip08 RoCE Lijun Ou
2017-10-24 13:21 ` [PATCH V3 rdma-core 5/5] libhns: Update consolidate repo for userspace library of " Lijun Ou
2017-10-24 15:28 ` [PATCH V3 rdma-core 0/5] Userspace library matching for " Leon Romanovsky
[not found] ` <20171024152836.GJ16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-25 5:38 ` Leon Romanovsky
[not found] ` <20171025053833.GN16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-25 6:29 ` oulijun
[not found] ` <7689f70b-746a-44b8-91b3-81294d83b2a6-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-10-25 7:34 ` Leon Romanovsky [this message]
[not found] ` <20171025073430.GO16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-25 9:28 ` oulijun
[not found] ` <40aa3621-b26b-8afc-7ce0-236659d9155c-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2017-10-25 16:18 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171025073430.GO16127@mtr-leonro.local \
--to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox