xref: /dpdk/app/test/test_pdump.h (revision 8eea143735a3bb846075977fccf50d2b610d90c7)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4 
5 #ifndef _TEST_PDUMP_H_
6 #define _TEST_PDUMP_H_
7 
8 #define QUEUE_ID 0
9 #define NUM_ITR 3
10 
11 /* sample test to send packets to the pdump client recursively */
12 uint32_t send_pkts(void *empty);
13 
14 /* Sample test to create setup for the pdump server tests */
15 int test_pdump_init(void);
16 
17 /* Sample test to teardown the pdump server setup */
18 int test_pdump_uninit(void);
19 
20 /* Sample test to run the pdump client tests */
21 int run_pdump_client_tests(void);
22 
23 /* Sample test to run the pdump server tests */
24 int run_pdump_server_tests(void);
25 
26 /* Sample test to run the pdump client and server tests based on
27  * the process type
28  */
29 int test_pdump(void);
30 
31 #endif /* _TEST_PDUMP_H_ */
32