Lines Matching refs:key

1287 	u64 key;  in i40e_find_filter()  local
1292 key = i40e_addr_to_hkey(macaddr); in i40e_find_filter()
1293 hash_for_each_possible(vsi->mac_filter_hash, f, hlist, key) { in i40e_find_filter()
1312 u64 key; in i40e_find_mac() local
1317 key = i40e_addr_to_hkey(macaddr); in i40e_find_mac()
1318 hash_for_each_possible(vsi->mac_filter_hash, f, hlist, key) { in i40e_find_mac()
1626 u64 key; in i40e_add_filter() local
1648 key = i40e_addr_to_hkey(macaddr); in i40e_add_filter()
1649 hash_add(vsi->mac_filter_hash, &f->hlist, key); in i40e_add_filter()
2261 u64 key = i40e_addr_to_hkey(f->macaddr); in i40e_undo_del_filter_entries() local
2265 hash_add(vsi->mac_filter_hash, &f->hlist, key); in i40e_undo_del_filter_entries()
8594 filter->tenant_id = be32_to_cpu(match.key->keyid); in i40e_parse_cls_flower()
8601 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower()
8609 filter->ip_proto = match.key->ip_proto; in i40e_parse_cls_flower()
8637 ether_addr_copy(filter->dst_mac, match.key->dst); in i40e_parse_cls_flower()
8638 ether_addr_copy(filter->src_mac, match.key->src); in i40e_parse_cls_flower()
8656 filter->vlan_id = cpu_to_be16(match.key->vlan_id); in i40e_parse_cls_flower()
8663 addr_type = match.key->addr_type; in i40e_parse_cls_flower()
8694 filter->dst_ipv4 = match.key->dst; in i40e_parse_cls_flower()
8695 filter->src_ipv4 = match.key->src; in i40e_parse_cls_flower()
8706 if (ipv6_addr_loopback(&match.key->dst) || in i40e_parse_cls_flower()
8707 ipv6_addr_loopback(&match.key->src)) { in i40e_parse_cls_flower()
8716 memcpy(&filter->src_ipv6, &match.key->src.s6_addr32, in i40e_parse_cls_flower()
8718 memcpy(&filter->dst_ipv6, &match.key->dst.s6_addr32, in i40e_parse_cls_flower()
8746 filter->dst_port = match.key->dst; in i40e_parse_cls_flower()
8747 filter->src_port = match.key->src; in i40e_parse_cls_flower()