crypto/zuc: batch ops with same transform
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 19 Apr 2018 14:55:41 +0000 (15:55 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commit17c36a6746419ae8d1a14b1d1345d4a892511c57
treefea5174bc65cb1fc6c9f6e9be6467a48b9bc460b
parent5943233a687af76672d45a15755f5432fb4c73e9
crypto/zuc: batch ops with same transform

The ZUC API to encrypt packets does not require the operations
to share the same key. Currently, the operations were being
batched only when they shared the same key, but this is not needed.

Instead, now operations will be batched based on the transform
(cipher only, auth only...).

Fixes: cf7685d68f00 ("crypto/zuc: add driver for ZUC library")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/zuc/rte_zuc_pmd.c