Home
last modified time | relevance | path

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

/linux-6.6.21/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
333 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()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7113 u16 ethtype_key, ethtype_mask; in hclge_get_cls_key_basic() local
7116 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()