]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: split out smb3_use_rdma_offload() helper
authorStefan Metzmacher <metze@samba.org>
Wed, 1 Feb 2023 15:21:40 +0000 (16:21 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 14 Mar 2023 15:47:20 +0000 (16:47 +0100)
commit3d939fc529bd6a6261e905975b251a9bab9e67d2
treedf35daf43d8b236d207a7c475c4341c73a60e032
parentd99429fa51cd9dc1e781678743bd181d678ad8e9
cifs: split out smb3_use_rdma_offload() helper

BugLink: https://bugs.launchpad.net/bugs/2011425
commit a6559cc1d35d3eeafb0296aca347b2f745a28a74 upstream.

We should have the logic to decide if we want rdma offload
in a single spot in order to advance it in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Cc: linux-cifs@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
fs/cifs/smb2pdu.c