Searched refs:ethtype_key (Results 1 – 2 of 2) sorted by relevance
181 u16 ethtype_key, ethtype_mask; in cxgb4_process_flow_match() local184 ethtype_key = ntohs(match.key->n_proto); in cxgb4_process_flow_match()187 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()188 ethtype_key = 0; in cxgb4_process_flow_match()192 if (ethtype_key == ETH_P_IPV6) in cxgb4_process_flow_match()195 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match()313 u16 ethtype_key = 0; in cxgb4_validate_flow_match() local333 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()338 u16 eth_ip_type = ethtype_key & ethtype_mask; in cxgb4_validate_flow_match()
7113 u16 ethtype_key, ethtype_mask; in hclge_get_cls_key_basic() local7116 ethtype_key = ntohs(match.key->n_proto); in hclge_get_cls_key_basic()7119 if (ethtype_key == ETH_P_ALL) { in hclge_get_cls_key_basic()7120 ethtype_key = 0; in hclge_get_cls_key_basic()7123 rule->tuples.ether_proto = ethtype_key; in hclge_get_cls_key_basic()