On 1/25/2023 5:43 PM, David Howells wrote:
Tom Talpey <tom@xxxxxxxxxx> wrote:
What are you trying to test?
I'm trying to make sure my iteratorisation patches work, including with RDMA.
I have some functions to decant some data an iterator either into a
scatterlist and into an RDMA SGE array without the need to get refs on pages.
Most excellent. Great name for the task too. :)
There are going to be a couple of paths to test eventually. In the
non-encrypted case, the data will be coming down with a rather
different set of sges/segments than after it goes through the
scrambler.
Since we're not ready to implement the encrypted SMBDirect traffic
yet, it's best to put off the encrypted path work/testing, agree?
Since encrypted SMBDirect traffic is known to have an issue, I guess I'd
suggest turning off encryption-by-default on the share.
How do I do that? In the ksmbd config?
[global]
smb3 encryption = yes
That's definitely needed, but also check that the share stanzas
do not request encryption, as well.
Tom.