Home
last modified time | relevance | path

Searched refs:smac (Results 1 – 16 of 16) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dqp.c1033 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 …]
Dcq.c599 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()
Dmlx4_ib.h278 u64 smac; member
Dmad.c598 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()
Dmain.c2373 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/
Dqedr_cm.c110 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()
Dqedr.h383 u8 smac[ETH_ALEN]; member
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c1981 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/
Daddr.c780 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/
Docrdma_ah.c119 memcpy(&eth.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr()
Docrdma_sli.h1895 u8 smac[6]; member
1901 u8 smac[6]; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c308 memcpy(fwr->sma, f->fs.smac, sizeof(fwr->sma)); in set_filter_wr()
Dcxgb4.h1010 uint8_t smac[ETH_ALEN]; /* new source MAC address */ member
/drivers/net/ethernet/sun/
Dsungem.c469 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/
Dqed_roce.c2578 *((u32 *)&params.smac[0]) = ntohl(src_mac_addr_hi); in qed_ll2b_complete_rx_gsi_packet()
2579 *((u16 *)&params.smac[4]) = ntohs(src_mac_addr_lo); in qed_ll2b_complete_rx_gsi_packet()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c152 MLXSW_ITEM_BUF(emad, eth_hdr, smac, 0x06, 6);