lkml.org 
[lkml]   [2022]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] cifs: Fix problem with encrypted RDMA data read
From
Am 16.11.22 um 08:00 schrieb David Howells:
> Stefan Metzmacher <metze@samba.org> wrote:
>
>> I'm not sure I understand why this would fix anything when encryption is
>> enabled.
>>
>> Is the payload still be offloaded as plaintext? Otherwise we wouldn't have
>> use_rdma_mr... So this rather looks like a fix for the non encrypted case.
>
> The "inline"[*] PDUs are encrypted, but the direct RDMA data transmission is
> not. I'm not sure if this is a bug in ksmbd.

It's a bug in the client!

> As I understand it, encrypting and decrypting the directly transferred
> data would need to be done by the NIC, not the cifs driver.

No, the encryption needs to happen above the RDMA/NIC layer.

metze

\
 
 \ /
  Last update: 2022-11-16 10:06    [W:0.096 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site