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

Function eal_parse_vfio_vf_token

dpdk/lib/eal/linux/eal.c:535–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535static int
536eal_parse_vfio_vf_token(const char *vf_token)
537{
538 struct internal_config *cfg = eal_get_internal_configuration();
539 rte_uuid_t uuid;
540
541 if (!rte_uuid_parse(vf_token, uuid)) {
542 rte_uuid_copy(cfg->vfio_vf_token, uuid);
543 return 0;
544 }
545
546 return -1;
547}
548
549/* Parse the arguments for --log-level only */
550static void

Callers 1

eal_parse_argsFunction · 0.85

Calls 3

rte_uuid_parseFunction · 0.85
rte_uuid_copyFunction · 0.85

Tested by

no test coverage detected