I thought I would try out SDP on our infiniband hardware.
我想我会在我们的infiniband硬件上试用SDP。
However, when I try to add AF_INET_SDP as the first argument to socket()
I get the following error:
但是,当我尝试添加AF_INET_SDP作为socket()的第一个参数时,我收到以下错误:
"Address family not supported by protocol".
Originally I had:
原来我有:
#define AF_INET_SDP 26
But after doing some reading, noticed a patch applied some time back to change this value to 27.
但在做了一些阅读之后,注意到应用了一段时间补丁将此值更改为27。
When set to 26 I get the error:
设置为26时,我收到错误:
"Error binding socket: No such device"
Has anyone managed to get SDP working on Ubuntu 12.04? what did you do to get it up and running?
有没有人设法让SDP在Ubuntu 12.04上运行?你做了什么让它运行起来?
I have installed libsdp1 and libsdpa-dev
我已经安装了libsdp1和libsdpa-dev
Using the LD_PRELOAD method on iperf I also get the first error:
在iperf上使用LD_PRELOAD方法我也得到第一个错误:
LD_PRELOAD=libsdp.so iperf -s
dir: /tmp/libsdp.log.1000 file: /tmp/libsdp.log.1000/log
socket failed: Address family not supported by protocol
bind failed: Bad file descriptor
Therefore I assume 27 is the correct domain number.
因此我假设27是正确的域名。
1 个解决方案
#1
0
SDP hasn't been accepted on the mainline linux kernel. On recent fedora, they don't ship it, neither the user space libsdp. If you still want to experiment, Matt is right, the module in question is 'ib_sdp'. try modprobe ib_sdp and run your example again.
主线linux内核尚未接受SDP。在最近的fedora上,他们没有发送它,也没有用户空间libsdp。如果您仍想进行实验,马特是对的,有问题的模块是'ib_sdp'。尝试modprobe ib_sdp并再次运行您的示例。
#1
0
SDP hasn't been accepted on the mainline linux kernel. On recent fedora, they don't ship it, neither the user space libsdp. If you still want to experiment, Matt is right, the module in question is 'ib_sdp'. try modprobe ib_sdp and run your example again.
主线linux内核尚未接受SDP。在最近的fedora上,他们没有发送它,也没有用户空间libsdp。如果您仍想进行实验,马特是对的,有问题的模块是'ib_sdp'。尝试modprobe ib_sdp并再次运行您的示例。