[PATCH 0/5] smb:common: introduce and use common smb_direct headers (step1)
Stefan Metzmacher
metze at samba.org
Tue May 27 16:12:57 UTC 2025
Hi,
in preparation of a having a common smb_direct layer I started
to move things into common header files.
I'll work on this the next few months in order to
unify the in kernel client and server layers
and expose the result to userspace too.
So that Samba can also use it.
Stefan Metzmacher (5):
smb: common: split out smb_direct related header files
smb: client: make use of common smb_direct headers
smb: common: add smb_direct_buffer_descriptor_v1
smb: client: make use of common smb_direct_buffer_descriptor_v1
smb: server: make use of common smb_direct_buffer_descriptor_v1
fs/smb/client/smb2pdu.c | 16 +++----
fs/smb/client/smbdirect.c | 22 ++++-----
fs/smb/client/smbdirect.h | 50 +------------------
fs/smb/common/smb_direct/smb_direct.h | 11 +++++
fs/smb/common/smb_direct/smb_direct_pdu.h | 58 +++++++++++++++++++++++
fs/smb/server/connection.c | 4 +-
fs/smb/server/connection.h | 8 ++--
fs/smb/server/smb2pdu.c | 10 ++--
fs/smb/server/smb2pdu.h | 8 +---
fs/smb/server/transport_rdma.c | 6 +--
fs/smb/server/transport_rdma.h | 41 ----------------
11 files changed, 106 insertions(+), 128 deletions(-)
create mode 100644 fs/smb/common/smb_direct/smb_direct.h
create mode 100644 fs/smb/common/smb_direct/smb_direct_pdu.h
--
2.34.1
More information about the samba-technical
mailing list