From: Akhil Goyal <akhil.goyal@nxp.com>
To: "michaelsh@marvell.com" <michaelsh@marvell.com>,
"radu.nicolau@intel.com" <radu.nicolau@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "lironh@marvell.com" <lironh@marvell.com>
Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: add offload error handling
Date: Mon, 26 Aug 2019 06:39:15 +0000 [thread overview]
Message-ID: <VE1PR04MB66390F06909A95E135D0521DE6A10@VE1PR04MB6639.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20190825110449.343-1-michaelsh@marvell.com>
>
> From: Michael Shamis <michaelsh@marvell.com>
>
> Added error handler for offload mode.
>
> Signed-off-by: Michael Shamis <michaelsh@marvell.com>
> ---
> examples/ipsec-secgw/ipsec.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
> index dc85adfe5..583c91658 100644
> --- a/examples/ipsec-secgw/ipsec.c
> +++ b/examples/ipsec-secgw/ipsec.c
> @@ -566,6 +566,12 @@ ipsec_dequeue(ipsec_xform_fn xform_func, struct
> ipsec_ctx *ipsec_ctx,
> rte_pktmbuf_free(pkt);
> continue;
> }
> + } else if (sa->type ==
> +
> RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL) {
> + if (cops[j]->status) {
> + rte_pktmbuf_free(pkt);
> + continue;
> + }
> }
> pkts[nb_pkts++] = pkt;
> }
> --
> 2.23.0
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
next prev parent reply other threads:[~2019-08-26 6:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-25 11:04 michaelsh
2019-08-26 6:39 ` Akhil Goyal [this message]
2019-09-19 15:06 ` Akhil Goyal
-- strict thread matches above, loose matches on Subject: below --
2019-08-20 16:22 michaelsh
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=VE1PR04MB66390F06909A95E135D0521DE6A10@VE1PR04MB6639.eurprd04.prod.outlook.com \
--to=akhil.goyal@nxp.com \
--cc=dev@dpdk.org \
--cc=lironh@marvell.com \
--cc=michaelsh@marvell.com \
--cc=radu.nicolau@intel.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).