crypto/qat: fix DOCSIS performance
authorDavid Coyle <david.coyle@intel.com>
Tue, 21 Jul 2020 14:47:18 +0000 (15:47 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 28 Jul 2020 20:09:21 +0000 (22:09 +0200)
commit012affe1383850e1ebf29fb8287cb2ff06a7f007
tree251da8f7426d60d0a3765e4d7d9c9d8971022f9e
parentb2f58adb163402028335e68a333dc1515bd76813
crypto/qat: fix DOCSIS performance

DOCSIS protocol performance in the downlink direction can be improved
significantly in the QAT SYM PMD, especially for larger packets, by
pre-processing all CRC generations in a batch before building and
enqueuing any requests to the HW. This patch adds this optimization.

Fixes: 6f0ef237404b ("crypto/qat: support DOCSIS protocol")

Signed-off-by: David Coyle <david.coyle@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/common/qat/qat_qp.c
drivers/crypto/qat/qat_sym.c
drivers/crypto/qat/qat_sym.h