Home
last modified time | relevance | path

Searched refs:hca (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1261 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1264 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1267 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
1270 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1273 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1276 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->max, cap)
1280 mdev->caps.hca[MLX5_CAP_ETHERNET_OFFLOADS]->cur, cap)
1284 mdev->caps.hca[MLX5_CAP_IPOIB_ENHANCED_OFFLOADS]->cur, cap)
1287 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->cur, cap)
1290 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->max, cap)
[all …]
H A Ddriver.h770 struct mlx5_hca_cap *hca[MLX5_CAP_NUM]; member
/openbmc/linux/Documentation/ABI/testing/
H A Dconfigfs-rdma_cm13 mkdir -p /config/rdma_cm/<hca>
16 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
19 Description: RDMA-CM based connections from HCA <hca> at port <port-num>
24 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos
27 Description: RDMA-CM QPs from HCA <hca> at port <port-num>
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c2162 static struct net_device *ipoib_alloc_netdev(struct ib_device *hca, u32 port, in ipoib_alloc_netdev() argument
2167 dev = rdma_alloc_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_alloc_netdev()
2179 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *name, in ipoib_intf_init() argument
2190 priv->ca = hca; in ipoib_intf_init()
2193 rc = rdma_init_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_intf_init()
2202 rn->hca = hca; in ipoib_intf_init()
2215 if (hca->attrs.kernel_cap_flags & IBK_VIRTUAL_FUNCTION) in ipoib_intf_init()
2238 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u32 port, in ipoib_intf_alloc() argument
2244 dev = ipoib_alloc_netdev(hca, port, name); in ipoib_intf_alloc()
2248 rc = ipoib_intf_init(hca, port, name, dev); in ipoib_intf_alloc()
[all …]
H A Dipoib.h505 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u32 port,
507 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *format,
580 int ipoib_mcast_attach(struct net_device *dev, struct ib_device *hca,
582 int ipoib_mcast_detach(struct net_device *dev, struct ib_device *hca,
H A Dipoib_verbs.c38 int ipoib_mcast_attach(struct net_device *dev, struct ib_device *hca, in ipoib_mcast_attach() argument
78 int ipoib_mcast_detach(struct net_device *dev, struct ib_device *hca, in ipoib_mcast_detach() argument
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c1177 dev_lim->hca.arbel.resize_srq = field & 1; in mthca_QUERY_DEV_LIM()
1185 dev_lim->hca.arbel.max_pbl_sz = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1186 MTHCA_GET(dev_lim->hca.arbel.bmme_flags, outbox, in mthca_QUERY_DEV_LIM()
1188 MTHCA_GET(dev_lim->hca.arbel.reserved_lkey, outbox, in mthca_QUERY_DEV_LIM()
1191 dev_lim->hca.arbel.lam_required = field & 1; in mthca_QUERY_DEV_LIM()
1192 MTHCA_GET(dev_lim->hca.arbel.max_icm_sz, outbox, in mthca_QUERY_DEV_LIM()
1195 if (dev_lim->hca.arbel.bmme_flags & 1) in mthca_QUERY_DEV_LIM()
1198 dev_lim->hca.arbel.bmme_flags, in mthca_QUERY_DEV_LIM()
1199 dev_lim->hca.arbel.max_pbl_sz, in mthca_QUERY_DEV_LIM()
1200 dev_lim->hca.arbel.reserved_lkey); in mthca_QUERY_DEV_LIM()
[all …]
H A Dmthca_cmd.h184 } hca; member
H A Dmthca_profile.c122 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
74 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
78 Description: HCA name (<hca>).
80 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/port
H A Dsysfs-class-infiniband219 What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
226 What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/types/<gid-index>
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c398 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
402 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
478 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ODP]->cur, in handle_hca_cap_odp()
562 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_GENERAL_2]->cur, in handle_hca_cap_2()
582 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_GENERAL]->cur, in handle_hca_cap()
698 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ROCE]->cur, in handle_hca_cap_roce()
727 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_PORT_SELECTION]->cur, in handle_hca_cap_port_selection()
1767 kfree(dev->caps.hca[type]); in mlx5_hca_caps_free()
1782 dev->caps.hca[type] = cap; in mlx5_hca_caps_alloc()
H A Dfs_core.c2648 ((be32_to_cpu(*((__be32 *)(dev->caps.hca[MLX5_CAP_FLOW_TABLE]->cur) + \
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c654 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast() argument
679 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast() argument
802 rn->hca = ibdev; in mlx5_rdma_setup_rn()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c207 rn->hca = device; in hfi1_ipoib_setup_rn()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c347 rn->hca = ibdev; in opa_vnic_add_netdev()
/openbmc/linux/include/rdma/
H A Dib_verbs.h2236 struct ib_device *hca;
2253 int (*attach_mcast)(struct net_device *dev, struct ib_device *hca,
2256 int (*detach_mcast)(struct net_device *dev, struct ib_device *hca,
2234 struct ib_device *hca; global() member
/openbmc/linux/
H A D.mailmap210 Heiko Carstens <hca@linux.ibm.com> <h.carstens@de.ibm.com>
211 Heiko Carstens <hca@linux.ibm.com> <heiko.carstens@de.ibm.com>
H A DMAINTAINERS3687 M: Heiko Carstens <hca@linux.ibm.com>
18790 M: Heiko Carstens <hca@linux.ibm.com>