Searched refs:ethtype_key (Results 1 – 2 of 2) sorted by relevance
170 u16 ethtype_key, ethtype_mask; in cxgb4_process_flow_match() local173 ethtype_key = ntohs(match.key->n_proto); in cxgb4_process_flow_match()176 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()177 ethtype_key = 0; in cxgb4_process_flow_match()181 if (ethtype_key == ETH_P_IPV6) in cxgb4_process_flow_match()184 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match()302 u16 ethtype_key = 0; in cxgb4_validate_flow_match() local323 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()328 u16 eth_ip_type = ethtype_key & ethtype_mask; in cxgb4_validate_flow_match()
7214 u16 ethtype_key, ethtype_mask; in hclge_get_cls_key_basic() local7217 ethtype_key = ntohs(match.key->n_proto); in hclge_get_cls_key_basic()7220 if (ethtype_key == ETH_P_ALL) { in hclge_get_cls_key_basic()7221 ethtype_key = 0; in hclge_get_cls_key_basic()7224 rule->tuples.ether_proto = ethtype_key; in hclge_get_cls_key_basic()