Lines Matching refs:hca
2150 static struct net_device *ipoib_alloc_netdev(struct ib_device *hca, u8 port,
2155 dev = rdma_alloc_netdev(hca, port, RDMA_NETDEV_IPOIB, name,
2167 int ipoib_intf_init(struct ib_device *hca, u8 port, const char *name,
2178 priv->ca = hca;
2181 rc = rdma_init_netdev(hca, port, RDMA_NETDEV_IPOIB, name,
2190 rn->hca = hca;
2203 if (hca->attrs.device_cap_flags & IB_DEVICE_VIRTUAL_FUNCTION)
2226 struct net_device *ipoib_intf_alloc(struct ib_device *hca, u8 port,
2232 dev = ipoib_alloc_netdev(hca, port, name);
2236 rc = ipoib_intf_init(hca, port, name, dev);
2468 struct ib_device *hca, u8 port)
2476 ndev = ipoib_intf_alloc(hca, port, format);
2478 pr_warn("%s, %d: ipoib_intf_alloc failed %ld\n", hca->name, port,
2496 hca->name, port, result);
2505 if (hca->ops.rdma_netdev_get_params) {
2506 int rc = hca->ops.rdma_netdev_get_params(hca, port,