crypto/ccp: fix scheduling of burst
authorAmaranath Somalapuram <asomalap@amd.com>
Fri, 22 Nov 2019 06:47:17 +0000 (12:17 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 25 Nov 2019 10:01:36 +0000 (11:01 +0100)
commit727758576714ea4de4df01bca53978f321ae323a
treec117c43ecea8dc72d508dcebab74523594babe6e
parentb3d1a3c66da386955966d512a4a6fe39bda1be78
crypto/ccp: fix scheduling of burst

CCP driver was scheduling only one CCP in a single burst(enqueue).
Effective throughput was limited to 1 CCP performance.
Scheduling multiple ccp within one burst will increase the ccp performance.
this changes will divide the enqueue packets equally among the multiple CCP

Fixes: e0d88a394e ("crypto/ccp: support run-time CPU based auth")
Cc: stable@dpdk.org
Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
drivers/crypto/ccp/ccp_crypto.c
drivers/crypto/ccp/ccp_crypto.h
drivers/crypto/ccp/ccp_dev.h
drivers/crypto/ccp/ccp_pmd_private.h
drivers/crypto/ccp/rte_ccp_pmd.c