[dpdk-dev] [PATCH v7 02/11] bond: replace rte_panic instances in bonding driver

Stephen Hemminger stephen at networkplumber.org
Wed Apr 25 00:51:46 CEST 2018


On Wed, 25 Apr 2018 01:16:44 +0300
Arnon Warshavsky <arnon at qwilt.com> wrote:

> replace panic calls with log and return value.
> Local functions to this file,
> changing from void to int are non-abi-breaking
> 
> Signed-off-by: Arnon Warshavsky <arnon at qwilt.com>
> ---
>  drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c       |  2 +-
>  drivers/net/bonding/rte_eth_bond_8023ad.c         | 29 ++++++++++++++---------
>  drivers/net/bonding/rte_eth_bond_8023ad_private.h |  2 +-
>  drivers/net/bonding/rte_eth_bond_api.c            | 22 ++++++++++++-----
>  drivers/net/bonding/rte_eth_bond_pmd.c            |  9 ++++---
>  drivers/net/bonding/rte_eth_bond_private.h        |  2 +-
>  6 files changed, 43 insertions(+), 23 deletions(-)
> 
> diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> index a78f3a2..a19fb40 100644
> --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> @@ -2884,7 +2884,7 @@ struct rte_security_ops dpaa2_sec_security_ops = {
>  					rte_socket_id());
>  
>  		if (cryptodev->data->dev_private == NULL) {
> -			DPAA_SEC_ERR("%s() Cannot allocate memzone for private device data",
> +			DPAA2_SEC_ERR("%s() Cannot allocate memzone for private device data",
>  			__func__);
>  			return -ENOMEM;

You mixed dpaa2 with bonding in this set.


More information about the dev mailing list