From: Nithin Dabilpuram <ndabilpuram@marvell.com>
To: Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <gakhil@marvell.com>
Cc: <jerinj@marvell.com>, <dev@dpdk.org>,
Nithin Dabilpuram <ndabilpuram@marvell.com>,
<rbhansali@marvell.com>
Subject: [PATCH] examples/ipsec-secgw: fix uninitialized offload variable
Date: Fri, 3 Mar 2023 13:50:03 +0530 [thread overview]
Message-ID: <20230303082003.591135-1-ndabilpuram@marvell.com> (raw)
Fix uninitialized hw_reassembly offload variable.
Fixes: d8d51d4f9bf5 ("examples/ipsec-secgw: support per SA HW reassembly")
Cc: rbhansali@marvell.com
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
---
examples/ipsec-secgw/sa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index d23bdd20f3..5f5d2685f6 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -1832,6 +1832,7 @@ sa_check_offloads(uint16_t port_id, uint64_t *rx_offloads,
*rx_offloads = 0;
*tx_offloads = 0;
+ *hw_reassembly = 0;
ret = rte_eth_dev_info_get(port_id, &dev_info);
if (ret != 0)
--
2.25.1
next reply other threads:[~2023-03-03 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 8:20 Nithin Dabilpuram [this message]
2023-03-12 14:20 ` Thomas Monjalon
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=20230303082003.591135-1-ndabilpuram@marvell.com \
--to=ndabilpuram@marvell.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
--cc=jerinj@marvell.com \
--cc=radu.nicolau@intel.com \
--cc=rbhansali@marvell.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).