| /linux/Documentation/devicetree/bindings/infiniband/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H 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() 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/drivers/net/ethernet/mellanox/mlx5/core/ |
| H 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 88 roce->ft = ft; in mlx5_rdma_enable_roce_steering() 89 roce->fg = fg; in mlx5_rdma_enable_roce_steering() 90 roce->allow_rule = flow_rule; in mlx5_rdma_enable_roce_steering() 133 struct mlx5_core_roce *roce = &dev->priv.roce; in mlx5_rdma_disable_roce() local 135 if (!roce->ft) in mlx5_rdma_disable_roce() [all …]
|
| H A D | vport.c | 963 if (!mdev->roce.roce_en) in mlx5_nic_vport_enable_roce() 967 mdev->roce.roce_en++; in mlx5_nic_vport_enable_roce() 979 if (mdev->roce.roce_en) { in mlx5_nic_vport_disable_roce() 980 mdev->roce.roce_en--; in mlx5_nic_vport_disable_roce() 981 if (mdev->roce.roce_en == 0) in mlx5_nic_vport_disable_roce() 985 mdev->roce.roce_en++; in mlx5_nic_vport_disable_roce()
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip07.dtsi | 1195 mbigen_dsa_roce: intc-roce { 1523 compatible = "hisilicon,hns-roce-v1"; 1567 interrupt-names = "hns-roce-comp-0", 1568 "hns-roce-comp-1", 1569 "hns-roce-comp-2", 1570 "hns-roce-comp-3", 1571 "hns-roce-comp-4", 1572 "hns-roce-comp-5", 1573 "hns-roce-comp-6", 1574 "hns-roce-comp-7", [all …]
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | Makefile | 11 hns-roce-hw-v2-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \ 16 obj-$(CONFIG_INFINIBAND_HNS_HIP08) += hns-roce-hw-v2.o
|
| H A D | hns_roce_ah.c | 100 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah() 115 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | ah.c | 83 memcpy(ah->av.rmac, ah_attr->roce.dmac, in create_ib_ah() 84 sizeof(ah_attr->roce.dmac)); in create_ib_ah() 123 memcpy(resp.dmac, ah_attr->roce.dmac, ETH_ALEN); in mlx5_ib_create_ah()
|
| H A D | main.c | 148 return &port->roce; in mlx5_get_rep_roce() 157 return &port->roce; in mlx5_get_rep_roce() 207 struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb); in mlx5_netdev_event() local 209 u32 port_num = roce->native_port_num; in mlx5_netdev_event() 214 ibdev = roce->dev; in mlx5_netdev_event() 269 roce = mlx5_get_rep_roce(ibdev, ndev, upper, &port_num); in mlx5_netdev_event() 270 if (!roce) in mlx5_netdev_event() 283 if (roce->last_port_state == port_state) in mlx5_netdev_event() 286 roce->last_port_state = port_state; in mlx5_netdev_event() 581 if (!dev->is_rep && dev->mdev->roce.roce_en) { in mlx5_query_port_roce() [all …]
|
| H A D | cong.c | 463 if (!MLX5_CAP_GEN(mdev, roce) || in mlx5_ib_init_cong_debugfs()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 621 mlx5_ipsec_fs_roce_rx_create(ipsec->mdev, ipsec->roce, ns, &old_dest, family, in handle_ipsec_rx_bringup() 624 new_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_bringup() 635 old_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_cleanup() 640 mlx5_ipsec_fs_roce_rx_destroy(ipsec->roce, family, ipsec->mdev); in handle_ipsec_rx_cleanup() 652 mlx5_ipsec_fs_roce_tx_create(ipsec->mdev, ipsec->roce, ipsec->tx->ft.pol, in ipsec_mpv_work_handler() 669 mlx5_ipsec_fs_roce_tx_destroy(ipsec->roce, ipsec->mdev); in ipsec_mpv_work_handler() 742 mlx5_ipsec_fs_roce_rx_destroy(ipsec->roce, family, mdev); in rx_destroy() 786 err = mlx5_ipsec_fs_roce_rx_create(ipsec->mdev, ipsec->roce, attr->ns, dest, in ipsec_rx_status_pass_dest_get() 792 ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, attr->family); in ipsec_rx_status_pass_dest_get() 1118 mlx5_ipsec_fs_roce_rx_destroy(ipsec->roce, family, mdev); in rx_create() [all …]
|
| H A D | ipsec.h | 257 struct mlx5_ipsec_fs *roce; member
|
| /linux/drivers/infiniband/hw/vmw_pvrdma/ |
| H 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/Documentation/networking/devlink/ |
| H A D | bnxt.rst | 82 * - ``fw.roce``
|
| H A D | devlink-port.rst | 126 `devlink port function set roce` command. 198 hw_addr 00:00:00:00:00:00 roce enable 202 $ devlink port function set pci/0000:06:00.0/2 roce disable 207 hw_addr 00:00:00:00:00:00 roce disable
|
| /linux/drivers/infiniband/core/ |
| H A D | lag.c | 75 memcpy(eth->h_dest, ah_attr->roce.dmac, ETH_ALEN); in rdma_build_skb()
|
| H A D | verbs.c | 769 ah_attr->roce.dmac); in ib_resolve_unicast_gid_dmac() 774 ah_attr->roce.dmac, in ib_resolve_unicast_gid_dmac() 1748 ip_eth_mc_map(addr, (char *)ah_attr->roce.dmac); in ib_resolve_eth_dmac() 1751 (char *)ah_attr->roce.dmac); in ib_resolve_eth_dmac() 1825 * for IB. Ban them in roce mode. in _ib_modify_qp()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | mlx5dr.h | 157 return MLX5_CAP_GEN(dev, roce) && in mlx5dr_is_supported()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_av.c | 14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_main.h | 270 struct hnae3_handle roce; member
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | ah.c | 93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN); in create_iboe_ah()
|
| /linux/net/smc/ |
| 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, in smc_ib_modify_qp_rtr() 83 memcpy(&qp_attr.ah_attr.roce.dmac, lnk->peer_mac, in smc_ib_modify_qp_rtr()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma.h | 538 memcpy(mac_addr, ah_attr->roce.dmac, ETH_ALEN); in ocrdma_resolve_dmac()
|
| /linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
| H A D | kconfig.rst | 104 …pport.nvidia.com/s/article/recommended-network-configuration-examples-for-roce-deployment>`_ suppo…
|