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

Function eh_initialize_tx_adapter

dpdk/examples/ipsec-secgw/event_helper.c:1497–1513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495}
1496
1497static int
1498eh_initialize_tx_adapter(struct eventmode_conf *em_conf)
1499{
1500 struct tx_adapter_conf *adapter;
1501 int i, ret;
1502
1503 /* Configure Tx adapters */
1504 for (i = 0; i < em_conf->nb_tx_adapter; i++) {
1505 adapter = &(em_conf->tx_adapter[i]);
1506 ret = eh_tx_adapter_configure(em_conf, adapter);
1507 if (ret < 0) {
1508 EH_LOG_ERR("Failed to configure tx adapter %d", ret);
1509 return ret;
1510 }
1511 }
1512 return 0;
1513}
1514
1515static void
1516eh_display_operating_mode(struct eventmode_conf *em_conf)

Callers 1

eh_devs_initFunction · 0.85

Calls 1

eh_tx_adapter_configureFunction · 0.85

Tested by

no test coverage detected