DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] examples/ipsec-secgw: fix uninitialized offload variable
@ 2023-03-03  8:20 Nithin Dabilpuram
  2023-03-12 14:20 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Nithin Dabilpuram @ 2023-03-03  8:20 UTC (permalink / raw)
  To: Radu Nicolau, Akhil Goyal; +Cc: jerinj, dev, Nithin Dabilpuram, rbhansali

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] examples/ipsec-secgw: fix uninitialized offload variable
  2023-03-03  8:20 [PATCH] examples/ipsec-secgw: fix uninitialized offload variable Nithin Dabilpuram
@ 2023-03-12 14:20 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2023-03-12 14:20 UTC (permalink / raw)
  To: Nithin Dabilpuram; +Cc: Radu Nicolau, Akhil Goyal, jerinj, dev, rbhansali

03/03/2023 09:20, Nithin Dabilpuram:
> 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>

Applied, thanks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-12 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03  8:20 [PATCH] examples/ipsec-secgw: fix uninitialized offload variable Nithin Dabilpuram
2023-03-12 14:20 ` Thomas Monjalon

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).