New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msg/async: DPDKStack as AsyncMessenger backend #10748
Conversation
To use DPDKStack as AsyncMessenger backend, I have changed some place in the code:
But the cmake can't find DPDK, missing DPDK_INCLUDE_DIR and check_LIBRARIES. Do you have some tips or advice to modify the code to use DPDKStack as AsyncMessenger backend ? |
I will rebase this pr later |
Good! What's the simplest way for me to test the DPDKStack in Ceph? I want to see the result of running DPDKStack. |
29bf5e6
to
2c0c2e4
Compare
@liewegas let's create a ceph/dpdk repo. dpdk repo isn't in github. so a empty repo that I could push is enough |
bfd3f52
to
8b19c11
Compare
@yuyuyu101 needs rebase |
@tchaikov done |
@yuyuyu101, could you fix the conflicts in |
@tchaikov oh, sorry. missing conflicting.. |
6cded7e
to
7352f18
Compare
ok to merge as long as the cmake bits look okay to @alimaredia @yuyuyu101 can you rebase to resolve the boost submodule conflict? |
@liewegas the cmake looks fine to me, only questions I have are does it build and test ok? and the test added to src/test/msgr/CMakeLists.txt is meant to be stand alone and not a unit test run via make-check right? |
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
deleter is a wrapper for lambda which can used to free resource associated with object Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Like epoll, kqueue, select, dpdk backend also need to allow notify EventCenter when a connection is ready to read/write. So we need to let DPDKStack can kick EventCenter. DPDKDriver which introduced UserspaceEvent to simulate epoll event achieve the goal. Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
@alimaredia sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Hi @yuyuyu101,I'm sorry to disturb you, but I'd like to ask you a question.We want to enable dpdk in the asynmessage module, Based on master branch our configuration is:
However, it has not been run successfully. Whether or not bound the igb_uio drive to the network port, ceph-s will report the following error:
Our questions:
Thank you! |
No description provided.