All of lore.kernel.org
 help / color / mirror / Atom feed
* 【For help】 some tips for upstream the userspace driver code of hns_roce
@ 2016-10-13  8:09 oulijun
       [not found] ` <57FF414A.3000200-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: oulijun @ 2016-10-13  8:09 UTC (permalink / raw)
  To: Doug Ledford; +Cc: Linuxarm, linux-rdma

Hi, Doug Ledford
   Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
some difficulty how to upstream it. for example,
   i) which branch of ofed should we upstream ?
   ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?

  Can you give me some guides?

thanks
Lijun Ou

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found] ` <57FF414A.3000200-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2016-10-13  9:36   ` Leon Romanovsky
       [not found]     ` <20161013093659.GA9282-2ukJVAZIZ/Y@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Leon Romanovsky @ 2016-10-13  9:36 UTC (permalink / raw)
  To: oulijun; +Cc: Doug Ledford, Linuxarm, linux-rdma

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Thu, Oct 13, 2016 at 04:09:46PM +0800, oulijun wrote:
> Hi, Doug Ledford
>    Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
> some difficulty how to upstream it. for example,
>    i) which branch of ofed should we upstream ?
>    ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?
>
>   Can you give me some guides?

Hi Lijun,

Our main library for all user-space stack is located at github [1].
Please see similar question from Ram [2] and Jason's response [3] to it.

