Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Detherdevice.h463 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() function
496 u64 u = ether_addr_to_u64(addr); in eth_addr_dec()
508 u64 u = ether_addr_to_u64(addr); in eth_addr_inc()
522 u64 u = ether_addr_to_u64(addr); in eth_addr_add()
606 u64 u = ether_addr_to_u64(base_addr); in eth_hw_addr_gen()
/linux/drivers/infiniband/hw/irdma/
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()
A Dctrl.c193 set_64bit_val(wqe, 16, ether_addr_to_u64(info->mac_addr)); in irdma_sc_add_arp_cache_entry()
314 set_64bit_val(wqe, 0, ether_addr_to_u64(info->mac_addr)); in irdma_sc_manage_qhash_table_entry()
719 set_64bit_val(qp_ctx, 152, ether_addr_to_u64(roce_info->mac_addr) << 16); in irdma_sc_qp_setctx_roce()
806 set_64bit_val(wqe, 32, ether_addr_to_u64(info->mac_addr)); in irdma_sc_add_local_mac_entry()
938 mac = ether_addr_to_u64(iw->mac_addr); in irdma_sc_qp_setctx()
/linux/net/dsa/
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/s390/net/
A Dqeth_l2_main.c125 ether_addr_to_u64(mac), CARD_DEVID(card)); in qeth_l2_write_mac()
128 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_write_mac()
142 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_remove_mac()
656 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify()
662 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify()
762 QETH_CARD_TEXT_(card, 4, "ma%012llx", ether_addr_to_u64(addr)); in qeth_l2_br2dev_worker()
/linux/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp.c883 addr1 = ether_addr_to_u64(priv->mda_filters[i].addr); in bcmasp_combine_set_filter()
884 mask1 = ether_addr_to_u64(priv->mda_filters[i].mask); in bcmasp_combine_set_filter()
885 addr2 = ether_addr_to_u64(addr); in bcmasp_combine_set_filter()
886 mask2 = ether_addr_to_u64(mask); in bcmasp_combine_set_filter()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_fs.c909 u64 dmac_mask = ether_addr_to_u64(mask->dmac); in npc_update_flow()
910 u64 smac_mask = ether_addr_to_u64(mask->smac); in npc_update_flow()
911 u64 dmac_val = ether_addr_to_u64(pkt->dmac); in npc_update_flow()
912 u64 smac_val = ether_addr_to_u64(pkt->smac); in npc_update_flow()
1629 ether_addr_to_u64(pfvf->mac_addr), 0, in npc_update_dmac_value()
A Dcgx.c246 cfg = ether_addr_to_u64(mac_addr); in cgx_lmac_addr_set()
313 cfg = ether_addr_to_u64(mac_addr); in cgx_lmac_addr_add()
396 cfg |= ether_addr_to_u64(mac_addr); in cgx_lmac_addr_update()
A Drvu_npc_hash.c403 u64 ldata = ether_addr_to_u64(mac); in rvu_exact_prepare_mdata()
591 u64 ldata = ether_addr_to_u64(mac_addr); in rvu_exact_prepare_table_entry()
/linux/drivers/net/ethernet/mellanox/mlx4/
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()
/linux/drivers/net/dsa/sja1105/
A Dsja1105_main.c1544 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin()
1583 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add()
1626 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1683 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add()
1774 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del()
2682 mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); in sja1105_mgmt_xmit()
A Dsja1105_flower.c251 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
A Dsja1105_dynamic_config.c1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
/linux/drivers/net/dsa/b53/
A Db53_priv.h300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
A Db53_common.c1680 mac = ether_addr_to_u64(addr); in b53_arl_op()
/linux/net/bridge/
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/
A Dmlxbf_gige_main.c85 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
/linux/drivers/net/ethernet/ibm/
A Dibmveth.c566 mac_address = ether_addr_to_u64(netdev->dev_addr); in ibmveth_open()
1469 mcast_addr = ether_addr_to_u64(ha->addr); in ibmveth_set_multicast_list()
1599 mac_address = ether_addr_to_u64(addr->sa_data); in ibmveth_set_mac_addr()
/linux/drivers/net/ethernet/fungible/funeth/
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()
1231 mac_param.u.mac = FUN_ADI_MAC_INIT(ether_addr_to_u64(mac)); in fun_set_vf_mac()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dmain.c980 old_mac_addr = ether_addr_to_u64(priv->curr_addr); in mwifiex_set_mac_address()
983 mac_addr = ether_addr_to_u64(new_mac); in mwifiex_set_mac_address()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dcn10k_macsec.c329 mac_da = ether_addr_to_u64(secy->netdev->dev_addr); in cn10k_mcs_write_rx_flowid()
596 mac_sa = ether_addr_to_u64(secy->netdev->dev_addr); in cn10k_mcs_write_tx_flowid()
/linux/tools/testing/selftests/net/forwarding/
A Dlib.sh2282 local tmp=$(ether_addr_to_u64 $mac_addr)
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_pf.c82 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()
/linux/drivers/net/ethernet/cavium/thunder/
A Dthunder_bgx.c343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
A Dnicvf_main.c2065 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()

Completed in 112 milliseconds

12