Lines Matching defs:filter

1544 		/* add VID to filter table */
1554 /* remove VID from filter table */
2519 /* guarantee we can provide a unique filter for the unicast address */
2637 input->filter.match_flags |=
2639 ether_addr_copy(input->filter.dst_addr, match.key->dst);
2648 input->filter.match_flags |=
2650 ether_addr_copy(input->filter.src_addr, match.key->src);
2660 NL_SET_ERR_MSG_MOD(extack, "Only full mask is supported for EtherType filter");
2664 input->filter.match_flags |= IGB_FILTER_FLAG_ETHER_TYPE;
2665 input->filter.etype = match.key->n_proto;
2679 input->filter.match_flags |= IGB_FILTER_FLAG_VLAN_TCI;
2680 input->filter.vlan_tci =
2695 struct igb_nfc_filter *filter, *f;
2704 filter = kzalloc(sizeof(*filter), GFP_KERNEL);
2705 if (!filter)
2708 err = igb_parse_cls_flower(adapter, cls_flower, tc, filter);
2715 if (!memcmp(&f->filter, &filter->filter, sizeof(f->filter))) {
2718 "This filter is already set in ethtool");
2724 if (!memcmp(&f->filter, &filter->filter, sizeof(f->filter))) {
2727 "This filter is already set in cls_flower");
2732 err = igb_add_filter(adapter, filter);
2734 NL_SET_ERR_MSG_MOD(extack, "Could not add filter to the adapter");
2738 hlist_add_head(&filter->nfc_node, &adapter->cls_flower_list);
2748 kfree(filter);
2756 struct igb_nfc_filter *filter;
2761 hlist_for_each_entry(filter, &adapter->cls_flower_list, nfc_node)
2762 if (filter->cookie == cls_flower->cookie)
2765 if (!filter) {
2770 err = igb_erase_filter(adapter, filter);
2774 hlist_del(&filter->nfc_node);
2775 kfree(filter);
3812 "Unable to allocate memory for VF MAC filter list\n");
5151 /* VLAN filtering needed for VLAN prio filter */
5184 /* Set all bits in the VLAN filter table array */
5288 /* enable use of UTA filter to force packets to default pool */
7349 /* Find the vlan filter for this id */
7417 /* See if any other pools are set for this VLAN filter
7424 /* Disable the filter so this falls into the default pool. */
7678 /* If the filter to be added and an already existing filter express
7699 /* Add a MAC filter for 'addr' directing matching traffic to 'queue',
7742 /* Remove a MAC filter for 'addr' directing matching traffic to
7774 /* When a filter for the default address is "deleted",
7854 "VF %d requested MAC filter but is administratively denied\n",
7860 "VF %d attempted to set invalid MAC filter\n",
7898 "VF %d has requested MAC filter but there is no space for it\n",
8066 * igb_set_uta - Set unicast filter table address
9262 /* add the filter since PF can receive vlans w/o entry in vlvf */
9278 /* remove VID from filter table */