| 108 | } |
| 109 | |
| 110 | static int |
| 111 | test_rawdev_info_get(void) |
| 112 | { |
| 113 | int ret; |
| 114 | struct rte_rawdev_info rdev_info = {0}; |
| 115 | struct skeleton_rawdev_conf skel_conf = {0}; |
| 116 | |
| 117 | ret = rte_rawdev_info_get(test_dev_id, NULL, 0); |
| 118 | RTE_TEST_ASSERT(ret == -EINVAL, "Expected -EINVAL, %d", ret); |
| 119 | |
| 120 | rdev_info.dev_private = &skel_conf; |
| 121 | |
| 122 | ret = rte_rawdev_info_get(test_dev_id, &rdev_info, sizeof(skel_conf)); |
| 123 | RTE_TEST_ASSERT_SUCCESS(ret, "Failed to get raw dev info"); |
| 124 | |
| 125 | return TEST_SUCCESS; |
| 126 | } |
| 127 | |
| 128 | static int |
| 129 | test_rawdev_configure(void) |
nothing calls this directly
no test coverage detected