git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tile: fix build
[dpdk.git]
/
app
/
test
/
test_hash_scaling.c
diff --git
a/app/test/test_hash_scaling.c
b/app/test/test_hash_scaling.c
index
744e5e3
..
46c48e5
100644
(file)
--- a/
app/test/test_hash_scaling.c
+++ b/
app/test/test_hash_scaling.c
@@
-31,6
+31,8
@@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <stdio.h>
+
#include <rte_cycles.h>
#include <rte_hash.h>
#include <rte_hash_crc.h>
#include <rte_cycles.h>
#include <rte_hash.h>
#include <rte_hash_crc.h>
@@
-215,9
+217,4
@@
test_hash_scaling_main(void)
return r;
}
return r;
}
-
-static struct test_command hash_scaling_cmd = {
- .command = "hash_scaling_autotest",
- .callback = test_hash_scaling_main,
-};
-REGISTER_TEST_COMMAND(hash_scaling_cmd);
+REGISTER_TEST_COMMAND(hash_scaling_autotest, test_hash_scaling_main);