Home
last modified time | relevance | path

Searched refs:ether_addr_to_u64 (Results 1 – 22 of 22) sorted by relevance

/linux/include/linux/
H A Detherdevice.h464 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() function
497 u64 u = ether_addr_to_u64(addr); in eth_addr_dec()
509 u64 u = ether_addr_to_u64(addr); in eth_addr_inc()
523 u64 u = ether_addr_to_u64(addr); in eth_addr_add()
607 u64 u = ether_addr_to_u64(base_addr); in eth_hw_addr_gen()
/linux/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_err.c20 addr = ether_addr_to_u64(filter->mac_table[i].addr); in hbg_restore_mac_table()
30 u64 rx_pause_addr = ether_addr_to_u64(priv->filter.mac_table[0].addr); in hbg_restore_user_def_settings()
/linux/drivers/infiniband/hw/irdma/
H A Duda.c30 set_64bit_val(wqe, 0, ether_addr_to_u64(info->mac_addr) << 16); in irdma_sc_access_ah()
138 set_64bit_val(wqe, 0, ether_addr_to_u64(info->dest_mac_addr)); in irdma_access_mcast_grp()
/linux/net/dsa/
H A Dtag_sja1105.c81 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_link_local()
127 u64 smac = ether_addr_to_u64(hdr->h_source); in sja1105_is_meta_frame()
128 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_meta_frame()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c884 addr1 = ether_addr_to_u64(priv->mda_filters[i].addr); in bcmasp_combine_set_filter()
885 mask1 = ether_addr_to_u64(priv->mda_filters[i].mask); in bcmasp_combine_set_filter()
886 addr2 = ether_addr_to_u64(addr); in bcmasp_combine_set_filter()
887 mask2 = ether_addr_to_u64(mask); in bcmasp_combine_set_filter()
/linux/drivers/s390/net/
H A Dqeth_l2_main.c126 ether_addr_to_u64(mac), CARD_DEVID(card)); in qeth_l2_write_mac()
129 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_write_mac()
143 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_remove_mac()
657 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify()
663 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify()
763 QETH_CARD_TEXT_(card, 4, "ma%012llx", ether_addr_to_u64(addr)); in qeth_l2_br2dev_worker()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c1515 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin()
1554 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add()
1597 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1654 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add()
1745 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del()
2614 mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); in sja1105_mgmt_xmit()
H A Dsja1105_flower.c251 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
H A Dsja1105_dynamic_config.c1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c650 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_get_qp()
689 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_put_qp()
707 u64 new_mac_u64 = ether_addr_to_u64(new_mac); in mlx4_en_replace_mac()
714 u64 prev_mac_u64 = ether_addr_to_u64(prev_mac); in mlx4_en_replace_mac()
1083 mcast_addr = ether_addr_to_u64(mclist->addr); in mlx4_en_do_multicast()
1176 mac = ether_addr_to_u64(entry->mac); in mlx4_en_do_uc_filter()
1219 mac = ether_addr_to_u64(ha->addr); in mlx4_en_do_uc_filter()
1355 mac = ether_addr_to_u64(entry->mac); in mlx4_en_delete_rss_steer_rules()
H A Dfw.c3108 dev->caps.def_mac[i] = ether_addr_to_u64(mac_addr); in mlx4_replace_zero_macs()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c1075 u64 dmac_mask = ether_addr_to_u64(mask->dmac); in npc_update_flow()
1076 u64 smac_mask = ether_addr_to_u64(mask->smac); in npc_update_flow()
1077 u64 dmac_val = ether_addr_to_u64(pkt->dmac); in npc_update_flow()
1078 u64 smac_val = ether_addr_to_u64(pkt->smac); in npc_update_flow()
2002 ether_addr_to_u64(pfvf->mac_addr), 0, in npc_update_dmac_value()
/linux/net/bridge/
H A Dbr_mrp.c952 ether_addr_to_u64(hdr->sa) < ether_addr_to_u64(br->dev->dev_addr))) in br_mrp_test_better_than_own()
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_main.c85 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c947 ether_addr_to_u64(saddr->sa_data)); in fun_set_macaddr()
1013 ether_addr_to_u64(netdev->dev_addr)); in fun_get_port_attributes()
1218 mac_param.u.mac = FUN_ADI_MAC_INIT(ether_addr_to_u64(mac)); in fun_set_vf_mac()
/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c677 mac_address = ether_addr_to_u64(netdev->dev_addr); in ibmveth_open()
1617 mcast_addr = ether_addr_to_u64(ha->addr); in ibmveth_set_multicast_list()
1747 mac_address = ether_addr_to_u64(addr->sa_data); in ibmveth_set_mac_addr()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c955 old_mac_addr = ether_addr_to_u64(priv->curr_addr); in mwifiex_set_mac_address()
958 mac_addr = ether_addr_to_u64(new_mac); in mwifiex_set_mac_address()
/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh1077 ether_addr_to_u64()
2285 local tmp=$(ether_addr_to_u64 $mac_addr)
949 ether_addr_to_u64() global() function
/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
H A Dnicvf_main.c2063 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()
/linux/drivers/net/dsa/b53/
H A Db53_common.c1964 mac = ether_addr_to_u64(addr); in b53_arl_op()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c50 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()