Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c181 u16 ethtype_key, ethtype_mask; in cxgb4_process_flow_match() local
184 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() local
337 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()
342 u16 eth_ip_type = ethtype_key & ethtype_mask; in cxgb4_validate_flow_match()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7193 u16 ethtype_key, ethtype_mask; in hclge_get_cls_key_basic() local
7196 ethtype_key = ntohs(match.key->n_proto); in hclge_get_cls_key_basic()
7199 if (ethtype_key == ETH_P_ALL) { in hclge_get_cls_key_basic()
7200 ethtype_key = 0; in hclge_get_cls_key_basic()
7203 rule->tuples.ether_proto = ethtype_key; in hclge_get_cls_key_basic()