Home
last modified time | relevance | path

Searched refs:is_valid_ether_addr (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/openbmc/linux/net/core/
H A Dof_net.c54 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr()
88 if (len != ETH_ALEN || !is_valid_ether_addr(mac)) { in of_get_mac_address_nvmem()
/openbmc/linux/net/ethernet/
H A Deth.c283 if (!is_valid_ether_addr(addr->sa_data)) in eth_prepare_mac_addr_change()
326 if (!is_valid_ether_addr(dev->dev_addr)) in eth_validate_addr()
553 if (len != ETH_ALEN || !is_valid_ether_addr(mac)) { in nvmem_get_mac_address()
573 if (!is_valid_ether_addr(addr)) in fwnode_get_mac_addr()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_dev.c39 if (!is_valid_ether_addr(enic->netdev->dev_addr)) in enic_dev_add_station_addr()
53 if (!is_valid_ether_addr(enic->netdev->dev_addr)) in enic_dev_del_station_addr()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c193 if (is_valid_ether_addr(vf->mac_addr)) in bnxt_get_vf_config()
501 if (is_valid_ether_addr(vf->mac_addr)) { in __bnxt_set_vf_params()
1023 if (is_valid_ether_addr(req->dflt_mac_addr) && in bnxt_vf_configure_mac()
1024 (trust || !is_valid_ether_addr(vf->mac_addr) || in bnxt_vf_configure_mac()
1041 if (!is_valid_ether_addr((const u8 *)req->l2_addr)) in bnxt_vf_validate_set_mac()
1051 } else if (is_valid_ether_addr(vf->mac_addr)) { in bnxt_vf_validate_set_mac()
1054 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac()
1179 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_approve_mac()
1230 if (!is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_update_vf_mac()
1235 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_update_vf_mac()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_vf.c25 if (is_valid_ether_addr(perm_addr)) { in fm10k_stop_hw_vf()
283 if (!is_valid_ether_addr(mac)) in fm10k_update_uc_addr_vf()
287 if (is_valid_ether_addr(hw->mac.perm_addr) && in fm10k_update_uc_addr_vf()
H A Dfm10k_iov.c97 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_queue_mac_vlan()
578 if (!is_zero_ether_addr(mac) && !is_valid_ether_addr(mac)) in fm10k_ndo_set_vf_mac()
/openbmc/linux/drivers/staging/most/net/
H A Dnet.c207 if (is_valid_ether_addr(dev->dev_addr)) in most_nd_open()
564 if (m && is_valid_ether_addr(m)) { in on_netinfo()
565 if (!is_valid_ether_addr(dev->dev_addr)) { in on_netinfo()
/openbmc/linux/drivers/nvmem/layouts/
H A Dsl28vpd.c34 if (!is_valid_ether_addr(buf)) in sl28vpd_mac_address_pp()
/openbmc/linux/arch/mips/alchemy/common/
H A Dplatform.c421 if (!i && !is_valid_ether_addr(au1xxx_eth0_platform_data.mac)) in alchemy_setup_macs()
442 if (!i && !is_valid_ether_addr(au1xxx_eth1_platform_data.mac)) in alchemy_setup_macs()
/openbmc/linux/drivers/net/
H A Ddummy.c138 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in dummy_validate()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address()
89 if (is_valid_ether_addr(eth_addr)) { in atl1e_get_permanent_address()
/openbmc/linux/drivers/net/bonding/
H A Dbond_alb.c399 if (is_valid_ether_addr(rx_hash_table[index].mac_dst)) { in rlb_clear_slave()
428 if (!client_info->slave || !is_valid_ether_addr(client_info->mac_dst)) in rlb_update_client()
503 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_slave_clients()
544 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_subnet_clients()
621 if (is_valid_ether_addr(client_info->mac_dst)) { in rlb_choose_channel()
1795 if (!is_valid_ether_addr(ss->__data)) in bond_alb_set_mac_address()
/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_driver.c157 if (is_valid_ether_addr(mac->mac_addr)) { in spl2sw_ethernet_set_mac_address()
251 if (!is_valid_ether_addr(mac)) { in spl2sw_nvmem_get_mac_address()
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.c69 if (!is_valid_ether_addr(addr->sa_data)) in atlx_set_mac()
/openbmc/u-boot/board/tcl/sl50/
H A Dboard.c374 if (is_valid_ether_addr(mac_addr)) in board_eth_init()
/openbmc/linux/net/batman-adv/
H A Drouting.c194 if (!is_valid_ether_addr(ethhdr->h_source)) in batadv_check_management_packet()
356 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet()
453 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet()
/openbmc/linux/drivers/net/usb/
H A Ddm9601.c334 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address()
399 if (is_valid_ether_addr(mac)) in dm9601_bind()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c600 if (is_valid_ether_addr(ndev->dev_addr)) { in wilc_mac_open()
609 if (!is_valid_ether_addr(ndev->dev_addr)) { in wilc_mac_open()
645 if (!is_valid_ether_addr(addr->sa_data)) in wilc_set_mac_addr()
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c355 if (!is_valid_ether_addr(data.eth.h_source) || in mtk_flow_offload_replace()
356 !is_valid_ether_addr(data.eth.h_dest)) in mtk_flow_offload_replace()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpno.c381 if (!err && is_valid_ether_addr(ms->bssid)) in brcmf_pno_config_networks()
586 if (is_valid_ether_addr(ms->bssid) && in brcmf_pno_get_bucket_map()
/openbmc/linux/Documentation/networking/
H A Ddriver.rst15 linux/etherdevice.h:is_valid_ether_addr()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_vf.c83 if (!is_valid_ether_addr(saddr->sa_data)) in enetc_vf_set_mac_addr()
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dmain.c1353 if (!is_valid_ether_addr(mac)) { in wil_get_bl_info()
1360 if (!is_valid_ether_addr(ndev->dev_addr)) in wil_get_bl_info()
1414 if (is_valid_ether_addr(mac)) { in wil_get_otp_info()
1426 if (!is_valid_ether_addr(mac)) { in wil_get_otp_info()
1433 if (!is_valid_ether_addr(ndev->dev_addr)) in wil_get_otp_info()
/openbmc/linux/drivers/net/ethernet/wiznet/
H A Dw5300.c473 if (!is_valid_ether_addr(sock_addr->sa_data)) in w5300_set_macaddr()
536 if (data && is_valid_ether_addr(data->mac_addr)) { in w5300_hw_probe()
/openbmc/linux/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c329 if (is_valid_ether_addr(dev->dev_addr) && data->txfree) in tsi108_check_phy()
627 if (is_valid_ether_addr(dev->dev_addr) && data->link_up) in tsi108_complete_tx()
1115 if (!is_valid_ether_addr(dev->dev_addr)) { in tsi108_get_mac()
1130 if (!is_valid_ether_addr(addr)) in tsi108_set_mac()

12345678910>>...13