]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
bus/fslmc: remove unused funcs and align names in QBMAN
[dpdk.git] / drivers / crypto / dpaa2_sec / dpaa2_sec_dpseci.c
index 094cf30495225fef5c9344e6da6b8f792b55079c..d2aff28961f207acb670f7323892f8b628f74487 100644 (file)
@@ -747,13 +747,13 @@ dpaa2_sec_dequeue_burst(void *qp, struct rte_crypto_op **ops,
                 * Also seems like the SWP is shared between the Ethernet Driver
                 * and the SEC driver.
                 */
-               while (!qbman_check_command_complete(swp, dq_storage))
+               while (!qbman_check_command_complete(dq_storage))
                        ;
 
                /* Loop until the dq_storage is updated with
                 * new token by QBMAN
                 */
-               while (!qbman_result_has_new_result(swp, dq_storage))
+               while (!qbman_check_new_result(dq_storage))
                        ;
                /* Check whether Last Pull command is Expired and
                 * setting Condition for Loop termination