cifs: split out smb3_use_rdma_offload() helper
authorStefan Metzmacher <metze@samba.org>
Wed, 1 Feb 2023 15:21:40 +0000 (16:21 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Feb 2023 17:48:48 +0000 (11:48 -0600)
commita6559cc1d35d3eeafb0296aca347b2f745a28a74
tree8e2dba3796283c2431b0eca3a38ea45619c3e482
parentd643a8a446fc46c06837d08a056f69da2ff16025
cifs: split out smb3_use_rdma_offload() helper

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>
fs/cifs/smb2pdu.c