Comments (12)
New code has been pushed to reflect kernel version in 'upstream-submission' branch.
Compiles successfully, loads and unloads successfully, passes ibv_rc_pingpong (latter only tested with server and client as same machine due to limitations of my setup).
from rxe-dev.
New code has been pushed and tested across multiple machines. Please let me know if you have any comments/questions about the changes.
from rxe-dev.
Hi Paul, I added some comments, please take a look 3a7308c
from rxe-dev.
Thanks Kamal. I agree with all of your suggested changes; they should be corrected now in 327a12c.
from rxe-dev.
Sorry; one more correction in 02ffc1b as well.
from rxe-dev.
Could you please amend all the fixes to [1] commit, this will help in the review process and make the git more clear.
[1] - 3a7308c
from rxe-dev.
They are all combined in 2daaa9a. As a note, I had to delete two public commits to do this amendment (which is generally not recommended), so you may have to do a local reset to pull the new commit successfully.
from rxe-dev.
Thank you for the new comments, Kamal. I will make the new changes and commit. I have two questions for you:
- Should I add the new commit as usual, or do you prefer I amend the last one again to keep the history clean?
- Is it safe to eliminate the lines explicitly setting newly initialized list item struct fields to 0 by replacing kmalloc with kzalloc? (I added them originally to guard against exceptions, e.g. in the net_info_list_add() function)
from rxe-dev.
Hello Paul,
Related to your questions:
1- I prefer to amend the changes so the history will be clean.
2- I'm sorry i didn't understand your questions, could you please give an example from the code.
Thanks,
Kamal
from rxe-dev.
1 - Ok; thanks.
2 - Sorry for the confusing wording; I am curious if I can replace this code from the net_info list add() function:
net_info_item = kmalloc(sizeof(*net_info_item), GFP_KERNEL);
net_info_item->ifindex = index;
net_info_item->rxe = NULL;
net_info_item->status = 0;
net_info_item->port = 0;
net_info_item->ndev = NULL;
INIT_LIST_HEAD(&net_info_item->list);
with the following:
net_info_item = kzalloc(sizeof(*net_info_item), GFP_KERNEL);
net_info_item->ifindex = index;
INIT_LIST_HEAD(&net_info_item->list);
It appears kzalloc
will do the "zeroing" automatically and the resulting code looks cleaner.
from rxe-dev.
I think that in this case you need to use kzalloc
from rxe-dev.
Outstanding corrections have been made and branch is rebased from 'master' to 'master-next'. Latest commit here: 1943c23.
from rxe-dev.
Related Issues (20)
- use SoftRoCE HOT 1
- udaddy get error
- SoftRoCE with MPI HOT 2
- SoftRoce failed while working with NVMeoF HOT 2
- lack the header file of rdma_cma.h in /usr/include/rdma
- rdma_server fails with rdma_getaddrinfo: No such device HOT 1
- The MAKE process can't be finished correctly
- VM freeze when run ibv_rc_pingpong command HOT 1
- SoftRoCE installation failing HOT 2
- DMA write: size of the data larger than 2KB HOT 1
- SoftRoce cannot work with NVMe-oF target HOT 1
- softroce can not run rping tool in vlan device.
- Support for raw ethernet queue pairs
- KASLR disabled
- Driver rxe does not support kernel ABI HOT 1
- ibv_devices showing no rxe0 or GUID HOT 3
- when using write op with more than 1024B(MTU)οΌthe operation fail
- rxe_mem_init_user() results in NULL pointer value during scatter/gather walk HOT 1
- How can I change the parameter for Soft RoCE (rxe)?
- ibv_rc_pingpong not working on centos 8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxe-dev.