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

Function update_queue_state

dpdk/app/test-pmd/testpmd.c:2479–2494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2477}
2478
2479static void
2480update_queue_state(portid_t pid)
2481{
2482 portid_t pi;
2483 queueid_t qi;
2484
2485 RTE_ETH_FOREACH_DEV(pi) {
2486 if (pid != pi && pid != (portid_t)RTE_PORT_ALL)
2487 continue;
2488
2489 for (qi = 0; qi < nb_rxq; qi++)
2490 update_rx_queue_state(pi, qi);
2491 for (qi = 0; qi < nb_txq; qi++)
2492 update_tx_queue_state(pi, qi);
2493 }
2494}
2495
2496/*
2497 * Launch packet forwarding configuration.

Callers 2

start_packet_forwardingFunction · 0.85
start_portFunction · 0.85

Calls 2

update_rx_queue_stateFunction · 0.85
update_tx_queue_stateFunction · 0.85

Tested by

no test coverage detected