| 56 | } |
| 57 | |
| 58 | static int |
| 59 | fs_parse_device(struct sub_device *sdev, char *args) |
| 60 | { |
| 61 | struct rte_devargs *d; |
| 62 | int ret; |
| 63 | |
| 64 | d = &sdev->devargs; |
| 65 | DEBUG("%s", args); |
| 66 | ret = rte_devargs_parse(d, args); |
| 67 | if (ret) { |
| 68 | DEBUG("devargs parsing failed with code %d", ret); |
| 69 | return ret; |
| 70 | } |
| 71 | sdev->bus = d->bus; |
| 72 | sdev->state = DEV_PARSED; |
| 73 | return 0; |
| 74 | } |
| 75 | |
| 76 | static void |
| 77 | fs_sanitize_cmdline(char *args) |
no test coverage detected