lkml.org 
[lkml]   [2023]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH rdma-next 00/13] Add RDMA inline crypto support
On Mon, Jan 23, 2023 at 02:57:18PM +0200, Israel Rukshin wrote:
>> - what happens with multipathing? when if not all devices are
>> capable. SW fallback?
> SW fallback happens every time the device doesn't support the specific
> crypto request (which include data-unit-size, mode and dun_bytes).
> So with multipathing, one path uses the HW crypto offload and the other one
> uses the SW fallback.

That's a big no-go. The blk-crypto-fallback code is just a toy example
and not actually safe to use in prodution. Most importantly it just
kmallocs a bio clone and pages for it without any mempool that guarantees
forward progress.

\
 
 \ /
  Last update: 2023-03-27 00:01    [W:2.872 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site