From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FF93A2EDB for ; Mon, 30 Sep 2019 15:27:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9DDA3237; Mon, 30 Sep 2019 15:27:49 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 8B9DF29C6 for ; Mon, 30 Sep 2019 15:27:48 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id a1so38269526ioc.6 for ; Mon, 30 Sep 2019 06:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GybxhDcQzzjPUhBArc8mGKYDbJGSOgpTmHmgPHQY6nA=; b=lb3XsQinSBCUfcZEeyW7k8MAjekWOtyoM4rDanE36x0HGFroKqdY7fQSgZ1p78KBRr zt1gShXgyrtIoF+1/3XmO/thtNl9hUWZL8OussokxijZavPoJNf9vL36JZwIoUY6y7pl bWMlGfaZWE7DeCWdN6RXE6Am44m70Y5y/T0r1u6CnZeqw1q+is1SNoy+xpL3VyZKcZk/ dfD9uTKlNdFTD6OJwCh5oOYsXAQ6Y2UEiyA1fvKCnZJpSAYnKbSPM/1DK9lJ76mNwsir baOpUXLDRCMyoC9SnvhNWDI9iG0T9J8+uHMp3vDckBLeH6s3YZyeLddEe+bzYRq4MupK G2sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GybxhDcQzzjPUhBArc8mGKYDbJGSOgpTmHmgPHQY6nA=; b=ixpAhWhFEfNjU33hNFvqH0+wbD7dhYy01b6q+8/t3pXJs5TZNilPVRHZKT4agVDYXD 9Fk4z6Z2Zw78IWuoum8ROJO8tmRuyc1bunJyZUpe3QNq2mrBbg5zr83LzDkQT4WyW6jq dYQoiI4Hw8x5yiAHFJaBvbtmoc6775TgZiEnRUvnQfUcUH5m3jlHRNB+CEeoPTPcr3nK ongyaCd7jWWMSURJ5Hx7wX7z2QJGbk16xgz6MSzy8GBJoCW18SwqGOzZHftyolljJmCv ZAYSS8kjQiFe9xZxtMzoPpJLiO2lHRVD6Rvr4TqOxo8LHYLgxCFQ4L2dH8pF9U1rvhbP Wlug== X-Gm-Message-State: APjAAAVb4vnlq1FlLBzM2elBtJDwKDlPT7x+blCXEJ7auSF9pVTcE+Pa J35NVvd0mFAwW9uFAre5TY5qy6xwykzxUhf1+iM= X-Google-Smtp-Source: APXvYqykXAOxe7pcJiJSr3DYa3JSe2O3ktB7gYIZq+A2wwSQHfcFH8mmZ9+XpCeI4mwP/mfGChipUF3TeKOgaGVXGEQ= X-Received: by 2002:a6b:c895:: with SMTP id y143mr19463863iof.271.1569850067823; Mon, 30 Sep 2019 06:27:47 -0700 (PDT) MIME-Version: 1.0 References: <20190927081606.22931-1-hemant.agrawal@nxp.com> <20190927081606.22931-3-hemant.agrawal@nxp.com> <5612CB344B05EE4F95FC5B729939F7807954A5F1@PGSMSX102.gar.corp.intel.com> In-Reply-To: <5612CB344B05EE4F95FC5B729939F7807954A5F1@PGSMSX102.gar.corp.intel.com> From: Jerin Jacob Date: Mon, 30 Sep 2019 18:57:36 +0530 Message-ID: To: "Gujjar, Abhinandan S" Cc: Hemant Agrawal , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] test/event_crypto: add check for adapter failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Sep 27, 2019 at 3:40 PM Gujjar, Abhinandan S wrote: > > Acked-by: abhinandan.gujjar@intel.com Changed to Acked-by: Abhinandan Gujjar and Applied to dpdk-next-eventdev/master. Thanks. > > > -----Original Message----- > > From: Hemant Agrawal > > Sent: Friday, September 27, 2019 1:46 PM > > To: dev@dpdk.org; Gujjar, Abhinandan S > > Cc: Hemant Agrawal > > Subject: [PATCH] test/event_crypto: add check for adapter failure > > > > Return err if the adapter creation is failed. > > > > Signed-off-by: Hemant Agrawal > > --- > > app/test/test_event_crypto_adapter.c | 7 +++++-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --git a/app/test/test_event_crypto_adapter.c > > b/app/test/test_event_crypto_adapter.c > > index 83f3214ca..275729ba6 100644 > > --- a/app/test/test_event_crypto_adapter.c > > +++ b/app/test/test_event_crypto_adapter.c > > @@ -814,7 +814,8 @@ test_crypto_adapter_conf_op_forward_mode(void) > > enum rte_event_crypto_adapter_mode mode; > > > > mode = RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD; > > - test_crypto_adapter_conf(mode); > > + TEST_ASSERT_SUCCESS(test_crypto_adapter_conf(mode), > > + "Failed to config crypto adapter"); > > > > return TEST_SUCCESS; > > } > > @@ -825,7 +826,9 @@ test_crypto_adapter_conf_op_new_mode(void) > > enum rte_event_crypto_adapter_mode mode; > > > > mode = RTE_EVENT_CRYPTO_ADAPTER_OP_NEW; > > - test_crypto_adapter_conf(mode); > > + TEST_ASSERT_SUCCESS(test_crypto_adapter_conf(mode), > > + "Failed to config crypto adapter"); > > + > > return TEST_SUCCESS; > > } > > > > -- > > 2.17.1 >