Lines Matching refs:mac_addr
178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl()
179 ARRAY_SIZE(entry->mac_addr)); in opa_vnic_query_mac_tbl()
229 u8 *mac_addr = entry->mac_addr; in opa_vnic_update_mac_tbl() local
233 loffset + i, mac_addr[0], mac_addr[1], mac_addr[2], in opa_vnic_update_mac_tbl()
234 mac_addr[3], mac_addr[4], mac_addr[5], in opa_vnic_update_mac_tbl()
238 if (!memcmp(mac_addr, empty_mac, ARRAY_SIZE(empty_mac))) in opa_vnic_update_mac_tbl()
249 memcpy(nentry->mac_addr, entry->mac_addr, in opa_vnic_update_mac_tbl()
250 ARRAY_SIZE(nentry->mac_addr)); in opa_vnic_update_mac_tbl()
254 key = node->entry.mac_addr[OPA_VNIC_MAC_HASH_IDX]; in opa_vnic_update_mac_tbl()
276 key = new_node->entry.mac_addr[OPA_VNIC_MAC_HASH_IDX]; in opa_vnic_update_mac_tbl()
319 if (!memcmp(node->entry.mac_addr, mac_hdr->h_dest, in opa_vnic_chk_mac_tbl()
320 ARRAY_SIZE(node->entry.mac_addr))) { in opa_vnic_chk_mac_tbl()