Lines Matching refs:hca
2189 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()
2507 struct ib_device *hca, u32 port) in ipoib_add_port() argument
2515 ndev = ipoib_intf_alloc(hca, port, format); in ipoib_add_port()
2517 pr_warn("%s, %d: ipoib_intf_alloc failed %ld\n", hca->name, port, in ipoib_add_port()
2535 hca->name, port, result); in ipoib_add_port()
2544 if (hca->ops.rdma_netdev_get_params) { in ipoib_add_port()
2545 int rc = hca->ops.rdma_netdev_get_params(hca, port, in ipoib_add_port()