Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx4/
Dqp.c1013 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common()
1014 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common()
1015 qp->pri.smac = 0; in destroy_qp_common()
1018 if (qp->alt.smac) { in destroy_qp_common()
1019 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in destroy_qp_common()
1020 qp->alt.smac = 0; in destroy_qp_common()
1304 u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, in _mlx4_set_path() argument
1394 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path()
1395 smac_info->smac != smac) { in _mlx4_set_path()
1397 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()
883 memcpy(wc->smac, cqe->smac, ETH_ALEN); in mlx4_ib_poll_one()
Dmad.c570 memcpy((char *)&tun_mad->hdr.mac_31_0, &(wc->smac[0]), 4); in mlx4_ib_send_to_slave()
571 memcpy((char *)&tun_mad->hdr.slid_mac_47_32, &(wc->smac[4]), 2); in mlx4_ib_send_to_slave()
1447 &ah_attr, wc->smac, vlan_id, &tunnel->mad); in mlx4_ib_multiplex_mad()
Dmlx4_ib.h271 u64 smac; member
Dmain.c1966 old_smac = qp->pri.smac; in mlx4_ib_update_qps()
1984 qp->pri.smac = new_smac; in mlx4_ib_update_qps()
/drivers/infiniband/core/
Daddr.c517 int rdma_addr_find_smac_by_sgid(union ib_gid *sgid, u8 *smac, u16 *vlan_id) in rdma_addr_find_smac_by_sgid() argument
534 memcpy(smac, dev_addr.src_dev_addr, ETH_ALEN); in rdma_addr_find_smac_by_sgid()
Dverbs.c376 memcpy(ah_attr->dmac, wc->smac, ETH_ALEN); in ib_init_ah_from_wc()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c91 memcpy(&eth.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr()
Docrdma_sli.h1881 u8 smac[6]; member
1887 u8 smac[6]; member
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c138 MLXSW_ITEM_BUF(emad, eth_hdr, smac, 0x06, 6);
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h861 uint8_t smac[ETH_ALEN]; /* new source MAC address */ member
Dcxgb4_main.c1274 memcpy(fwr->sma, f->fs.smac, sizeof(fwr->sma)); in set_filter_wr()
/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()