/linux-master/net/smc/ |
H A D | af_smc.c | 2297 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 D | smc_clc.c | 975 memcpy(v2_ext->roce, ini->smcrv2.ib_gid_v2, SMC_GID_SIZE);
|
H A D | smc_clc.h | 140 u8 roce[16]; /* RoCEv2 GID */
|
H A D | smc_ib.c | 80 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 D | qp.c | 3547 ah->roce.dmac); 3995 tx_port_affinity = &dev->port[port_num].roce.tx_port_affinity;
|
H A D | mlx5_ib.h | 888 struct mlx5_roce roce; member in struct:mlx5_ib_port
|
H A D | mem.c | 217 if (!dev->mdev->roce.roce_en &&
|
H A D | main.c | 144 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 D | hns_roce_hw_v2.c | 4545 dmac = (u8 *)attr->ah_attr.roce.dmac; 4960 ibdev_err(ibdev, "ah attr is not RDMA roce type\n");
|
H A D | hns_roce_ah.c | 98 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 D | lag.c | 75 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN);
|
H A D | cma.c | 3131 route->path_rec->roce.route_resolved = true;
|
H A D | addr.c | 728 if (rec->roce.route_resolved) 753 rec->roce.route_resolved = true;
|
H A D | cm.c | 1721 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 D | mlx5_ifc.h | 1682 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 D | driver.h | 630 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 D | main.c | 532 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 D | fw.c | 188 if (MLX5_CAP_GEN(dev, roce)) {
|
H A D | eswitch_offloads.c | 4380 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); 4385 NL_SET_ERR_MSG_MOD(extack, "Failed setting HCA roce cap");
|
H A D | eswitch.c | 822 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 105 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 D | hclgevf_main.h | 101 /* 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 D | hclge_main.h | 174 /* 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 D | hclge_main.c | 2492 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 D | ib_verbs.h | 950 struct roce_ah_attr roce; member in union:rdma_ah_attr::__anon166 4467 return attr->roce.dmac;
|