[1] github.com/linux-rdma/rdma-core
[2[ http://marc.info/?l=linux-rdma&m=147574131706820&w=2
[3] http://marc.info/?l=linux-rdma&m=147577168016989&w=2

Thanks.

>
> thanks
> Lijun Ou
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found]     ` <20161013093659.GA9282-2ukJVAZIZ/Y@public.gmane.org>
@ 2016-10-13 10:39       ` oulijun
  2016-10-14  7:24       ` oulijun
  2016-10-17 11:29       ` oulijun
  2 siblings, 0 replies; 7+ messages in thread
From: oulijun @ 2016-10-13 10:39 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: Doug Ledford, Linuxarm, linux-rdma

在 2016/10/13 17:36, Leon Romanovsky 写道:
> On Thu, Oct 13, 2016 at 04:09:46PM +0800, oulijun wrote:
>> Hi, Doug Ledford
>>    Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
>> some difficulty how to upstream it. for example,
>>    i) which branch of ofed should we upstream ?
>>    ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?
>>
>>   Can you give me some guides?
> 
> Hi Lijun,
> 
> Our main library for all user-space stack is located at github [1].
> Please see similar question from Ram [2] and Jason's response [3] to it.
> 
> [1] github.com/linux-rdma/rdma-core
> [2[ http://marc.info/?l=linux-rdma&m=147574131706820&w=2
> [3] http://marc.info/?l=linux-rdma&m=147577168016989&w=2
> 
> Thanks.
> 
>>
>> thanks
>> Lijun Ou
>>
Hi, leon
	Thank your reply. I will learn it careful.

thanks
Lijun Ou
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found]     ` <20161013093659.GA9282-2ukJVAZIZ/Y@public.gmane.org>
  2016-10-13 10:39       ` oulijun
@ 2016-10-14  7:24       ` oulijun
       [not found]         ` <58008835.3060403-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  2016-10-17 11:29       ` oulijun
  2 siblings, 1 reply; 7+ messages in thread
From: oulijun @ 2016-10-14  7:24 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: Doug Ledford, Linuxarm, linux-rdma

Hi, Leon
  I have learned the guide and I am working it.
  I have learned the README.md in the branch of rdma-core.
  According to the instruction for building the user-space stack, it only
  support to build in Debian/Fedora/OpenSuSE/centos and ubuntu is not?

thanks

在 2016/10/13 17:36, Leon Romanovsky 写道:
> On Thu, Oct 13, 2016 at 04:09:46PM +0800, oulijun wrote:
>> Hi, Doug Ledford
>>    Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
>> some difficulty how to upstream it. for example,
>>    i) which branch of ofed should we upstream ?
>>    ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?
>>
>>   Can you give me some guides?
> 
> Hi Lijun,
> 
> Our main library for all user-space stack is located at github [1].
> Please see similar question from Ram [2] and Jason's response [3] to it.
> 
> [1] github.com/linux-rdma/rdma-core
> [2[ http://marc.info/?l=linux-rdma&m=147574131706820&w=2
> [3] http://marc.info/?l=linux-rdma&m=147577168016989&w=2
> 
> Thanks.
> 
>>
>> thanks
>> Lijun Ou
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found]         ` <58008835.3060403-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2016-10-14 11:55           ` Leon Romanovsky
  0 siblings, 0 replies; 7+ messages in thread
From: Leon Romanovsky @ 2016-10-14 11:55 UTC (permalink / raw)
  To: oulijun; +Cc: Doug Ledford, Linuxarm, linux-rdma

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

On Fri, Oct 14, 2016 at 03:24:37PM +0800, oulijun wrote:
> Hi, Leon
>   I have learned the guide and I am working it.
>   I have learned the README.md in the branch of rdma-core.
>   According to the instruction for building the user-space stack, it only
>   support to build in Debian/Fedora/OpenSuSE/centos and ubuntu is not?

Did you install all required tools as mentioned in the readme?
I'm using Ubuntu and it builds on it perfectly.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found]     ` <20161013093659.GA9282-2ukJVAZIZ/Y@public.gmane.org>
  2016-10-13 10:39       ` oulijun
  2016-10-14  7:24       ` oulijun
@ 2016-10-17 11:29       ` oulijun
       [not found]         ` <5804B615.2010002-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  2 siblings, 1 reply; 7+ messages in thread
From: oulijun @ 2016-10-17 11:29 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: Doug Ledford, Linuxarm, linux-rdma

在 2016/10/13 17:36, Leon Romanovsky 写道:
> On Thu, Oct 13, 2016 at 04:09:46PM +0800, oulijun wrote:
>> Hi, Doug Ledford
>>    Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
>> some difficulty how to upstream it. for example,
>>    i) which branch of ofed should we upstream ?
>>    ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?
>>
>>   Can you give me some guides?
> 
> Hi Lijun,
> 
> Our main library for all user-space stack is located at github [1].
> Please see similar question from Ram [2] and Jason's response [3] to it.
> 
> [1] github.com/linux-rdma/rdma-core
> [2[ http://marc.info/?l=linux-rdma&m=147574131706820&w=2
> [3] http://marc.info/?l=linux-rdma&m=147577168016989&w=2
> 
> Thanks.
> 
>>
>> thanks
>> Lijun Ou
>>
Hi, leon
  if i will upstream the patch for user-space code, how to guarantee the code format satisfied the rdma-core.git?
As is known to all, the kernel driver code will be checked by checkpatch.pl,  the rdma-core.git also use the
checkpatch.pl script?

thanks

>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 【For help】 some tips for upstream the userspace driver code of hns_roce
       [not found]         ` <5804B615.2010002-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2016-10-18  5:03           ` Leon Romanovsky
  0 siblings, 0 replies; 7+ messages in thread
From: Leon Romanovsky @ 2016-10-18  5:03 UTC (permalink / raw)
  To: oulijun; +Cc: Doug Ledford, Linuxarm, linux-rdma

[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]

On Mon, Oct 17, 2016 at 07:29:25PM +0800, oulijun wrote:
> 在 2016/10/13 17:36, Leon Romanovsky 写道:
> > On Thu, Oct 13, 2016 at 04:09:46PM +0800, oulijun wrote:
> >> Hi, Doug Ledford
> >>    Now, I am preparing for upstreaming the userspace driver code of hns_roce.  But, we have
> >> some difficulty how to upstream it. for example,
> >>    i) which branch of ofed should we upstream ?
> >>    ii) if want to upstream the userspace driver of hns_roce successfully, how we should do?
> >>
> >>   Can you give me some guides?
> >
> > Hi Lijun,
> >
> > Our main library for all user-space stack is located at github [1].
> > Please see similar question from Ram [2] and Jason's response [3] to it.
> >
> > [1] github.com/linux-rdma/rdma-core
> > [2[ http://marc.info/?l=linux-rdma&m=147574131706820&w=2
> > [3] http://marc.info/?l=linux-rdma&m=147577168016989&w=2
> >
> > Thanks.
> >
> >>
> >> thanks
> >> Lijun Ou
> >>
> Hi, leon
>   if i will upstream the patch for user-space code, how to guarantee the code format satisfied the rdma-core.git?
> As is known to all, the kernel driver code will be checked by checkpatch.pl,  the rdma-core.git also use the
> checkpatch.pl script?

There is no strict enforcement for specific coding style in this
package and we don't have checkpatch-like utility for rdma-core.

I would be happy to see kernel coding style in this repository, but
won't prevent acceptance for code which is written in other adequate style
(constant across new code and clear to read).

It can be changed in the future, once we decide to unify coding style in
rdma-core, but we are not there yet.

>
> thanks
>
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> >> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-18  5:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13  8:09 【For help】 some tips for upstream the userspace driver code of hns_roce oulijun
     [not found] ` <57FF414A.3000200-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-10-13  9:36   ` Leon Romanovsky
     [not found]     ` <20161013093659.GA9282-2ukJVAZIZ/Y@public.gmane.org>
2016-10-13 10:39       ` oulijun
2016-10-14  7:24       ` oulijun
     [not found]         ` <58008835.3060403-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-10-14 11:55           ` Leon Romanovsky
2016-10-17 11:29       ` oulijun
     [not found]         ` <5804B615.2010002-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2016-10-18  5:03           ` Leon Romanovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.