Lines Matching refs:mac
1819 if (ether_addr_equal(hw->mac.addr, addr->sa_data)) in i40e_set_mac()
1821 hw->mac.addr); in i40e_set_mac()
12813 if (pf->hw.mac.type == I40E_MAC_X722) { in i40e_sw_init()
12844 if ((pf->hw.mac.type == I40E_MAC_XL710) && in i40e_sw_init()
12853 if ((pf->hw.mac.type == I40E_MAC_XL710) && in i40e_sw_init()
12859 if ((pf->hw.mac.type == I40E_MAC_XL710) && in i40e_sw_init()
12865 if (pf->hw.mac.type == I40E_MAC_XL710 && in i40e_sw_init()
12885 if (pf->hw.mac.type == I40E_MAC_XL710 && in i40e_sw_init()
12918 if (pf->hw.mac.type != I40E_MAC_X722 && in i40e_sw_init()
13126 ppid->id_len = min_t(int, sizeof(hw->mac.port_addr), sizeof(ppid->id)); in i40e_get_phys_port_id()
13127 memcpy(ppid->id, hw->mac.port_addr, ppid->id_len); in i40e_get_phys_port_id()
13845 ether_addr_copy(mac_addr, hw->mac.perm_addr); in i40e_config_netdev()
14422 i40e_rm_default_mac_filter(vsi, pf->hw.mac.perm_addr); in i40e_vsi_reinit_setup()
15428 if (eth_platform_get_mac_address(&pdev->dev, pf->hw.mac.addr)) in i40e_get_platform_mac_addr()
15429 i40e_get_mac_addr(&pf->hw, pf->hw.mac.addr); in i40e_get_platform_mac_addr()
15938 if (!is_valid_ether_addr(hw->mac.addr)) { in i40e_probe()
15939 dev_info(&pdev->dev, "invalid MAC address %pM\n", hw->mac.addr); in i40e_probe()
15943 dev_info(&pdev->dev, "MAC address: %pM\n", hw->mac.addr); in i40e_probe()
15944 ether_addr_copy(hw->mac.perm_addr, hw->mac.addr); in i40e_probe()
15945 i40e_get_port_mac_addr(hw, hw->mac.port_addr); in i40e_probe()
15946 if (is_valid_ether_addr(hw->mac.port_addr)) in i40e_probe()
16567 ether_addr_copy(mac_addr, hw->mac.addr); in i40e_enable_mc_magic_wake()