diff --git a/srpt/conftest/rdma_query_gid/Makefile b/srpt/conftest/rdma_query_gid/Makefile new file mode 100644 index 000000000..cbc811e2d --- /dev/null +++ b/srpt/conftest/rdma_query_gid/Makefile @@ -0,0 +1,3 @@ +LINUXINCLUDE := $(PRE_CFLAGS) $(LINUXINCLUDE) + +obj-m += rdma_query_gid.o diff --git a/srpt/conftest/rdma_query_gid/rdma_query_gid.c b/srpt/conftest/rdma_query_gid/rdma_query_gid.c new file mode 100644 index 000000000..f7589eef2 --- /dev/null +++ b/srpt/conftest/rdma_query_gid/rdma_query_gid.c @@ -0,0 +1,9 @@ +#include +#include + +static int modinit(void) +{ + return rdma_query_gid(NULL, 0, 0, NULL, NULL); +} + +module_init(modinit);