/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1033 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common() 1034 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common() 1035 qp->pri.smac = 0; in destroy_qp_common() 1038 if (qp->alt.smac) { in destroy_qp_common() 1039 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in destroy_qp_common() 1040 qp->alt.smac = 0; in destroy_qp_common() 1389 u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, in _mlx4_set_path() argument 1479 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path() 1480 smac_info->smac != smac) { in _mlx4_set_path() 1482 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path() [all …]
|
D | cq.c | 599 memcpy(&(wc->smac[0]), (char *)&hdr->tun.mac_31_0, 4); in use_tunnel_data() 600 memcpy(&(wc->smac[4]), (char *)&hdr->tun.slid_mac_47_32, 2); in use_tunnel_data() 863 memcpy(wc->smac, cqe->smac, ETH_ALEN); in mlx4_ib_poll_one()
|
D | mlx4_ib.h | 278 u64 smac; member
|
D | mad.c | 598 memcpy((char *)&tun_mad->hdr.mac_31_0, &(wc->smac[0]), 4); in mlx4_ib_send_to_slave() 599 memcpy((char *)&tun_mad->hdr.slid_mac_47_32, &(wc->smac[4]), 2); in mlx4_ib_send_to_slave() 1564 &ah_attr, wc->smac, vlan_id, &tunnel->mad); in mlx4_ib_multiplex_mad()
|
D | main.c | 2373 old_smac = qp->pri.smac; in mlx4_ib_update_qps() 2391 qp->pri.smac = new_smac; in mlx4_ib_update_qps()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_cm.c | 110 ether_addr_copy(qp->rqe_wr_id[qp->rq.gsi_cons].smac, params->smac); in qedr_ll2_rx_cb() 591 ether_addr_copy(wc[i].smac, qp->rqe_wr_id[qp->rq.cons].smac); in qedr_gsi_poll_cq()
|
D | qedr.h | 383 u8 smac[ETH_ALEN]; member
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 1981 u8 *smac; in hns_roce_v1_m_qp() local 2177 smac = (u8 *)hr_dev->dev_addr[port]; in hns_roce_v1_m_qp() 2179 smac[0], smac[1], smac[2], smac[3], smac[4], in hns_roce_v1_m_qp() 2180 smac[5]); in hns_roce_v1_m_qp() 2181 if ((dmac[0] == smac[0]) && (dmac[1] == smac[1]) && in hns_roce_v1_m_qp() 2182 (dmac[2] == smac[2]) && (dmac[3] == smac[3]) && in hns_roce_v1_m_qp() 2183 (dmac[4] == smac[4]) && (dmac[5] == smac[5])) { in hns_roce_v1_m_qp()
|
/drivers/infiniband/core/ |
D | addr.c | 780 int rdma_addr_find_smac_by_sgid(union ib_gid *sgid, u8 *smac, u16 *vlan_id) in rdma_addr_find_smac_by_sgid() argument 798 memcpy(smac, dev_addr.src_dev_addr, ETH_ALEN); in rdma_addr_find_smac_by_sgid()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 119 memcpy(ð.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr()
|
D | ocrdma_sli.h | 1895 u8 smac[6]; member 1901 u8 smac[6]; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 308 memcpy(fwr->sma, f->fs.smac, sizeof(fwr->sma)); in set_filter_wr()
|
D | cxgb4.h | 1010 uint8_t smac[ETH_ALEN]; /* new source MAC address */ member
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 469 u32 smac = readl(gp->regs + MAC_SMACHINE); in gem_rxmac_interrupt() local 471 netdev_err(dev, "RX MAC fifo overflow smac[%08x]\n", smac); in gem_rxmac_interrupt()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 2578 *((u32 *)¶ms.smac[0]) = ntohl(src_mac_addr_hi); in qed_ll2b_complete_rx_gsi_packet() 2579 *((u16 *)¶ms.smac[4]) = ntohs(src_mac_addr_lo); in qed_ll2b_complete_rx_gsi_packet()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 152 MLXSW_ITEM_BUF(emad, eth_hdr, smac, 0x06, 6);
|