Lines Matching defs:algorithm
1283 enum rte_eth_hash_function algorithm;
1527 algorithm = dev_conf->rx_adv_conf.rss_conf.algorithm;
1528 if ((size_t)algorithm >= CHAR_BIT * sizeof(dev_info.rss_algo_capa) ||
1529 (dev_info.rss_algo_capa & RTE_ETH_HASH_ALGO_TO_CAPA(algorithm)) == 0) {
1531 "Ethdev port_id=%u configured RSS hash algorithm (%u)"
1532 "is not in the algorithm capability (0x%" PRIx32 ")",
1533 port_id, algorithm, dev_info.rss_algo_capa);
4852 if ((size_t)rss_conf->algorithm >= CHAR_BIT * sizeof(dev_info.rss_algo_capa) ||
4854 RTE_ETH_HASH_ALGO_TO_CAPA(rss_conf->algorithm)) == 0) {
4856 "Ethdev port_id=%u configured RSS hash algorithm (%u)"
4857 "is not in the algorithm capability (0x%" PRIx32 ")",
4858 port_id, rss_conf->algorithm, dev_info.rss_algo_capa);
4902 rss_conf->algorithm = RTE_ETH_HASH_FUNCTION_DEFAULT;