/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 62 if (dev->roce.reserved_gids.start < count) { in mlx5_core_reserve_gids() 67 if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) { in mlx5_core_reserve_gids() 72 dev->roce.reserved_gids.start -= count; in mlx5_core_reserve_gids() [all …]
|
/kernel/linux/linux-5.10/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 | devlink.c | 286 if (new_state && !MLX5_CAP_GEN(dev, roce)) { in mlx5_devlink_enable_roce_validate() 366 value.vbool = MLX5_CAP_GEN(dev, roce); in mlx5_devlink_set_params_init_values()
|
D | vport.c | 930 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce() 934 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce() 946 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce() 947 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce() 948 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce() 952 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
|
/kernel/linux/linux-5.10/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-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
|
D | Kconfig | 23 module will be called hns-roce-hw-v1 34 module will be called hns-roce-hw-v2.
|
D | hns_roce_ah.c | 77 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | ib_rep.c | 21 write_lock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 22 ibdev->port[vport_index].roce.netdev = in mlx5_ib_set_vport_rep() 24 write_unlock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep() 56 ibdev->port[vport_index].roce.netdev = in mlx5_ib_vport_rep_load() 76 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload() 77 port->roce.netdev = NULL; in mlx5_ib_vport_rep_unload() 78 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 | 144 read_lock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 148 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 150 return &port->roce; in mlx5_get_rep_roce() 152 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce() 161 struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb); in mlx5_netdev_event() local 163 u8 port_num = roce->native_port_num; in mlx5_netdev_event() 167 ibdev = roce->dev; in mlx5_netdev_event() 177 write_lock(&roce->netdev_lock); in mlx5_netdev_event() 179 roce->netdev = ndev; in mlx5_netdev_event() 180 write_unlock(&roce->netdev_lock); in mlx5_netdev_event() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/ |
D | hip07.dtsi | 1127 mbigen_dsa_roce: intc-roce { 1496 compatible = "hisilicon,hns-roce-v1"; 1540 interrupt-names = "hns-roce-comp-0", 1541 "hns-roce-comp-1", 1542 "hns-roce-comp-2", 1543 "hns-roce-comp-3", 1544 "hns-roce-comp-4", 1545 "hns-roce-comp-5", 1546 "hns-roce-comp-6", 1547 "hns-roce-comp-7", [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_sa.h | 185 struct sa_path_rec_roce roce; member 620 memcpy(rec->roce.dmac, dmac, ETH_ALEN); in sa_path_set_dmac() 626 eth_zero_addr(rec->roce.dmac); in sa_path_set_dmac_zero() 632 return rec->roce.dmac; in sa_path_get_dmac()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 96 return container_of(handle, struct hclgevf_dev, roce); in hclgevf_ae_get_hdev() 471 struct hnae3_handle *rhandle = &hdev->roce; in hclgevf_update_link_status() 1725 struct hnae3_handle *handle = &hdev->roce; in hclgevf_notify_roce_client() 2435 struct hnae3_handle *roce = &hdev->roce; in hclgevf_init_roce_base_info() local 2438 roce->rinfo.num_vectors = hdev->num_roce_msix; in hclgevf_init_roce_base_info() 2440 if (hdev->num_msi_left < roce->rinfo.num_vectors || in hclgevf_init_roce_base_info() 2444 roce->rinfo.base_vector = hdev->roce_base_vector; in hclgevf_init_roce_base_info() 2446 roce->rinfo.netdev = nic->kinfo.netdev; in hclgevf_init_roce_base_info() 2447 roce->rinfo.roce_io_base = hdev->hw.io_base; in hclgevf_init_roce_base_info() 2449 roce->pdev = nic->pdev; in hclgevf_init_roce_base_info() [all …]
|
D | hclgevf_main.h | 323 struct hnae3_handle roce; member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/Documentation/networking/devlink/ |
D | bnxt.rst | 78 * - ``fw.roce``
|
D | devlink-info.rst | 190 fw.roce 193 RoCE firmware version which is responsible for handling roce
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | mlx5dr.h | 127 return MLX5_CAP_GEN(dev, roce) && in mlx5dr_is_supported()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.h | 283 } roce; member
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_av.c | 14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | lag.c | 76 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN); in rdma_build_skb()
|
D | addr.c | 735 if (rec->roce.route_resolved) in roce_resolve_route_from_path() 760 rec->roce.route_resolved = true; in roce_resolve_route_from_path()
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_clc.h | 125 u8 roce[16]; /* RoCEv2 GID */ member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah()
|