| 41 | static uint16_t test_dev_id; |
| 42 | |
| 43 | static int |
| 44 | testsuite_setup(void) |
| 45 | { |
| 46 | uint8_t count; |
| 47 | |
| 48 | total = 0; |
| 49 | passed = 0; |
| 50 | failed = 0; |
| 51 | unsupported = 0; |
| 52 | |
| 53 | count = rte_rawdev_count(); |
| 54 | if (!count) { |
| 55 | SKELDEV_TEST_INFO("\tNo existing rawdev; " |
| 56 | "Creating 'skeldev_rawdev'"); |
| 57 | return rte_vdev_init(TEST_DEV_NAME, NULL); |
| 58 | } |
| 59 | |
| 60 | return TEST_SUCCESS; |
| 61 | } |
| 62 | |
| 63 | static void local_teardown(void); |
| 64 |
no test coverage detected