Searched refs:qp0_tunnel (Results 1 – 4 of 4) sorted by relevance
829 dev->caps.qp0_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_init_qp_table()834 if (!dev->caps.qp0_tunnel || !dev->caps.qp0_proxy || in mlx4_init_qp_table()843 dev->caps.qp0_tunnel[k] = dev->caps.qp0_proxy[k] + 8 * MLX4_MFUNC_MAX; in mlx4_init_qp_table()858 kfree(dev->caps.qp0_tunnel); in mlx4_init_qp_table()862 dev->caps.qp0_tunnel = dev->caps.qp0_proxy = in mlx4_init_qp_table()
915 dev->caps.qp0_tunnel = kcalloc(dev->caps.num_ports, sizeof (u32), GFP_KERNEL); in mlx4_slave_cap()920 if (!dev->caps.qp0_tunnel || !dev->caps.qp0_proxy || in mlx4_slave_cap()935 dev->caps.qp0_tunnel[i - 1] = func_cap.qp0_tunnel_qpn; in mlx4_slave_cap()1004 kfree(dev->caps.qp0_tunnel); in mlx4_slave_cap()1009 dev->caps.qp0_tunnel = NULL; in mlx4_slave_cap()2397 kfree(dev->caps.qp0_tunnel); in mlx4_init_hca()3565 kfree(dev->caps.qp0_tunnel); in mlx4_load_one()3897 kfree(dev->caps.qp0_tunnel); in mlx4_unload_one()
2289 qpn == dev->caps.qp0_tunnel[i]) { in vf_get_qp0_qkey()2351 cpu_to_be32(mdev->dev->caps.qp0_tunnel[sqp->qp.port - 1]); in build_sriov_qp0_header()2801 dseg->dqpn = cpu_to_be32(dev->dev->caps.qp0_tunnel[port - 1]); in set_tunnel_datagram_seg()
556 u32 *qp0_tunnel; member