Lines Matching defs:mac
2516 memcpy(mcast->mac, mac_addr, ETH_ALEN);
3839 unsigned char mac[ETHER_ADDR_LEN];
3848 if (ecore_vf_bulletin_get_forced_mac(p_hwfn, mac, &p_is_forced) ==
3852 p_is_forced, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
3853 memcpy(ha->primary_mac, mac, ETH_ALEN);
7061 unsigned char mac[ETH_ALEN])
7075 memcpy(&ucast.mac[0], mac, ETH_ALEN);
7120 memcpy(&mcast->mac[i][0], &ha->mcast[i].addr[0], ETH_ALEN);
7376 /* Add primary mac and set Rx filters */
7827 /* Clear the VF mac */
7861 memcpy(params->mac, vf->forced_mac, ETH_ALEN);
8023 pci_iov_schema_add_unicast_mac(vf_schema, "mac-addr", 0, NULL);
8024 pci_iov_schema_add_bool(vf_schema, "allow-set-mac",
8240 unsigned const char *mac;
8258 if (nvlist_exists_binary(params, "mac-addr")) {
8259 mac = nvlist_get_binary(params, "mac-addr", &size);
8260 bcopy(mac, vf_attr->mac_addr, ETHER_ADDR_LEN);