Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 00/12] smb:common: introduce and use common smbdirect headers/structures (step1)
@ 2025-05-28 16:01 Stefan Metzmacher
  2025-05-28 16:01 ` [PATCH v2 01/12] smb: smbdirect: add smbdirect_pdu.h with protocol definitions Stefan Metzmacher
                   ` (13 more replies)
  0 siblings, 14 replies; 27+ messages in thread
From: Stefan Metzmacher @ 2025-05-28 16:01 UTC (permalink / raw)
  To: linux-cifs
  Cc: metze, Steve French, Tom Talpey, Long Li, Namjae Jeon,
	Hyunchul Lee, Meetakshi Setiya, samba-technical

Hi,

in preparation of a having a common smb_direct layer I started
to move things into common header files and added the first
step in using shared structues like struct smbdirect_socket.

Currently only simple things are shared and there is no
intended behaviour change (even if I found some things
I'd like to change, but I'll defer them in order to
make the review easier).

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.

v2:
  - change smb_direct into smbdirect
  - make usage of header files just as needed
  - also introduce struct smbdirect_socket[_parameters]
    as shared structures

Stefan Metzmacher (12):
  smb: smbdirect: add smbdirect_pdu.h with protocol definitions
  smb: client: make use of common smbdirect_pdu.h
  smb: server: make use of common smbdirect_pdu.h
  smb: smbdirect: add smbdirect.h with public structures
  smb: client: make use of common smbdirect.h
  smb: server: make use of common smbdirect.h
  smb: smbdirect: add smbdirect_socket.h
  smb: client: make use of common smbdirect_socket
  smb: server: make use of common smbdirect_socket
  smb: smbdirect: introduce smbdirect_socket_parameters
  smb: client: make use of common smbdirect_socket_parameters
  smb: server: make use of common smbdirect_socket_parameters

 fs/smb/client/cifs_debug.c                 |  23 +-
 fs/smb/client/smb2ops.c                    |  14 +-
 fs/smb/client/smb2pdu.c                    |  17 +-
 fs/smb/client/smbdirect.c                  | 389 +++++++++++----------
 fs/smb/client/smbdirect.h                  |  71 +---
 fs/smb/common/smbdirect/smbdirect.h        |  37 ++
 fs/smb/common/smbdirect/smbdirect_pdu.h    |  55 +++
 fs/smb/common/smbdirect/smbdirect_socket.h |  43 +++
 fs/smb/server/connection.c                 |   4 +-
 fs/smb/server/connection.h                 |  10 +-
 fs/smb/server/smb2pdu.c                    |  11 +-
 fs/smb/server/smb2pdu.h                    |   6 -
 fs/smb/server/transport_rdma.c             | 385 +++++++++++---------
 fs/smb/server/transport_rdma.h             |  41 ---
 14 files changed, 613 insertions(+), 493 deletions(-)
 create mode 100644 fs/smb/common/smbdirect/smbdirect.h
 create mode 100644 fs/smb/common/smbdirect/smbdirect_pdu.h
 create mode 100644 fs/smb/common/smbdirect/smbdirect_socket.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2025-06-03 10:55 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28 16:01 [PATCH v2 00/12] smb:common: introduce and use common smbdirect headers/structures (step1) Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 01/12] smb: smbdirect: add smbdirect_pdu.h with protocol definitions Stefan Metzmacher
2025-05-28 23:28   ` Namjae Jeon
2025-05-30 19:03     ` Stefan Metzmacher
2025-05-30 19:27       ` Steve French
2025-05-30 22:29       ` Namjae Jeon
     [not found]         ` <CAH2r5mvQbL_R9wrFRHF9_3XwM3e-=2vK=i1uaSCk37-FZmJq9g@mail.gmail.com>
2025-06-01  0:01           ` Namjae Jeon
     [not found]             ` <CAH2r5mso54sXPcoJWDSU4E--XMH44wFY-cdww6_6yx5CxrFtdg@mail.gmail.com>
2025-06-01  4:59               ` Namjae Jeon
2025-06-02  1:56                 ` Steve French
2025-06-02  2:19                   ` Namjae Jeon
2025-06-02 22:02                     ` Stefan Metzmacher
2025-06-03  6:20                       ` Namjae Jeon
2025-06-03  9:06                         ` Stefan Metzmacher
2025-06-03 10:55                           ` Namjae Jeon
2025-05-28 16:01 ` [PATCH v2 02/12] smb: client: make use of common smbdirect_pdu.h Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 03/12] smb: server: " Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 04/12] smb: smbdirect: add smbdirect.h with public structures Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 05/12] smb: client: make use of common smbdirect.h Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 06/12] smb: server: " Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 07/12] smb: smbdirect: add smbdirect_socket.h Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 08/12] smb: client: make use of common smbdirect_socket Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 09/12] smb: server: " Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 10/12] smb: smbdirect: introduce smbdirect_socket_parameters Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 11/12] smb: client: make use of common smbdirect_socket_parameters Stefan Metzmacher
2025-05-28 16:01 ` [PATCH v2 12/12] smb: server: " Stefan Metzmacher
2025-05-29  3:33 ` [PATCH v2 00/12] smb:common: introduce and use common smbdirect headers/structures (step1) Steve French
2025-05-30 16:51 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox