[dpdk-dev] [PATCH v3 06/27] bus/fslmc: qbman remove unused funcs and align names

Ferruh Yigit ferruh.yigit at intel.com
Mon Sep 18 22:19:31 CEST 2017


On 9/16/2017 11:52 AM, Hemant Agrawal wrote:
> name alignment for check command and result functions
> putting them as separate functions instead of changing the original
> functions.
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---
>  drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 146 ++--
>  drivers/bus/fslmc/qbman/qbman_portal.c             | 731 ++++++++++-----------
>  drivers/bus/fslmc/qbman/qbman_portal.h             |   6 +-
>  drivers/bus/fslmc/qbman/qbman_private.h            |   2 +-
>  drivers/bus/fslmc/qbman/qbman_sys.h                |  12 -
>  drivers/bus/fslmc/rte_bus_fslmc_version.map        |   3 +-
>  drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c        |   4 +-

Same here, CC'ed Pablo.

>  drivers/net/dpaa2/dpaa2_rxtx.c                     |  10 +-
>  8 files changed, 449 insertions(+), 465 deletions(-)

<...>

> diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> index 094cf30..d2aff28 100644
> --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> @@ -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
<...>



More information about the dev mailing list