src_mac 1364 drivers/infiniband/hw/bnxt_re/qplib_fp.c memcpy(qp->smac, sb->src_mac, 6); src_mac 2436 drivers/infiniband/hw/bnxt_re/qplib_fp.c memcpy(cqe->smac, hwcqe->src_mac, ETH_ALEN); src_mac 345 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); src_mac 346 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); src_mac 347 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); src_mac 397 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); src_mac 398 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); src_mac 399 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); src_mac 546 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 src_mac[3]; src_mac 1197 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 src_mac[3]; src_mac 1496 drivers/infiniband/hw/bnxt_re/roce_hsi.h __be16 src_mac[3]; src_mac 1546 drivers/infiniband/hw/bnxt_re/roce_hsi.h __be16 src_mac[3]; src_mac 2222 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 src_mac[3]; src_mac 2548 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le16 src_mac[3]; src_mac 2729 drivers/infiniband/hw/mlx5/main.c ib_spec->eth.mask.src_mac); src_mac 2732 drivers/infiniband/hw/mlx5/main.c ib_spec->eth.val.src_mac); src_mac 357 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c static void bnxt_vf_rep_eth_addr_gen(u8 *src_mac, u16 vf_idx, u8 *mac) src_mac 361 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c ether_addr_copy(mac, src_mac); src_mac 363 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c addr = jhash(src_mac, ETH_ALEN, 0) + vf_idx; src_mac 181 drivers/net/ethernet/brocade/bna/bfa_defs_cna.h u8 src_mac[ETH_ALEN]; src_mac 239 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u8 src_mac[6]; src_mac 548 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 src_mac[6]; src_mac 58 drivers/net/ethernet/chelsio/cxgb4/smt.c memset(&s->smtab[i].src_mac, 0, ETH_ALEN); src_mac 79 drivers/net/ethernet/chelsio/cxgb4/smt.c if (memcmp(e->src_mac, smac, ETH_ALEN) == 0) src_mac 163 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(req->src_mac1, e->src_mac, ETH_ALEN); src_mac 169 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(req->src_mac0, s->smtab[e->idx - 1].src_mac, src_mac 173 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(req->src_mac0, e->src_mac, ETH_ALEN); src_mac 179 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(req->src_mac1, s->smtab[e->idx + 1].src_mac, src_mac 194 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(req->src_mac0, s->smtab[e->idx].src_mac, ETH_ALEN); src_mac 222 drivers/net/ethernet/chelsio/cxgb4/smt.c memcpy(e->src_mac, smac, ETH_ALEN); src_mac 61 drivers/net/ethernet/chelsio/cxgb4/smt.h u8 src_mac[ETH_ALEN]; src_mac 4909 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.src_mac[i], src_mac 4910 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples.src_mac[i]); src_mac 4911 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c calc_y(key_y[ETH_ALEN - 1 - i], rule->tuples.src_mac[i], src_mac 4912 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples.src_mac[i]); src_mac 5468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ether_addr_copy(rule->tuples.src_mac, src_mac 5470 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ether_addr_copy(rule->tuples_mask.src_mac, src_mac 5912 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples.src_mac); src_mac 5917 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples_mask.src_mac); src_mac 594 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u8 src_mac[ETH_ALEN]; src_mac 271 drivers/net/ethernet/intel/i40e/i40e.h u8 src_mac[ETH_ALEN]; src_mac 7534 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(cld->inner_mac, filter->src_mac); src_mac 7647 drivers/net/ethernet/intel/i40e/i40e_main.c is_valid_ether_addr(filter->src_mac)) || src_mac 7649 drivers/net/ethernet/intel/i40e/i40e_main.c is_multicast_ether_addr(filter->src_mac))) src_mac 7667 drivers/net/ethernet/intel/i40e/i40e_main.c is_valid_ether_addr(filter->src_mac) || src_mac 7669 drivers/net/ethernet/intel/i40e/i40e_main.c is_multicast_ether_addr(filter->src_mac)) { src_mac 7817 drivers/net/ethernet/intel/i40e/i40e_main.c ether_addr_copy(filter->src_mac, match.key->src); src_mac 3206 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (mask.src_mac[0] & data.src_mac[0]) { src_mac 3207 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (is_broadcast_ether_addr(data.src_mac) || src_mac 3208 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c is_zero_ether_addr(data.src_mac)) { src_mac 3210 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, data.src_mac); src_mac 3359 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c cfilter.src_mac[i] = mask.src_mac[i] & tcf.src_mac[i]; src_mac 3418 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (!ether_addr_equal(cf->src_mac, cfilter.src_mac)) src_mac 3493 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c cfilter->src_mac[i] = mask.src_mac[i] & tcf.src_mac[i]; src_mac 2789 drivers/net/ethernet/intel/iavf/iavf_main.c vf->mask.tcp_spec.src_mac[i] |= 0xff; src_mac 2790 drivers/net/ethernet/intel/iavf/iavf_main.c ether_addr_copy(vf->data.tcp_spec.src_mac, src_mac 1040 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c &f->data.tcp_spec.src_mac, src_mac 1050 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c &f->data.tcp_spec.src_mac, src_mac 526 drivers/net/ethernet/mellanox/mlx4/en_netdev.c static void mlx4_en_u64_to_mac(unsigned char dst_mac[ETH_ALEN + 2], u64 src_mac) src_mac 530 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dst_mac[i] = src_mac & 0xff; src_mac 531 drivers/net/ethernet/mellanox/mlx4/en_netdev.c src_mac >>= 8; src_mac 850 drivers/net/ethernet/mellanox/mlx4/mcg.c memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); src_mac 954 drivers/net/ethernet/qlogic/qed/qed_fcoe.c con->src_mac_addr_hi = (conn_info->src_mac[5] << 8) | src_mac 955 drivers/net/ethernet/qlogic/qed/qed_fcoe.c conn_info->src_mac[4]; src_mac 956 drivers/net/ethernet/qlogic/qed/qed_fcoe.c con->src_mac_addr_mid = (conn_info->src_mac[3] << 8) | src_mac 957 drivers/net/ethernet/qlogic/qed/qed_fcoe.c conn_info->src_mac[2]; src_mac 958 drivers/net/ethernet/qlogic/qed/qed_fcoe.c con->src_mac_addr_lo = (conn_info->src_mac[1] << 8) | src_mac 959 drivers/net/ethernet/qlogic/qed/qed_fcoe.c conn_info->src_mac[0]; src_mac 1197 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 index, const u8 *src_mac, const u8 *dst_mac, src_mac 1207 drivers/net/ethernet/rocker/rocker_ofdpa.c if (src_mac) src_mac 1208 drivers/net/ethernet/rocker/rocker_ofdpa.c ether_addr_copy(entry->l3_unicast.eth_src, src_mac); src_mac 1199 drivers/net/ethernet/via/via-velocity.h u8 src_mac[ETH_ALEN]; src_mac 1214 drivers/net/ethernet/via/via-velocity.h u8 src_mac[6]; src_mac 1289 drivers/net/vxlan.c union vxlan_addr *src_ip, const u8 *src_mac, src_mac 1302 drivers/net/vxlan.c f = vxlan_find_mac(vxlan, src_mac, vni); src_mac 1317 drivers/net/vxlan.c src_mac, &rdst->remote_ip.sa, &src_ip->sa); src_mac 1323 drivers/net/vxlan.c u32 hash_index = fdb_head_index(vxlan, src_mac, vni); src_mac 1330 drivers/net/vxlan.c vxlan_fdb_update(vxlan, src_mac, src_ip, src_mac 1189 drivers/net/wireless/ath/wil6210/wmi.c evt->src_mac, vif->mid); src_mac 1191 drivers/net/wireless/ath/wil6210/wmi.c cid = wil_find_cid(wil, vif->mid, evt->src_mac); src_mac 1208 drivers/net/wireless/ath/wil6210/wmi.c ether_addr_copy(eth->h_source, evt->src_mac); src_mac 2279 drivers/net/wireless/ath/wil6210/wmi.h u8 src_mac[WMI_MAC_LEN]; src_mac 287 drivers/s390/net/qeth_core.h u8 src_mac[6]; src_mac 1349 drivers/s390/net/qeth_l3_main.c tg_addr, &hdr->hdr.l3.next_hop.rx.src_mac, src_mac 1377 drivers/scsi/bfa/bfa_defs_svc.h mac_t src_mac; src_mac 1273 drivers/scsi/qedf/qedf_main.c ether_addr_copy(conn_info.src_mac, qedf->data_src_addr); src_mac 492 drivers/scsi/qedi/qedi_iscsi.c ether_addr_copy(conn_info->src.mac, qedi_ep->src_mac); src_mac 1232 drivers/scsi/qedi/qedi_iscsi.c ether_addr_copy(&qedi_ep->src_mac[0], &qedi->mac[0]); src_mac 72 drivers/scsi/qedi/qedi_iscsi.h u8 src_mac[ETH_ALEN]; src_mac 537 include/linux/avf/virtchnl.h u8 src_mac[ETH_ALEN]; src_mac 1214 include/linux/mlx4/device.h u8 src_mac[ETH_ALEN]; src_mac 1309 include/linux/mlx4/device.h u8 src_mac[6]; src_mac 40 include/linux/qed/qed_fcoe_if.h u8 src_mac[ETH_ALEN]; src_mac 1859 include/rdma/ib_verbs.h u8 src_mac[6]; src_mac 913 include/uapi/rdma/ib_user_verbs.h __u8 src_mac[6]; src_mac 363 net/core/pktgen.c unsigned char src_mac[ETH_ALEN]; src_mac 595 net/core/pktgen.c is_zero_ether_addr(pkt_dev->src_mac) ? src_mac 596 net/core/pktgen.c pkt_dev->odev->dev_addr : pkt_dev->src_mac); src_mac 1447 net/core/pktgen.c if (!mac_pton(valstr, pkt_dev->src_mac)) src_mac 1450 net/core/pktgen.c ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); src_mac 1452 net/core/pktgen.c sprintf(pg_result, "OK: srcmac %pM", pkt_dev->src_mac); src_mac 2053 net/core/pktgen.c if (is_zero_ether_addr(pkt_dev->src_mac)) src_mac 2315 net/core/pktgen.c tmp = pkt_dev->src_mac[5] + (mc & 0xFF); src_mac 2317 net/core/pktgen.c tmp = (pkt_dev->src_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); src_mac 2319 net/core/pktgen.c tmp = (pkt_dev->src_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); src_mac 2321 net/core/pktgen.c tmp = (pkt_dev->src_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); src_mac 2323 net/core/pktgen.c tmp = (pkt_dev->src_mac[1] + (tmp >> 8)); src_mac 112 samples/bpf/xdp_router_ipv4_kern.c __be64 *dest_mac = NULL, *src_mac = NULL; src_mac 148 samples/bpf/xdp_router_ipv4_kern.c src_mac = &direct_entry->mac; src_mac 161 samples/bpf/xdp_router_ipv4_kern.c src_mac = &prefix_value->value; src_mac 162 samples/bpf/xdp_router_ipv4_kern.c if (!src_mac) src_mac 176 samples/bpf/xdp_router_ipv4_kern.c if (src_mac && dest_mac) { src_mac 177 samples/bpf/xdp_router_ipv4_kern.c set_src_dst_mac(data, src_mac, dest_mac);