Searched refs:hash_fields (Results 1 – 4 of 4) sorted by relevance
457 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument461 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()464 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()467 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()470 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()473 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()479 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument483 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()486 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()489 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()[all …]
2262 u16 hash_fields) in ena_com_fill_hash_ctrl() argument2281 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()2283 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()2286 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
696 u16 hash_fields);
2036 static const struct dpaa2_eth_hash_fields hash_fields[] = { variable2089 for (i = 0; i < ARRAY_SIZE(hash_fields); i++) { in dpaa2_eth_set_hash()2093 if (!(flags & hash_fields[i].rxnfc_field)) in dpaa2_eth_set_hash()2102 key->extract.from_hdr.prot = hash_fields[i].cls_prot; in dpaa2_eth_set_hash()2104 key->extract.from_hdr.field = hash_fields[i].cls_field; in dpaa2_eth_set_hash()2107 priv->rx_hash_fields |= hash_fields[i].rxnfc_field; in dpaa2_eth_set_hash()