From: Jerin Jacob <jerinjacobk@gmail.com>
To: "Gujjar, Abhinandan S" <abhinandan.gujjar@intel.com>
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] test/event_crypto: add check for adapter failure
Date: Mon, 30 Sep 2019 18:57:36 +0530 [thread overview]
Message-ID: <CALBAE1P5j8VQ8M_yPvK+stQs15ae+y8uEYNe4C_WX5gZdFLNxA@mail.gmail.com> (raw)
In-Reply-To: <5612CB344B05EE4F95FC5B729939F7807954A5F1@PGSMSX102.gar.corp.intel.com>
On Fri, Sep 27, 2019 at 3:40 PM Gujjar, Abhinandan S
<abhinandan.gujjar@intel.com> wrote:
>
> Acked-by: abhinandan.gujjar@intel.com
Changed to Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
and Applied to dpdk-next-eventdev/master. Thanks.
>
> > -----Original Message-----
> > From: Hemant Agrawal <hemant.agrawal@nxp.com>
> > Sent: Friday, September 27, 2019 1:46 PM
> > To: dev@dpdk.org; Gujjar, Abhinandan S <abhinandan.gujjar@intel.com>
> > Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
> > Subject: [PATCH] test/event_crypto: add check for adapter failure
> >
> > Return err if the adapter creation is failed.
> >
> > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> > ---
> > 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
>
next prev parent reply other threads:[~2019-09-30 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 8:16 [dpdk-dev] [PATCH] test/event_crypto: fix mempool name Hemant Agrawal
2019-09-27 8:16 ` [dpdk-dev] [PATCH] test/event_crypto: change the SEC cipher algo Hemant Agrawal
2019-09-27 10:11 ` Gujjar, Abhinandan S
2019-09-30 8:29 ` Jerin Jacob
2019-09-27 8:16 ` [dpdk-dev] [PATCH] test/event_crypto: add check for adapter failure Hemant Agrawal
2019-09-27 10:10 ` Gujjar, Abhinandan S
2019-09-30 13:27 ` Jerin Jacob [this message]
2019-09-27 10:09 ` [dpdk-dev] [PATCH] test/event_crypto: fix mempool name Gujjar, Abhinandan S
2019-09-30 8:18 ` Jerin Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALBAE1P5j8VQ8M_yPvK+stQs15ae+y8uEYNe4C_WX5gZdFLNxA@mail.gmail.com \
--to=jerinjacobk@gmail.com \
--cc=abhinandan.gujjar@intel.com \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).