Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

smb: server: make use of smbdirect.ko

This means we no longer inline the common smbdirect
.c files and use the exported functions from the
module instead.

Note the connection specific logging is still
redirect to ksmbd.ko functions via
smbdirect_socket_set_logging().

We still don't use real socket layer,
but we're very close...

Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>

authored by

Stefan Metzmacher and committed by
Steve French
50bdab9a 98bdc5fd

+3 -12
+3 -2
fs/smb/server/Kconfig
··· 47 47 48 48 config SMB_SERVER_SMBDIRECT 49 49 bool "Support for SMB Direct protocol" 50 - depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y 51 - select SG_POOL 50 + depends on SMB_SERVER && INFINIBAND && INFINIBAND_ADDR_TRANS 51 + depends on SMB_SERVER=m || INFINIBAND=y 52 + select SMB_COMMON_SMBDIRECT 52 53 default n 53 54 54 55 help
-10
fs/smb/server/transport_rdma.c
··· 9 9 10 10 #define SUBMOD_NAME "smb_direct" 11 11 12 - #define SMBDIRECT_USE_INLINE_C_FILES 1 13 - 14 12 #include <linux/kthread.h> 15 13 #include <linux/list.h> 16 14 #include <linux/string_choices.h> ··· 688 690 .rdma_write = smb_direct_rdma_write, 689 691 .free_transport = smb_direct_free_transport, 690 692 }; 691 - 692 - /* 693 - * This is a temporary solution until all code 694 - * is moved to smbdirect_all_c_files.c and we 695 - * have an smbdirect.ko that exports the required 696 - * functions. 697 - */ 698 - #include "../common/smbdirect/smbdirect_all_c_files.c"