Lines Matching refs:qpn
1122 static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn, in mlx4_en_config_rss_qp() argument
1135 err = mlx4_qp_alloc(mdev->dev, qpn, qp, GFP_KERNEL); in mlx4_en_config_rss_qp()
1137 en_err(priv, "Failed to allocate qp #%x\n", qpn); in mlx4_en_config_rss_qp()
1144 qpn, ring->cqn, -1, context); in mlx4_en_config_rss_qp()
1171 u32 qpn; in mlx4_en_create_drop_qp() local
1173 err = mlx4_qp_reserve_range(priv->mdev->dev, 1, 1, &qpn, in mlx4_en_create_drop_qp()
1179 err = mlx4_qp_alloc(priv->mdev->dev, qpn, &priv->drop_qp, GFP_KERNEL); in mlx4_en_create_drop_qp()
1182 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_create_drop_qp()
1191 u32 qpn; in mlx4_en_destroy_drop_qp() local
1193 qpn = priv->drop_qp.qpn; in mlx4_en_destroy_drop_qp()
1196 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_destroy_drop_qp()
1210 int i, qpn; in mlx4_en_config_rss_steer() local
1224 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer()
1225 err = mlx4_en_config_rss_qp(priv, qpn, priv->rx_ring[i], in mlx4_en_config_rss_steer()