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

/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c181 u16 ethtype_key, ethtype_mask; local
184 ethtype_key = ntohs(match.key->n_proto);
187 if (ethtype_key == ETH_P_ALL) {
188 ethtype_key = 0;
192 if (ethtype_key == ETH_P_IPV6)
195 fs->val.ethtype = ethtype_key;
313 u16 ethtype_key = 0; local
333 ethtype_key = ntohs(match.key->n_proto);
338 u16 eth_ip_type = ethtype_key & ethtype_mask;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c7128 u16 ethtype_key, ethtype_mask; local
7131 ethtype_key = ntohs(match.key->n_proto);
7134 if (ethtype_key == ETH_P_ALL) {
7135 ethtype_key = 0;
7138 rule->tuples.ether_proto = ethtype_key;

Completed in 156 milliseconds