Lines Matching refs:qpn
1221 static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn, in mlx4_en_config_rss_qp() argument
1234 err = mlx4_qp_alloc(mdev->dev, qpn, qp, GFP_KERNEL); in mlx4_en_config_rss_qp()
1236 en_err(priv, "Failed to allocate qp #%x\n", qpn); in mlx4_en_config_rss_qp()
1243 qpn, ring->cqn, -1, context); in mlx4_en_config_rss_qp()
1270 u32 qpn; in mlx4_en_create_drop_qp() local
1272 err = mlx4_qp_reserve_range(priv->mdev->dev, 1, 1, &qpn, in mlx4_en_create_drop_qp()
1278 err = mlx4_qp_alloc(priv->mdev->dev, qpn, &priv->drop_qp, GFP_KERNEL); in mlx4_en_create_drop_qp()
1281 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_create_drop_qp()
1290 u32 qpn; in mlx4_en_destroy_drop_qp() local
1292 qpn = priv->drop_qp.qpn; in mlx4_en_destroy_drop_qp()
1295 mlx4_qp_release_range(priv->mdev->dev, qpn, 1); in mlx4_en_destroy_drop_qp()
1309 int i, qpn; in mlx4_en_config_rss_steer() local
1323 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer()
1324 err = mlx4_en_config_rss_qp(priv, qpn, priv->rx_ring[i], in mlx4_en_config_rss_steer()