Re: Re: Re: [PATCH v3 1/5] virtio-crypto: use private buffer for control request

2022-04-24 Thread zhenwei pi
On 4/24/22 14:21, Jason Wang wrote: On Fri, Apr 22, 2022 at 5:12 PM zhenwei pi wrote: On 4/22/22 15:41, Jason Wang wrote: 在 2022/4/21 18:40, zhenwei pi 写道: Originally, all of the control requests share a single buffer( ctrl & input & ctrl_status fields in struct virtio_crypto), this allows

Re: Re: [PATCH v3 1/5] virtio-crypto: use private buffer for control request

2022-04-23 Thread Jason Wang
On Fri, Apr 22, 2022 at 5:12 PM zhenwei pi wrote: > > On 4/22/22 15:41, Jason Wang wrote: > > > > 在 2022/4/21 18:40, zhenwei pi 写道: > >> Originally, all of the control requests share a single buffer( > >> ctrl & input & ctrl_status fields in struct virtio_crypto), this > >> allows queue depth 1 on

Re: Re: [PATCH v3 1/5] virtio-crypto: use private buffer for control request

2022-04-22 Thread zhenwei pi
On 4/22/22 15:41, Jason Wang wrote: 在 2022/4/21 18:40, zhenwei pi 写道: Originally, all of the control requests share a single buffer( ctrl & input & ctrl_status fields in struct virtio_crypto), this allows queue depth 1 only, the performance of control queue gets limited by this design. In this

Re: [PATCH v3 1/5] virtio-crypto: use private buffer for control request

2022-04-22 Thread Jason Wang
在 2022/4/21 18:40, zhenwei pi 写道: Originally, all of the control requests share a single buffer( ctrl & input & ctrl_status fields in struct virtio_crypto), this allows queue depth 1 only, the performance of control queue gets limited by this design. In this patch, each request allocates reques

[PATCH v3 1/5] virtio-crypto: use private buffer for control request

2022-04-21 Thread zhenwei pi
Originally, all of the control requests share a single buffer( ctrl & input & ctrl_status fields in struct virtio_crypto), this allows queue depth 1 only, the performance of control queue gets limited by this design. In this patch, each request allocates request buffer dynamically, and free buffer