Home
last modified time | relevance | path

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

/linux/include/linux/mlx5/
H A Ddevice.h1264 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1267 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1270 MLX5_GET(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->max, cap)
1273 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1276 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1279 MLX5_GET(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->max, cap)
1283 mdev->caps.hca[MLX5_CAP_ETHERNET_OFFLOADS]->cur, cap)
1287 mdev->caps.hca[MLX5_CAP_IPOIB_ENHANCED_OFFLOADS]->cur, cap)
1290 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->cur, cap)
1293 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->max, cap)
[all …]
H A Ddriver.h788 struct mlx5_hca_cap *hca[MLX5_CAP_NUM]; member
/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>
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c2189 static struct net_device *ipoib_alloc_netdev(struct ib_device *hca, u32 port, in ipoib_alloc_netdev() argument
2194 dev = rdma_alloc_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_alloc_netdev()
2206 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *name, in ipoib_intf_init() argument
2217 priv->ca = hca; in ipoib_intf_init()
2220 rc = rdma_init_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_intf_init()
2229 rn->hca = hca; in ipoib_intf_init()
2242 if (hca->attrs.kernel_cap_flags & IBK_VIRTUAL_FUNCTION) in ipoib_intf_init()
2265 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u32 port, in ipoib_intf_alloc() argument
2271 dev = ipoib_alloc_netdev(hca, port, name); in ipoib_intf_alloc()
2275 rc = ipoib_intf_init(hca, port, name, dev); in ipoib_intf_alloc()
[all …]
H A Dipoib.h508 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u32 port,
510 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *format,
584 int ipoib_mcast_attach(struct net_device *dev, struct ib_device *hca,
586 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
/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()
/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
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c390 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
394 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
470 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ODP]->cur, in handle_hca_cap_odp()
554 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_GENERAL_2]->cur, in handle_hca_cap_2()
574 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_GENERAL]->cur, in handle_hca_cap()
693 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ROCE]->cur, in handle_hca_cap_roce()
722 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_PORT_SELECTION]->cur, in handle_hca_cap_port_selection()
1786 kfree(dev->caps.hca[type]); in mlx5_hca_caps_free()
1801 dev->caps.hca[type] = cap; in mlx5_hca_caps_alloc()
H A Dfs_core.c2857 ((be32_to_cpu(*((__be32 *)(dev->caps.hca[MLX5_CAP_FLOW_TABLE]->cur) + \
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c657 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast() argument
682 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast() argument
805 rn->hca = ibdev; in mlx5_rdma_setup_rn()
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c192 rn->hca = device; in hfi1_ipoib_setup_rn()
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c347 rn->hca = ibdev; in opa_vnic_add_netdev()
/linux/include/rdma/
H A Dib_verbs.h2221 struct ib_device *hca; member
2238 int (*attach_mcast)(struct net_device *dev, struct ib_device *hca,
2241 int (*detach_mcast)(struct net_device *dev, struct ib_device *hca,