MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fs_parse_device

Function fs_parse_device

dpdk/drivers/net/failsafe/failsafe_args.c:58–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static int
59fs_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
76static void
77fs_sanitize_cmdline(char *args)

Callers 4

fs_execute_cmdFunction · 0.85
fs_read_fdFunction · 0.85
fs_parse_device_paramFunction · 0.85
fs_parse_sub_deviceFunction · 0.85

Calls 1

rte_devargs_parseFunction · 0.85

Tested by

no test coverage detected