Re: [PATCH rdma-next 00/13] Add RDMA inline crypto support

From: Max Gurtovoy
Date: Mon Jan 30 2023 - 09:35:14 EST



On 30/01/2023 14:35, Christoph Hellwig wrote:
On Wed, Jan 18, 2023 at 04:20:27PM +0200, Max Gurtovoy wrote:
Today, if one would like to run both features using a capable device then
the PI will be offloaded (no SW fallback) and the Encryption will be using
SW fallback.
It's not just running both - it's offering both as currently registering
these fatures is mutally incompatible.

For sure we would like to offer both, but as mentioned before, this will require blk layer instrumentation and ib_core instrumentation to some pipeline_mr or something like that.
We are interested in doing this IO path but doing all in 1 series doesn't sounds possible.

First we would like to have at least the mutual exclusive solution since there are users that may want only one type of acceleration.

re-designing, both blk layer and ib_core for the PI + CRYPTO case in this series is not feasible IMO.