Skip to contentSkip to conversation

【For help】 some tips for upstream the userspace driver code of hns_roce

DISCUSSION oulijun 2 participants 7 messages Oct 13, 2016 – Oct 18, 2016 4 messages not in the archive InfiniBand

lore
Share & tools
lore

oulijun

author
#0 lore raw

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · oulijun

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.

Quoted 8 lines

thanks
Lijun Ou

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20161013093659.GA9282-2ukJVAZIZ/[email protected]

author
#4 lore raw
Quoted 11 lines · Leon Romanovsky
Quoted 7 lines · oulijun

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,

Quoted 13 lines

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.

Quoted 4 lines

thanks
Lijun Ou

Hi, leon
Thank your reply. I will learn it careful.

thanks
Lijun Ou

Quoted 4 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#5 lore raw
In reply to a message not in the archive

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

Quoted 11 lines · Leon Romanovsky
Quoted 7 lines · oulijun

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,

Quoted 17 lines

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.

Quoted 8 lines

thanks
Lijun Ou

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 5 lines · oulijun

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.

author
#8 lore raw
In reply to a message not in the archive
Quoted 11 lines · Leon Romanovsky
Quoted 7 lines · oulijun

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,

Quoted 13 lines

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.

Quoted 4 lines

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

Quoted 4 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 22 lines · oulijun
Quoted 21 lines · Leon Romanovsky
Quoted 7 lines · oulijun

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.

Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 9 lines

thanks

Quoted 4 lines
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html