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

Function bond_reta_fetch

dpdk/app/test/test_link_bonding_rssconf.c:252–264  ·  view source on GitHub ↗

* Fetch bonding ports RETA */

Source from the content-addressed store, hash-verified

250 * Fetch bonding ports RETA
251 */
252static int
253bond_reta_fetch(void) {
254 unsigned j;
255
256 for (j = 0; j < test_params.bond_dev_info.reta_size / RTE_ETH_RETA_GROUP_SIZE;
257 j++)
258 test_params.bond_reta_conf[j].mask = ~0LL;
259
260 TEST_ASSERT_SUCCESS(rte_eth_dev_rss_reta_query(test_params.bond_port_id,
261 test_params.bond_reta_conf, test_params.bond_dev_info.reta_size),
262 "Cannot take bonding ports RSS configuration");
263 return 0;
264}
265
266/**
267 * Fetch members RETA

Callers 2

member_remove_and_addFunction · 0.85
test_propagateFunction · 0.85

Calls 1

Tested by

no test coverage detected