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

Function rte_convert_rss_key

dpdk/lib/hash/rte_thash.h:120–127  ·  view source on GitHub ↗

* Prepare special converted key to use with rte_softrss_be() * @param orig * pointer to original RSS key * @param targ * pointer to target RSS key * @param len * RSS key length */

Source from the content-addressed store, hash-verified

118 * RSS key length
119 */
120static inline void
121rte_convert_rss_key(const uint32_t *orig, uint32_t *targ, int len)
122{
123 int i;
124
125 for (i = 0; i < (len >> 2); i++)
126 targ[i] = rte_be_to_cpu_32(orig[i]);
127}
128
129/**
130 * Prepare and load IPv6 addresses (src and dst)

Callers 2

rxa_createFunction · 0.85
test_toeplitz_hash_calcFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_toeplitz_hash_calcFunction · 0.68