Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c170 u16 ethtype_key, ethtype_mask; in cxgb4_process_flow_match() local
173 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() local
323 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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c7214 u16 ethtype_key, ethtype_mask; in hclge_get_cls_key_basic() local
7217 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()