[dpdk-dev] [PATCH] crypto/scheduler: remove session backup and recover

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Jul 6 10:43:18 CEST 2017



> -----Original Message-----
> From: Zhang, Roy Fan
> Sent: Friday, May 26, 2017 2:25 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: [PATCH] crypto/scheduler: remove session backup and recover
> 
> This patch removes the unnecssary session backup and recover steps in the
> round-robin and fail-over modes of cryptodev scheduler PMD. Originally,
> the scheduler blindly enqueues to the slaves regardless of their available
> queue rooms, and recovers the sessions once failed. This patch predicts the
> number of crypto ops the slave can be enqueued by checking its inflight ops
> and thus removed the session backup and recovery steps.
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
>  drivers/crypto/scheduler/scheduler_failover.c   | 33 +++++++++---------------
> -
>  drivers/crypto/scheduler/scheduler_roundrobin.c | 33 ++++++++++----------
> -----
>  2 files changed, 25 insertions(+), 41 deletions(-)

Hi Fan,

Thanks for the patch. I did not apply this patch so far because there was some work
ongoing about the crypto sessions. Since this work is going to be integrated for RC1,
this patch is not needed anymore.

Thanks,
Pablo


More information about the dev mailing list