Lines Matching defs:filter

366 	union qed_llh_filter filter;
478 if (!memcmp(p_filter, &p_filters[i].filter,
532 memcpy(&p_filters[filter_idx].filter, p_filter,
533 sizeof(p_filters[filter_idx].filter));
550 /* Check if the same filter already exist */
555 /* Find a new entry in case of a new filter */
565 "Failed to find an empty LLH filter to utilize [ppfid %d]\n",
589 "LLH shadow: trying to remove a filter with ref_cnt=0\n");
613 /* No matching filter was found */
615 DP_NOTICE(cdev, "Failed to find a filter in the LLH shadow\n");
719 "Failed to add an LLH filter with the primary MAC\n");
871 /* Filter enable - should be done first when removing a filter */
912 /* Filter enable - should be done last when adding a filter */
959 union qed_llh_filter filter = {};
970 memcpy(filter.mac.addr, mac_addr, ETH_ALEN);
973 &filter, &filter_idx, &ref_cnt);
977 /* Configure the LLH only in case of a new the filter */
994 "LLH: Added MAC filter [%pM] to ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n",
1000 "LLH: Failed to add MAC filter [%pM] to ppfid %hhd\n",
1043 "Non valid LLH protocol filter type %d\n", type);
1077 "Non valid LLH protocol filter type %d\n", type);
1093 union qed_llh_filter filter = {};
1109 filter.protocol.type = type;
1110 filter.protocol.source_port_or_eth_type = source_port_or_eth_type;
1111 filter.protocol.dest_port = dest_port;
1115 &filter, &filter_idx, &ref_cnt);
1123 /* Configure the LLH only in case of a new the filter */
1140 "LLH: Added protocol filter [%s] to ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n",
1146 "LLH: Failed to add protocol filter [%s] to ppfid %hhd\n",
1159 union qed_llh_filter filter = {};
1173 ether_addr_copy(filter.mac.addr, mac_addr);
1174 rc = qed_llh_shadow_remove_filter(cdev, ppfid, &filter, &filter_idx,
1183 /* Remove from the LLH in case the filter is not in use */
1193 "LLH: Removed MAC filter [%pM] from ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n",
1199 "LLH: Failed to remove MAC filter [%pM] from ppfid %hhd\n",
1213 union qed_llh_filter filter = {};
1229 filter.protocol.type = type;
1230 filter.protocol.source_port_or_eth_type = source_port_or_eth_type;
1231 filter.protocol.dest_port = dest_port;
1232 rc = qed_llh_shadow_remove_filter(cdev, ppfid, &filter, &filter_idx,
1241 /* Remove from the LLH in case the filter is not in use */
1251 "LLH: Removed protocol filter [%s] from ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n",
1257 "LLH: Failed to remove protocol filter [%s] from ppfid %hhd\n",