Home
last modified time | relevance | path

Searched refs:hash_opt_idx (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c1376 int hash_opt_idx = fbnic_get_rss_hash_idx(cmd->flow_type); in fbnic_get_rss_hash_opts() local
1379 if (hash_opt_idx < 0) in fbnic_get_rss_hash_opts()
1383 cmd->data = fbn->rss_flow_hash[hash_opt_idx]; in fbnic_get_rss_hash_opts()
1401 int hash_opt_idx; in fbnic_set_rss_hash_opts() local
1404 hash_opt_idx = fbnic_get_rss_hash_idx(cmd->flow_type); in fbnic_set_rss_hash_opts()
1405 if (hash_opt_idx < 0) in fbnic_set_rss_hash_opts()
1410 (hash_opt_idx > FBNIC_L4_HASH_OPT && in fbnic_set_rss_hash_opts()
1412 (hash_opt_idx > FBNIC_IP_HASH_OPT && in fbnic_set_rss_hash_opts()
1416 fbn->rss_flow_hash[hash_opt_idx] = cmd->data; in fbnic_set_rss_hash_opts()