Lines Matching full:mac
29 * @list: pointer to the list which contains MAC filters entry
144 * ice_fltr_add_mac_list - add list of MAC filters
154 * ice_fltr_remove_mac_list - remove list of MAC filters
214 * ice_fltr_add_mac_to_list - add MAC filter info to exsisting list
217 * @mac: MAC address to add
222 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument
232 ether_addr_copy(info.l_data.mac.mac_addr, mac); in ice_fltr_add_mac_to_list()
294 * ice_fltr_prepare_mac - add or remove MAC rule
296 * @mac: MAC address to add
298 * @mac_action: pointer to add or remove MAC function
301 ice_fltr_prepare_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac() argument
308 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac()
319 * ice_fltr_prepare_mac_and_broadcast - add or remove MAC and broadcast filter
321 * @mac: MAC address to add
323 * @mac_action: pointer to add or remove MAC function
326 ice_fltr_prepare_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_prepare_mac_and_broadcast() argument
336 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast()
393 * ice_fltr_add_mac - add single MAC filter
395 * @mac: MAC to add
398 int ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac() argument
401 return ice_fltr_prepare_mac(vsi, mac, action, ice_fltr_add_mac_list); in ice_fltr_add_mac()
405 * ice_fltr_add_mac_and_broadcast - add single MAC and broadcast
407 * @mac: MAC to add
411 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_add_mac_and_broadcast() argument
414 return ice_fltr_prepare_mac_and_broadcast(vsi, mac, action, in ice_fltr_add_mac_and_broadcast()
419 * ice_fltr_remove_mac - remove MAC filter
421 * @mac: filter MAC to remove
424 int ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, in ice_fltr_remove_mac() argument
427 return ice_fltr_prepare_mac(vsi, mac, action, ice_fltr_remove_mac_list); in ice_fltr_remove_mac()