aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest/test_tle_udp_stream_gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest/test_tle_udp_stream_gen.h')
-rw-r--r--test/gtest/test_tle_udp_stream_gen.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/gtest/test_tle_udp_stream_gen.h b/test/gtest/test_tle_udp_stream_gen.h
index 8476375..855980c 100644
--- a/test/gtest/test_tle_udp_stream_gen.h
+++ b/test/gtest/test_tle_udp_stream_gen.h
@@ -62,7 +62,8 @@ extern struct rte_mempool *mbuf_pool;
/* Dummy lookup functions, TX operations are not performed in these tests */
static int
-lookup4_function(void *opaque, const struct in_addr *addr, struct tle_dest *res)
+lookup4_function(void *opaque, __rte_unused uint64_t sdata,
+ const struct in_addr *addr, struct tle_dest *res)
{
struct in_addr route;
struct rte_ether_hdr *eth;
@@ -98,8 +99,8 @@ lookup4_function(void *opaque, const struct in_addr *addr, struct tle_dest *res)
}
static int
-lookup6_function(void *opaque, const struct in6_addr *addr,
- struct tle_dest *res)
+lookup6_function(void *opaque, __rte_unused uint64_t sdata,
+ const struct in6_addr *addr, struct tle_dest *res)
{
struct rte_ether_hdr *eth;
struct rte_ipv6_hdr *ip6h;