/linux/Documentation/devicetree/bindings/infiniband/ |
A D | hisilicon-hns-roce.txt | 25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq 75 "hns-roce-comp-1", 76 "hns-roce-comp-2", 77 "hns-roce-comp-3", 78 "hns-roce-comp-4", 79 "hns-roce-comp-5", 80 "hns-roce-comp-6", 81 "hns-roce-comp-7", 82 "hns-roce-comp-8", 83 "hns-roce-comp-9", [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A 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() 51 dev->roce.reserved_gids.start = 0; in mlx5_cleanup_reserved_gids() 52 dev->roce.reserved_gids.count = 0; in mlx5_cleanup_reserved_gids() 71 dev->roce.reserved_gids.count, in mlx5_core_reserve_gids() 72 dev->roce.reserved_gids.start); in mlx5_core_reserve_gids() 84 dev->roce.reserved_gids.count, in mlx5_core_unreserve_gids() 85 dev->roce.reserved_gids.start); in mlx5_core_unreserve_gids() 91 dev->roce.reserved_gids.count - 1; in mlx5_core_reserved_gid_alloc() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A 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 …]
|
A 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()
|
A D | devlink.c | 457 if (new_state && !MLX5_CAP_GEN(dev, roce) && in mlx5_devlink_enable_roce_validate() 588 value.vbool = MLX5_CAP_GEN(dev, roce); in mlx5_devlink_set_params_init_values()
|
/linux/drivers/infiniband/hw/hns/ |
A D | Makefile | 8 hns-roce-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \ 13 hns-roce-hw-v1-objs := hns_roce_hw_v1.o $(hns-roce-objs) 14 obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v1.o 18 hns-roce-hw-v2-objs := hns_roce_hw_v2.o hns_roce_hw_v2_dfx.o $(hns-roce-objs) 19 obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v2.o
|
A D | Kconfig | 23 module will be called hns-roce-hw-v1 34 module will be called hns-roce-hw-v2.
|
A D | hns_roce_ah.c | 80 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah()
|
/linux/drivers/infiniband/hw/mlx5/ |
A 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()
|
A 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()
|
A D | main.c | 143 return &port->roce; in mlx5_get_rep_roce() 155 return &port->roce; in mlx5_get_rep_roce() 172 ibdev = roce->dev; in mlx5_netdev_event() 182 write_lock(&roce->netdev_lock); in mlx5_netdev_event() 184 roce->netdev = ndev; in mlx5_netdev_event() 185 write_unlock(&roce->netdev_lock); in mlx5_netdev_event() 190 write_lock(&roce->netdev_lock); in mlx5_netdev_event() 191 if (roce->netdev == ndev) in mlx5_netdev_event() 192 roce->netdev = NULL; in mlx5_netdev_event() 209 if (!roce) in mlx5_netdev_event() [all …]
|
A D | mem.c | 220 if (!dev->mdev->roce.roce_en && in mlx5_ib_test_wc()
|
/linux/arch/arm64/boot/dts/hisilicon/ |
A D | hip07.dtsi | 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", 1543 "hns-roce-comp-8", 1544 "hns-roce-comp-9", 1567 "hns-roce-async", [all …]
|
/linux/include/rdma/ |
A D | ib_sa.h | 185 struct sa_path_rec_roce roce; member 593 memcpy(rec->roce.dmac, dmac, ETH_ALEN); in sa_path_set_dmac() 599 eth_zero_addr(rec->roce.dmac); in sa_path_set_dmac_zero() 605 return rec->roce.dmac; in sa_path_get_dmac()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
A D | hclgevf_main.c | 496 struct hnae3_handle *rhandle = &hdev->roce; in hclgevf_update_link_status() 1835 struct hnae3_handle *handle = &hdev->roce; in hclgevf_notify_roce_client() 2551 struct hnae3_handle *roce = &hdev->roce; in hclgevf_init_roce_base_info() local 2562 roce->rinfo.netdev = nic->kinfo.netdev; in hclgevf_init_roce_base_info() 2563 roce->rinfo.roce_io_base = hdev->hw.io_base; in hclgevf_init_roce_base_info() 2566 roce->pdev = nic->pdev; in hclgevf_init_roce_base_info() 2567 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info() 2568 roce->numa_node_mask = nic->numa_node_mask; in hclgevf_init_roce_base_info() 2982 hdev->roce.client = client; in hclgevf_init_client_instance() 3002 hdev->roce.client = NULL; in hclgevf_init_client_instance() [all …]
|
A D | hclgevf_main.h | 330 struct hnae3_handle roce; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A 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/drivers/net/ethernet/qlogic/qed/ |
A D | qed_hw.h | 309 } roce; member
|
/linux/Documentation/networking/devlink/ |
A D | bnxt.rst | 80 * - ``fw.roce``
|
A D | devlink-info.rst | 190 fw.roce 193 RoCE firmware version which is responsible for handling roce
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | mlx5dr.h | 135 return MLX5_CAP_GEN(dev, roce) && in mlx5dr_is_supported()
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_av.c | 14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()
|
/linux/drivers/infiniband/core/ |
A D | lag.c | 76 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN); in rdma_build_skb()
|
/linux/include/linux/mlx5/ |
A D | driver.h | 592 struct mlx5_core_roce roce; member 759 } roce; member 1250 return err ? MLX5_CAP_GEN(dev, roce) : val.vbool; in mlx5_is_roce_init_enabled()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah()
|