mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
srpt/conftest/rdma_query_gid: Add
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7415 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
3
srpt/conftest/rdma_query_gid/Makefile
Normal file
3
srpt/conftest/rdma_query_gid/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE)
|
||||
|
||||
obj-m += rdma_query_gid.o
|
||||
9
srpt/conftest/rdma_query_gid/rdma_query_gid.c
Normal file
9
srpt/conftest/rdma_query_gid/rdma_query_gid.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <linux/module.h>
|
||||
#include <rdma/ib_verbs.h>
|
||||
|
||||
static int modinit(void)
|
||||
{
|
||||
return rdma_query_gid(NULL, 0, 0, NULL, NULL);
|
||||
}
|
||||
|
||||
module_init(modinit);
|
||||
Reference in New Issue
Block a user