From 4a8fde0e51a94191efecedb431d6b9a524a23b29 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 26 Oct 2023 12:51:09 +0200 Subject: hsa: use common app session interface in echo tests Type: test Change-Id: Ib320cfb5e20f12614c013a92ac15490f8ca3a7ce Signed-off-by: Filip Tehlar --- src/plugins/hs_apps/echo_client.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plugins/hs_apps/echo_client.h') diff --git a/src/plugins/hs_apps/echo_client.h b/src/plugins/hs_apps/echo_client.h index 7af4b8a5262..5868c3652ce 100644 --- a/src/plugins/hs_apps/echo_client.h +++ b/src/plugins/hs_apps/echo_client.h @@ -25,8 +25,10 @@ typedef struct ec_session_ { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); - app_session_t data; - u32 vpp_session_index; +#define _(type, name) type name; + foreach_app_session_field +#undef _ + u32 vpp_session_index; u32 thread_index; u64 bytes_to_send; u64 bytes_sent; @@ -87,7 +89,6 @@ typedef struct u32 private_segment_count; /**< Number of private fifo segs */ u64 private_segment_size; /**< size of private fifo segs */ u32 tls_engine; /**< TLS engine mbedtls/openssl */ - u8 is_dgram; u32 no_copy; /**< Don't memcpy data to tx fifo */ u32 quic_streams; /**< QUIC streams per connection */ u32 ckpair_index; /**< Cert key pair for tls/quic */ -- cgit 1.2.3-korg