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