/Linux-v6.1/Documentation/devicetree/bindings/infiniband/ |
D | hisilicon-hns-roce.txt | 10 - compatible: Should contain "hisilicon,hns-roce-v1". 24 - interrupt-names:should be one of 34 irqs for roce device 25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq 26 - hns-roce-async: 1 async event irq 27 - hns-roce-common: named common exception warning irq 30 compatible = "hisilicon,hns-roce-v1"; 74 interrupt-names = "hns-roce-comp-0", 75 "hns-roce-comp-1", 76 "hns-roce-comp-2", 77 "hns-roce-comp-3", [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | gid.c | 43 ida_init(&dev->roce.reserved_gids.ida); in mlx5_init_reserved_gids() 44 dev->roce.reserved_gids.start = tblsz; in mlx5_init_reserved_gids() 45 dev->roce.reserved_gids.count = 0; in mlx5_init_reserved_gids() 50 WARN_ON(!ida_is_empty(&dev->roce.reserved_gids.ida)); in mlx5_cleanup_reserved_gids() 51 dev->roce.reserved_gids.start = 0; in mlx5_cleanup_reserved_gids() 52 dev->roce.reserved_gids.count = 0; in mlx5_cleanup_reserved_gids() 53 ida_destroy(&dev->roce.reserved_gids.ida); in mlx5_cleanup_reserved_gids() 58 if (dev->roce.reserved_gids.start < count) { in mlx5_core_reserve_gids() 63 if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) { in mlx5_core_reserve_gids() 68 dev->roce.reserved_gids.start -= count; in mlx5_core_reserve_gids() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rdma.c | 15 struct mlx5_core_roce *roce = &dev->priv.roce; in mlx5_rdma_disable_roce_steering() local 17 mlx5_del_flow_rules(roce->allow_rule); in mlx5_rdma_disable_roce_steering() 18 mlx5_destroy_flow_group(roce->fg); in mlx5_rdma_disable_roce_steering() 19 mlx5_destroy_flow_table(roce->ft); in mlx5_rdma_disable_roce_steering() 25 struct mlx5_core_roce *roce = &dev->priv.roce; in mlx5_rdma_enable_roce_steering() local 100 roce->ft = ft; in mlx5_rdma_enable_roce_steering() 101 roce->fg = fg; in mlx5_rdma_enable_roce_steering() 102 roce->allow_rule = flow_rule; in mlx5_rdma_enable_roce_steering() 145 struct mlx5_core_roce *roce = &dev->priv.roce; in mlx5_rdma_disable_roce() local 147 if (!roce->ft) in mlx5_rdma_disable_roce() [all …]
|
D | vport.c | 933 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce() 937 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce() 949 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce() 950 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce() 951 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce() 955 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
|
/Linux-v6.1/drivers/infiniband/hw/hns/ |
D | Makefile | 8 hns-roce-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \ 13 hns-roce-hw-v2-objs := hns_roce_hw_v2.o $(hns-roce-objs) 14 obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v2.o
|
D | Kconfig | 21 module will be called hns-roce-hw-v2.
|
D | hns_roce_ah.c | 78 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah()
|
/Linux-v6.1/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 23 write_lock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 24 ibdev->port[vport_index].roce.netdev = in mlx5_ib_set_vport_rep() 26 write_unlock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 79 ibdev->port[vport_index].roce.netdev = in mlx5_ib_vport_rep_load() 131 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload() 132 port->roce.netdev = NULL; in mlx5_ib_vport_rep_unload() 133 write_unlock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
|
D | ah.c | 79 memcpy(ah->av.rmac, ah_attr->roce.dmac, in create_ib_ah() 80 sizeof(ah_attr->roce.dmac)); in create_ib_ah() 117 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN); in mlx5_ib_create_ah()
|
D | main.c | 142 return &port->roce; in mlx5_get_rep_roce() 148 read_lock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 152 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 154 return &port->roce; in mlx5_get_rep_roce() 156 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 165 struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb); in mlx5_netdev_event() local 167 u32 port_num = roce->native_port_num; in mlx5_netdev_event() 171 ibdev = roce->dev; in mlx5_netdev_event() 181 write_lock(&roce->netdev_lock); in mlx5_netdev_event() 183 roce->netdev = ndev; in mlx5_netdev_event() [all …]
|
D | mem.c | 219 if (!dev->mdev->roce.roce_en && in mlx5_ib_test_wc()
|
/Linux-v6.1/arch/arm64/boot/dts/hisilicon/ |
D | hip07.dtsi | 1127 mbigen_dsa_roce: intc-roce { 1491 compatible = "hisilicon,hns-roce-v1"; 1535 interrupt-names = "hns-roce-comp-0", 1536 "hns-roce-comp-1", 1537 "hns-roce-comp-2", 1538 "hns-roce-comp-3", 1539 "hns-roce-comp-4", 1540 "hns-roce-comp-5", 1541 "hns-roce-comp-6", 1542 "hns-roce-comp-7", [all …]
|
/Linux-v6.1/include/rdma/ |
D | ib_sa.h | 185 struct sa_path_rec_roce roce; member 594 memcpy(rec->roce.dmac, dmac, ETH_ALEN); in sa_path_set_dmac() 600 eth_zero_addr(rec->roce.dmac); in sa_path_set_dmac_zero() 606 return rec->roce.dmac; in sa_path_get_dmac()
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 119 return container_of(handle, struct hclgevf_dev, roce); in hclgevf_ae_get_hdev() 423 struct hnae3_handle *rhandle = &hdev->roce; in hclgevf_update_link_status() 1389 struct hnae3_handle *handle = &hdev->roce; in hclgevf_notify_roce_client() 2100 struct hnae3_handle *roce = &hdev->roce; in hclgevf_init_roce_base_info() local 2103 roce->rinfo.num_vectors = hdev->num_roce_msix; in hclgevf_init_roce_base_info() 2105 if (hdev->num_msi_left < roce->rinfo.num_vectors || in hclgevf_init_roce_base_info() 2109 roce->rinfo.base_vector = hdev->roce_base_msix_offset; in hclgevf_init_roce_base_info() 2111 roce->rinfo.netdev = nic->kinfo.netdev; in hclgevf_init_roce_base_info() 2112 roce->rinfo.roce_io_base = hdev->hw.hw.io_base; in hclgevf_init_roce_base_info() 2113 roce->rinfo.roce_mem_base = hdev->hw.hw.mem_base; in hclgevf_init_roce_base_info() [all …]
|
D | hclgevf_main.h | 268 struct hnae3_handle roce; member
|
/Linux-v6.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 285 memcpy(dst->roce.dmac, &src->dmac, ETH_ALEN); in pvrdma_ah_attr_to_rdma() 298 memcpy(&dst->dmac, src->roce.dmac, sizeof(dst->dmac)); in rdma_ah_attr_to_pvrdma()
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.h | 309 } roce; member
|
/Linux-v6.1/Documentation/networking/devlink/ |
D | bnxt.rst | 80 * - ``fw.roce``
|
D | devlink-info.rst | 190 fw.roce 193 RoCE firmware version which is responsible for handling roce
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5dr.h | 148 return MLX5_CAP_GEN(dev, roce) && in mlx5dr_is_supported()
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_av.c | 14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()
|
/Linux-v6.1/drivers/infiniband/core/ |
D | lag.c | 75 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN); in rdma_build_skb()
|
/Linux-v6.1/drivers/infiniband/hw/mlx4/ |
D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah()
|
/Linux-v6.1/include/linux/mlx5/ |
D | driver.h | 624 struct mlx5_core_roce roce; member 796 } roce; member 1285 return MLX5_CAP_GEN(dev, roce); in mlx5_get_roce_state()
|
/Linux-v6.1/net/smc/ |
D | smc_clc.h | 135 u8 roce[16]; /* RoCEv2 GID */ member
|