Lines Matching refs:qpn
1108 static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn, in mlx4_en_config_rss_qp() argument
1121 err = mlx4_qp_alloc(mdev->dev, qpn, qp, GFP_KERNEL); in mlx4_en_config_rss_qp()
1123 en_err(priv, "Failed to allocate qp #%x\n", qpn); in mlx4_en_config_rss_qp()
1130 qpn, ring->cqn, -1, context); in mlx4_en_config_rss_qp()
1157 u32 qpn; in mlx4_en_create_drop_qp() local
1159 err = mlx4_qp_reserve_range(priv->mdev->dev, 1, 1, &qpn, in mlx4_en_create_drop_qp()
1165 err = mlx4_qp_alloc(priv->mdev->dev, qpn, &priv->drop_qp, GFP_KERNEL); in mlx4_en_create_drop_qp()
1168 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_create_drop_qp()
1177 u32 qpn; in mlx4_en_destroy_drop_qp() local
1179 qpn = priv->drop_qp.qpn; in mlx4_en_destroy_drop_qp()
1182 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_destroy_drop_qp()
1196 int i, qpn; in mlx4_en_config_rss_steer() local
1210 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer()
1211 err = mlx4_en_config_rss_qp(priv, qpn, priv->rx_ring[i], in mlx4_en_config_rss_steer()