Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c99 u16 ethtype_key, ethtype_mask; in cxgb4_process_flow_match() local
102 ethtype_key = ntohs(match.key->n_proto); in cxgb4_process_flow_match()
105 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
106 ethtype_key = 0; in cxgb4_process_flow_match()
110 if (ethtype_key == ETH_P_IPV6) in cxgb4_process_flow_match()
113 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match()
232 u16 ethtype_key = 0; in cxgb4_validate_flow_match() local
252 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()
257 u16 eth_ip_type = ethtype_key & ethtype_mask; in cxgb4_validate_flow_match()