Searched refs:roce (Results 1 - 25 of 55) sorted by last modified time

123

/linux-master/net/smc/
H A Daf_smc.c2297 memcpy(ini->peer_gid, smc_v2_ext->roce, SMC_GID_SIZE);
2302 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(smc_v2_ext->roce);
H A Dsmc_clc.c975 memcpy(v2_ext->roce, ini->smcrv2.ib_gid_v2, SMC_GID_SIZE);
H A Dsmc_clc.h140 u8 roce[16]; /* RoCEv2 GID */
H A Dsmc_ib.c80 memcpy(&qp_attr.ah_attr.roce.dmac, lnk->lgr->nexthop_mac,
83 memcpy(&qp_attr.ah_attr.roce.dmac, lnk->peer_mac,
/linux-master/drivers/infiniband/hw/mlx5/
H A Dqp.c3547 ah->roce.dmac);
3995 tx_port_affinity = &dev->port[port_num].roce.tx_port_affinity;
H A Dmlx5_ib.h888 struct mlx5_roce roce; member in struct:mlx5_ib_port
H A Dmem.c217 if (!dev->mdev->roce.roce_en &&
H A Dmain.c144 return &port->roce;
150 read_lock(&port->roce.netdev_lock);
154 read_unlock(&port->roce.netdev_lock);
156 return &port->roce;
158 read_unlock(&port->roce.netdev_lock);
167 struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb); local
169 u32 port_num = roce->native_port_num;
173 ibdev = roce->dev;
183 write_lock(&roce->netdev_lock);
185 roce
3057 mlx5_netdev_notifier_register(struct mlx5_roce *roce, struct net_device *netdev) argument
3070 mlx5_netdev_notifier_unregister(struct mlx5_roce *roce) argument
3082 struct mlx5_roce *roce = container_of(nb, struct mlx5_roce, mdev_nb); local
3101 struct mlx5_roce *roce = &dev->port[port_num].roce; local
3110 struct mlx5_roce *roce = &dev->port[port_num].roce; local
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c4545 dmac = (u8 *)attr->ah_attr.roce.dmac;
4960 ibdev_err(ibdev, "ah attr is not RDMA roce type\n");
H A Dhns_roce_ah.c98 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN);
113 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN);
/linux-master/drivers/infiniband/core/
H A Dlag.c75 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN);
H A Dcma.c3131 route->path_rec->roce.route_resolved = true;
H A Daddr.c728 if (rec->roce.route_resolved)
753 rec->roce.route_resolved = true;
H A Dcm.c1721 primary_path->roce.route_resolved = false;
1751 alt_path->roce.route_resolved = false;
2169 cm_id_priv->av.ah_attr.roce.dmac);
/linux-master/include/linux/mlx5/
H A Dmlx5_ifc.h1682 u8 roce[0x1]; member in struct:mlx5_ifc_cmd_hca_cap_bits
6012 u8 roce[0x1]; member in struct:mlx5_ifc_other_hca_cap_bits
H A Ddriver.h630 struct mlx5_core_roce roce; member in struct:mlx5_priv
807 } roce; member in struct:mlx5_core_dev
1321 return MLX5_CAP_GEN(dev, roce);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c532 return MLX5_CAP_GEN(dev, roce);
641 if (MLX5_CAP_GEN(dev, roce_rw_supported) && MLX5_CAP_GEN_MAX(dev, roce))
642 MLX5_SET(cmd_hca_cap, set_hca_cap, roce,
653 /* Cached MLX5_CAP_GEN(dev, roce) can be out of sync this early in the
670 (!MLX5_CAP_GEN(dev, roce_rw_supported) && !MLX5_CAP_GEN(dev, roce));
H A Dfw.c188 if (MLX5_CAP_GEN(dev, roce)) {
H A Deswitch_offloads.c4380 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable);
4385 NL_SET_ERR_MSG_MOD(extack, "Failed setting HCA roce cap");
H A Deswitch.c822 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c105 return container_of(handle, struct hclgevf_dev, roce);
408 struct hnae3_handle *rhandle = &hdev->roce;
1382 struct hnae3_handle *handle = &hdev->roce;
1393 dev_err(&hdev->pdev->dev, "notify roce client failed %d(%d)",
2106 struct hnae3_handle *roce = &hdev->roce; local
2109 roce->rinfo.num_vectors = hdev->num_roce_msix;
2111 if (hdev->num_msi_left < roce->rinfo.num_vectors ||
2115 roce->rinfo.base_vector = hdev->roce_base_msix_offset;
2117 roce
[all...]
H A Dhclgevf_main.h101 /* in the bar4, the first half is for roce, and the second half is for nic */
250 u16 num_roce_msix; /* Num of roce vectors for this VF */
269 struct hnae3_handle roce; member in struct:hclgevf_dev
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h174 /* in the bar4, the first half is for roce, and the second half is for nic */
921 u16 num_roce_msi; /* Num of roce vectors for this PF */
1070 struct hnae3_handle roce; member in struct:hclge_vport
H A Dhclge_main.c2492 struct hnae3_handle *roce = &vport->roce; local
2496 roce->rinfo.num_vectors = vport->back->num_roce_msi;
2501 roce->rinfo.base_vector = hdev->num_nic_msi;
2503 roce->rinfo.netdev = nic->kinfo.netdev;
2504 roce->rinfo.roce_io_base = hdev->hw.hw.io_base;
2505 roce->rinfo.roce_mem_base = hdev->hw.hw.mem_base;
2507 roce->pdev = nic->pdev;
2508 roce->ae_algo = nic->ae_algo;
2509 bitmap_copy(roce
[all...]
/linux-master/include/rdma/
H A Dib_verbs.h950 struct roce_ah_attr roce; member in union:rdma_ah_attr::__anon166
4467 return attr->roce.dmac;

Completed in 533 milliseconds

123