summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dring/test_dring.c4
-rw-r--r--test/gtest/test_tle_dring.cpp4
-rw-r--r--test/gtest/test_tle_dring.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/dring/test_dring.c b/test/dring/test_dring.c
index ce3e454..692fd44 100644
--- a/test/dring/test_dring.c
+++ b/test/dring/test_dring.c
@@ -349,7 +349,7 @@ test_dring_st(void)
printf("%s started;\n", __func__);
- tle_dring_reset(&dr);
+ tle_dring_reset(&dr, 0);
r = init_drb_ring(OBJ_NUM);
if (r == NULL)
return -ENOMEM;
@@ -397,7 +397,7 @@ test_dring_mt(int32_t master_enq_type, int32_t master_deq_type,
struct tle_dring dr;
struct dring_arg arg[RTE_MAX_LCORE];
- tle_dring_reset(&dr);
+ tle_dring_reset(&dr, 0);
r = init_drb_ring(OBJ_NUM);
if (r == NULL)
return -ENOMEM;
diff --git a/test/gtest/test_tle_dring.cpp b/test/gtest/test_tle_dring.cpp
index 6ab4905..5109ac2 100644
--- a/test/gtest/test_tle_dring.cpp
+++ b/test/gtest/test_tle_dring.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 Intel Corporation.
+ * Copyright (c) 2016-2017 Intel Corporation.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
@@ -19,7 +19,7 @@ TEST_F(dring, test_dring_st)
{
printf("%s started;\n", __func__);
- tle_dring_reset(&dr);
+ tle_dring_reset(&dr, 0);
r = init_drb_ring(OBJ_NUM);
ASSERT_NE(r, (void *) NULL) << "Out of memory";
diff --git a/test/gtest/test_tle_dring.h b/test/gtest/test_tle_dring.h
index 32a223e..fdb2c47 100644
--- a/test/gtest/test_tle_dring.h
+++ b/test/gtest/test_tle_dring.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 Intel Corporation.
+ * Copyright (c) 2016-2017 Intel Corporation.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
@@ -376,7 +376,7 @@ test_dring_mt(int32_t master_enq_type, int32_t master_deq_type,
struct tle_dring dr;
struct dring_arg arg[RTE_MAX_LCORE];
- tle_dring_reset(&dr);
+ tle_dring_reset(&dr, 0);
r = init_drb_ring(OBJ_NUM);
if (r == NULL)
return -ENOMEM;