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

Function member_reta_fetch

dpdk/app/test/test_link_bonding_rssconf.c:269–280  ·  view source on GitHub ↗

* Fetch members RETA */

Source from the content-addressed store, hash-verified

267 * Fetch members RETA
268 */
269static int
270member_reta_fetch(struct member_conf *port) {
271 unsigned j;
272
273 for (j = 0; j < port->dev_info.reta_size / RTE_ETH_RETA_GROUP_SIZE; j++)
274 port->reta_conf[j].mask = ~0LL;
275
276 TEST_ASSERT_SUCCESS(rte_eth_dev_rss_reta_query(port->port_id,
277 port->reta_conf, port->dev_info.reta_size),
278 "Cannot take bonding ports RSS configuration");
279 return 0;
280}
281
282/**
283 * Remove and add member to check if members configuration is synced with

Callers 2

member_remove_and_addFunction · 0.85
test_propagateFunction · 0.85

Calls 1

Tested by

no test coverage detected