Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/testcne/cli_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "msgchan_test.h"
#include "tailqs_test.h"
#include "idlemgr_test.h"
#include "txbuff_test.h"

struct struct_sizes {
const char *name;
Expand Down Expand Up @@ -138,6 +139,7 @@ all_tests(int argc, char **argv)
tailqs_main(argc, argv);
thread_main(argc, argv);
timer_main(argc, argv);
txbuff_main(argc, argv);
uid_main(argc, argv);
vec_main(argc, argv);
xskdev_main(argc, argv);
Expand Down Expand Up @@ -189,6 +191,7 @@ static struct cli_tree default_tree[] = {
c_cmd("sizeof", sizeof_cmd, "Size of structures"),
c_cmd("thread", thread_main, "Run the Thread test"),
c_cmd("timer", timer_main, "Run the Timer test"),
c_cmd("txbuff", txbuff_main, "Run the TXBUFF (packet transmission buffer) test"),
c_cmd("uid", uid_main, "Run the User ID Allocator test"),
c_cmd("vec", vec_main, "Run the vec routine test"),
c_cmd("xdpdev", xskdev_main, "Run the xdpdev API test (deprecated)"),
Expand Down
3 changes: 3 additions & 0 deletions test/testcne/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ sources = files(
'testcne.c',
'thread_test.c',
'timer_test.c',
'txbuff_test.c',
'uid_test.c',
'vec_test.c',
'xskdev_test.c',
Expand Down Expand Up @@ -101,6 +102,7 @@ deps = [
timer,
tst_common,
tun,
txbuff,
utils,
xskdev,
]
Expand Down Expand Up @@ -142,6 +144,7 @@ test_names = [
'sizeof',
'tailqs',
'thread',
'txbuff',
'uid',
'vec',
]
Expand Down
1 change: 1 addition & 0 deletions test/testcne/testcne.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ typedef struct myargs {
#include "kvargs_test.h"
#include "xskdev_test.h"
#include "ring_profile.h"
#include "txbuff_test.h"

#define SIZE_1MB (1024L * 1024L)
#define SIZE_1BB (1024L * 1024L * 1024L)
Expand Down
Loading
Loading