Home
last modified time | relevance | path

Searched refs:roce (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.3-rc2/Documentation/devicetree/bindings/infiniband/
A Dhisilicon-hns-roce.txt25 - 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dgid.c43 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 …]
A Dipsec_fs_roce.c65 dst.ft = roce->ft_rdma; in ipsec_fs_roce_rx_rule_setup()
74 roce->rule = rule; in ipsec_fs_roce_rx_rule_setup()
85 roce->roce_miss.rule = rule; in ipsec_fs_roce_rx_rule_setup()
117 roce->rule = rule; in ipsec_fs_roce_tx_rule_setup()
154 roce = &ipsec_roce->tx; in mlx5_ipsec_fs_roce_tx_create()
168 roce->ft = ft; in mlx5_ipsec_fs_roce_tx_create()
179 roce->g = g; in mlx5_ipsec_fs_roce_tx_create()
264 roce->ft = ft; in mlx5_ipsec_fs_roce_rx_create()
287 roce->g = g; in mlx5_ipsec_fs_roce_rx_create()
299 roce->roce_miss.group = g; in mlx5_ipsec_fs_roce_rx_create()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Drdma.c15 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 Dvport.c933 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 Ddevlink.c412 if (new_state && !MLX5_CAP_GEN(dev, roce) && in mlx5_devlink_enable_roce_validate()
413 !(MLX5_CAP_GEN(dev, roce_rw_supported) && MLX5_CAP_GEN_MAX(dev, roce))) { in mlx5_devlink_enable_roce_validate()
524 value.vbool = MLX5_CAP_GEN(dev, roce); in mlx5_devlink_set_params_init_values()
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A DMakefile8 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
A DKconfig21 module will be called hns-roce-hw-v2.
A Dhns_roce_ah.c77 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah()
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dib_rep.c23 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()
87 ibdev->port[vport_index].roce.netdev = in mlx5_ib_vport_rep_load()
139 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
140 port->roce.netdev = NULL; in mlx5_ib_vport_rep_unload()
141 write_unlock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
A Dmain.c142 return &port->roce; in mlx5_get_rep_roce()
154 return &port->roce; in mlx5_get_rep_roce()
171 ibdev = roce->dev; in mlx5_netdev_event()
183 roce->netdev = ndev; in mlx5_netdev_event()
191 roce->netdev = NULL; in mlx5_netdev_event()
208 if (!roce) in mlx5_netdev_event()
3020 err = register_netdevice_notifier_dev_net(netdev, &roce->nb, &roce->nn); in mlx5_netdev_notifier_register()
3028 unregister_netdevice_notifier_dev_net(roce->tracking_netdev, &roce->nb, in mlx5_netdev_notifier_unregister()
3029 &roce->nn); in mlx5_netdev_notifier_unregister()
3055 struct mlx5_roce *roce = &dev->port[port_num].roce; in mlx5_mdev_netdev_track() local
[all …]
A Dah.c79 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()
/linux-6.3-rc2/arch/arm64/boot/dts/hisilicon/
A Dhip07.dtsi1552 "hns-roce-comp-1",
1553 "hns-roce-comp-2",
1554 "hns-roce-comp-3",
1555 "hns-roce-comp-4",
1556 "hns-roce-comp-5",
1557 "hns-roce-comp-6",
1558 "hns-roce-comp-7",
1559 "hns-roce-comp-8",
1560 "hns-roce-comp-9",
1583 "hns-roce-async",
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_fs.c185 mlx5_ipsec_fs_roce_rx_destroy(ipsec->roce, family); in rx_destroy()
199 err = mlx5_ipsec_fs_roce_rx_create(mdev, ipsec->roce, ns, &default_dest, in rx_create()
214 ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in rx_create()
270 mlx5_ipsec_fs_roce_rx_destroy(ipsec->roce, family); in rx_create()
338 struct mlx5_ipsec_fs *roce) in tx_create() argument
362 err = mlx5_ipsec_fs_roce_tx_create(mdev, roce, tx->ft.pol); in tx_create()
387 err = tx_create(mdev, tx, ipsec->roce); in tx_ft_get()
409 mlx5_ipsec_fs_roce_tx_destroy(ipsec->roce); in tx_ft_put()
1068 mlx5_ipsec_fs_roce_cleanup(ipsec->roce); in mlx5e_accel_ipsec_fs_cleanup()
1117 ipsec->roce = mlx5_ipsec_fs_roce_init(mdev); in mlx5e_accel_ipsec_fs_init()
A Dipsec.h151 struct mlx5_ipsec_fs *roce; member
/linux-6.3-rc2/include/rdma/
A Dib_sa.h185 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-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.c423 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()
2111 roce->rinfo.netdev = nic->kinfo.netdev; in hclgevf_init_roce_base_info()
2115 roce->pdev = nic->pdev; in hclgevf_init_roce_base_info()
2116 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
2117 roce->numa_node_mask = nic->numa_node_mask; in hclgevf_init_roce_base_info()
2497 hdev->roce.client = client; in hclgevf_init_client_instance()
2517 hdev->roce.client = NULL; in hclgevf_init_client_instance()
[all …]
A Dhclgevf_main.h268 struct hnae3_handle roce; member
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_misc.c285 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-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_hw.h309 } roce; member
/linux-6.3-rc2/Documentation/networking/devlink/
A Dbnxt.rst80 * - ``fw.roce``
A Ddevlink-port.rst126 `devlink port function set roce` command.
189 hw_addr 00:00:00:00:00:00 roce enable
193 $ devlink port function set pci/0000:06:00.0/2 roce disable
198 hw_addr 00:00:00:00:00:00 roce disable
/linux-6.3-rc2/drivers/infiniband/core/
A Dlag.c75 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN); in rdma_build_skb()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Dmlx5dr.h161 return MLX5_CAP_GEN(dev, roce) && in mlx5dr_is_supported()
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_av.c14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()

Completed in 158 milliseconds

123