DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ipsec: fix wrong telemetry text
@ 2021-10-19 15:15 Radu Nicolau
  2021-10-20 13:55 ` [dpdk-dev] [EXT] " Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Radu Nicolau @ 2021-10-19 15:15 UTC (permalink / raw)
  To: Konstantin Ananyev, Bernard Iremonger, Vladimir Medvedkin
  Cc: dev, gakhil, john.mcnamara, Radu Nicolau

Set correct tunnel type telemetry text - tunnel type
was wrongly set as IPv4-UDP for all types.

Fixes: 7121a3b706e8 ("ipsec: add support for SA telemetry")

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 lib/ipsec/ipsec_telemetry.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/ipsec/ipsec_telemetry.c b/lib/ipsec/ipsec_telemetry.c
index 832971ad96..b8b08404b6 100644
--- a/lib/ipsec/ipsec_telemetry.c
+++ b/lib/ipsec/ipsec_telemetry.c
@@ -150,18 +150,18 @@ handle_telemetry_cmd_ipsec_sa_details(const char *cmd __rte_unused,
 						RTE_IPSEC_SATP_MODE_TUNLV6) {
 					rte_tel_data_add_dict_string(data,
 						"Tunnel-Type",
-						"IPv4-UDP");
+						"IPv6-UDP");
 				}
 			} else {
 				if (sa->type & RTE_IPSEC_SATP_MODE_TUNLV4) {
 					rte_tel_data_add_dict_string(data,
 						"Tunnel-Type",
-						"IPv4-UDP");
+						"IPv4");
 				} else if (sa->type &
 						RTE_IPSEC_SATP_MODE_TUNLV6) {
 					rte_tel_data_add_dict_string(data,
 						"Tunnel-Type",
-						"IPv4-UDP");
+						"IPv6");
 				}
 			}
 		}
-- 
2.25.1


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

* Re: [dpdk-dev] [EXT] [PATCH] ipsec: fix wrong telemetry text
  2021-10-19 15:15 [dpdk-dev] [PATCH] ipsec: fix wrong telemetry text Radu Nicolau
@ 2021-10-20 13:55 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2021-10-20 13:55 UTC (permalink / raw)
  To: Radu Nicolau, Konstantin Ananyev, Bernard Iremonger, Vladimir Medvedkin
  Cc: dev, john.mcnamara

> Set correct tunnel type telemetry text - tunnel type
> was wrongly set as IPv4-UDP for all types.
> 
> Fixes: 7121a3b706e8 ("ipsec: add support for SA telemetry")
> 
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>

Applied to dpdk-next-crypto

Thanks.

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

end of thread, other threads:[~2021-10-20 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 15:15 [dpdk-dev] [PATCH] ipsec: fix wrong telemetry text Radu Nicolau
2021-10-20 13:55 ` [dpdk-dev] [EXT] " Akhil Goyal

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