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

Function create_efd_table

dpdk/examples/server_node_efd/efd_server/init.c:205–216  ·  view source on GitHub ↗

Create EFD table. 8< */

Source from the content-addressed store, hash-verified

203
204/* Create EFD table. 8< */
205static void
206create_efd_table(void)
207{
208 uint8_t socket_id = rte_socket_id();
209
210 /* create table */
211 efd_table = rte_efd_create("flow table", num_flows * 2, sizeof(uint32_t),
212 1 << socket_id, socket_id);
213
214 if (efd_table == NULL)
215 rte_exit(EXIT_FAILURE, "Problem creating the flow table\n");
216}
217
218static void
219populate_efd_table(void)

Callers 1

initFunction · 0.85

Calls 3

rte_socket_idFunction · 0.85
rte_efd_createFunction · 0.85
rte_exitFunction · 0.85

Tested by

no test coverage detected