Home
last modified time | relevance | path

Searched refs:rqp (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4017 struct res_qp *rqp, u8 *gid) in find_gid() argument
4021 list_for_each_entry(res, &rqp->mcg_list, list) { in find_gid()
4028 static int add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in add_mcg_res() argument
4039 spin_lock_irq(&rqp->mcg_spl); in add_mcg_res()
4040 if (find_gid(dev, slave, rqp, gid)) { in add_mcg_res()
4048 list_add_tail(&res->list, &rqp->mcg_list); in add_mcg_res()
4051 spin_unlock_irq(&rqp->mcg_spl); in add_mcg_res()
4056 static int rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in rem_mcg_res() argument
4063 spin_lock_irq(&rqp->mcg_spl); in rem_mcg_res()
4064 res = find_gid(dev, slave, rqp, gid); in rem_mcg_res()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c607 struct mlx5e_rq_param *rqp, in mlx5_rq_shampo_alloc() argument
612 void *wqc = MLX5_ADDR_OF(rqc, rqp->rqc, wq); in mlx5_rq_shampo_alloc()
622 mlx5e_shampo_hd_per_wq(mdev, params, rqp); in mlx5_rq_shampo_alloc()
637 mlx5e_shampo_hd_per_wqe(mdev, params, rqp); in mlx5_rq_shampo_alloc()
666 struct mlx5e_rq_param *rqp, in mlx5e_alloc_rq() argument
671 void *rqc = rqp->rqc; in mlx5e_alloc_rq()
678 rqp->wq.db_numa_node = node; in mlx5e_alloc_rq()
693 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq()
736 err = mlx5_rq_shampo_alloc(mdev, params, rqp, rq, &pool_size, node); in mlx5e_alloc_rq()
742 err = mlx5_wq_cyc_create(mdev, &rqp->wq, rqc_wq, &rq->wqe.wq, in mlx5e_alloc_rq()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c1091 struct mlx5e_rq_param *rqp) in mlx5e_build_icosq_log_wq_sz() argument
1148 wqebbs += mlx5e_shampo_icosq_sz(mdev, params, rqp); in mlx5e_build_icosq_log_wq_sz()