| 331 | }; |
| 332 | |
| 333 | static int test_sequence(struct buf_desc *bd, unsigned nr, struct work *ws) |
| 334 | { |
| 335 | int i, ret; |
| 336 | int cqe_ret; |
| 337 | |
| 338 | reinit_ring(bd); |
| 339 | |
| 340 | for (i = 0; i < nr; i++) { |
| 341 | ret = test_vec(bd, ws[i].vecs, ws[i].nr_vecs, false, &cqe_ret); |
| 342 | if (ret) { |
| 343 | fprintf(stderr, "sequence failed, idx %i/%i\n", i, nr); |
| 344 | return ret; |
| 345 | } |
| 346 | } |
| 347 | return 0; |
| 348 | } |
| 349 | |
| 350 | static void test_basic(struct buf_desc *bd) |
| 351 | { |
no test coverage detected