/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | device.h | 1261 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_ROC [all...] |
H A D | driver.h | 771 struct mlx5_hca_cap *hca[MLX5_CAP_NUM]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 2150 static struct net_device *ipoib_alloc_netdev(struct ib_device *hca, u8 port, in ipoib_alloc_netdev() argument 2155 dev = rdma_alloc_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_alloc_netdev() 2167 int ipoib_intf_init(struct ib_device *hca, u8 port, const char *name, in ipoib_intf_init() argument 2178 priv->ca = hca; in ipoib_intf_init() 2181 rc = rdma_init_netdev(hca, port, RDMA_NETDEV_IPOIB, name, in ipoib_intf_init() 2190 rn->hca = hca; in ipoib_intf_init() 2203 if (hca->attrs.device_cap_flags & IB_DEVICE_VIRTUAL_FUNCTION) in ipoib_intf_init() 2226 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u8 port, in ipoib_intf_alloc() argument 2232 dev = ipoib_alloc_netdev(hca, por in ipoib_intf_alloc() 2467 ipoib_add_port(const char *format, struct ib_device *hca, u8 port) ipoib_add_port() argument [all...] |
H A D | ipoib.h | 505 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u8 port, 507 int ipoib_intf_init(struct ib_device *hca, u8 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 D | ipoib_verbs.c | 38 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
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 2162 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, por in ipoib_intf_alloc() 2479 ipoib_add_port(const char *format, struct ib_device *hca, u32 port) ipoib_add_port() argument [all...] |
H A D | ipoib.h | 505 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 D | ipoib_verbs.c | 38 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
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.c | 1177 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 in mthca_QUERY_DEV_LIM() [all...] |
H A D | mthca_profile.c | 124 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()
|
H A D | mthca_cmd.h | 184 } hca; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.c | 1177 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 in mthca_QUERY_DEV_LIM() [all...] |
H A D | mthca_cmd.h | 184 } hca; member
|
H A D | mthca_profile.c | 122 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 398 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() 1172 mlx5_core_err(dev, "enable hca failed\n"); in mlx5_function_enable() 1242 mlx5_core_err(dev, "init hca failed\n"); in mlx5_function_open() 1250 mlx5_core_err(dev, "query hca faile in mlx5_function_open() [all...] |
H A D | fs_core.c | 2627 ((be32_to_cpu(*((__be32 *)(dev->caps.hca[MLX5_CAP_FLOW_TABLE]->cur) + \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 615 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast() argument 640 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast() argument 755 rn->hca = ibdev; in mlx5_rdma_setup_rn()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 654 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_main.c | 213 rn->hca = device; in hfi1_ipoib_setup_rn()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_netdev.c | 348 rn->hca = ibdev; in opa_vnic_add_netdev()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_main.c | 207 rn->hca = device; in hfi1_ipoib_setup_rn()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_netdev.c | 347 rn->hca = ibdev; in opa_vnic_add_netdev()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_verbs.h | 2193 struct ib_device *hca; member 2210 int (*attach_mcast)(struct net_device *dev, struct ib_device *hca, 2213 int (*detach_mcast)(struct net_device *dev, struct ib_device *hca,
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | ib_verbs.h | 2234 struct ib_device *hca; member 2251 int (*attach_mcast)(struct net_device *dev, struct ib_device *hca, 2254 int (*detach_mcast)(struct net_device *dev, struct ib_device *hca,
|