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

Function fs_parse_sub_device

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

Source from the content-addressed store, hash-verified

483}
484
485static int
486fs_parse_sub_device(struct sub_device *sdev)
487{
488 struct rte_devargs *da;
489 char devstr[DEVARGS_MAXLEN] = "";
490
491 da = &sdev->devargs;
492 snprintf(devstr, sizeof(devstr), "%s,%s", da->name, da->args);
493 return fs_parse_device(sdev, devstr);
494}
495
496int
497failsafe_args_parse_subs(struct rte_eth_dev *dev)

Callers 1

failsafe_args_parse_subsFunction · 0.85

Calls 2

snprintfFunction · 0.85
fs_parse_deviceFunction · 0.85

Tested by

no test coverage detected