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

Function rte_version

dpdk/lib/eal/common/rte_version.c:25–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23rte_version_release(void) { return RTE_VER_RELEASE; }
24
25const char *
26rte_version(void)
27{
28 static char version[32];
29 if (version[0] != 0)
30 return version;
31 if (strlen(RTE_VER_SUFFIX) == 0)
32 snprintf(version, sizeof(version), "%s %d.%02d.%d",
33 RTE_VER_PREFIX,
34 RTE_VER_YEAR,
35 RTE_VER_MONTH,
36 RTE_VER_MINOR);
37 else
38 snprintf(version, sizeof(version), "%s %d.%02d.%d%s%d",
39 RTE_VER_PREFIX,
40 RTE_VER_YEAR,
41 RTE_VER_MONTH,
42 RTE_VER_MINOR,
43 RTE_VER_SUFFIX,
44 RTE_VER_RELEASE);
45 return version;
46}

Callers 14

rte_eal_initFunction · 0.85
meta_env_emitFunction · 0.85
eal_parse_common_optionFunction · 0.85
rte_eal_initFunction · 0.85
memif_msg_enq_helloFunction · 0.85
memif_msg_enq_initFunction · 0.85
ena_config_host_infoFunction · 0.85
bnx2x_print_adapter_infoFunction · 0.85
qede_print_adapter_infoFunction · 0.85
qed_set_platform_strFunction · 0.85
versionFunction · 0.85
test_versionFunction · 0.85

Calls 1

snprintfFunction · 0.85

Tested by 1

test_versionFunction · 0.68