|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
39 "} file_by_model_and_stepping_t;\n\n"
40 "static const file_by_model_and_stepping_t fms_table [] =\n"
41 "{\n" " /* model, stepping, stepping valid, file */\n";
62 while (*cp && *cp !=
'\n')
67 fformat (stderr,
"mapfile broken or empty\n");
82 for (
i = 0;
i < 15;
i++)
87 fformat (stderr,
"mapfile broken\n");
124 if (memcmp (cp,
"core", 4))
126 while (*cp && *cp !=
'\n')
134 while (*cp && *cp !=
'\n')
150 format (mtm->
table,
" { 0x%s, 0x%c, %d, \"%v\" },\n",
151 model, stepping[
i], has_stepping, filename);
177 fformat (stderr,
"usage: mapfile_tool in <ifile> out <ofile>\n");
184 fformat (stderr,
"input file not specified\n");
191 mtm->
ofp = fopen ((
char *) mtm->
ofile,
"w");
192 if (mtm->
ofp == NULL)
203 fformat (stderr,
"Failed to read mapfile from %s", mtm->
ifile);
#define vec_reset_length(v)
Reset vector length to zero NULL-pointer tolerant.
vnet_hw_if_output_node_runtime_t * r
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
clib_error_t * unix_proc_file_contents(char *file, u8 **result)
sll srl srl sll sra u16x4 i
description fragment has unexpected format
void * clib_mem_init(void *base, uword size)
#define clib_error_free(e)