Lines Matching refs:hca
2162 static struct net_device *ipoib_alloc_netdev(struct ib_device *hca, u32 port,
2167 dev = rdma_alloc_netdev(hca, port, RDMA_NETDEV_IPOIB, name,
2179 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *name,
2190 priv->ca = hca;
2193 rc = rdma_init_netdev(hca, port, RDMA_NETDEV_IPOIB, name,
2202 rn->hca = hca;
2215 if (hca->attrs.kernel_cap_flags & IBK_VIRTUAL_FUNCTION)
2238 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u32 port,
2244 dev = ipoib_alloc_netdev(hca, port, name);
2248 rc = ipoib_intf_init(hca, port, name, dev);
2480 struct ib_device *hca, u32 port)
2488 ndev = ipoib_intf_alloc(hca, port, format);
2490 pr_warn("%s, %d: ipoib_intf_alloc failed %ld\n", hca->name, port,
2508 hca->name, port, result);
2517 if (hca->ops.rdma_netdev_get_params) {
2518 int rc = hca->ops.rdma_netdev_get_params(hca, port,