Searched refs:rqp (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 4006 struct res_qp *rqp, u8 *gid) in find_gid() argument 4010 list_for_each_entry(res, &rqp->mcg_list, list) { in find_gid() 4017 static int add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in add_mcg_res() argument 4028 spin_lock_irq(&rqp->mcg_spl); in add_mcg_res() 4029 if (find_gid(dev, slave, rqp, gid)) { in add_mcg_res() 4037 list_add_tail(&res->list, &rqp->mcg_list); in add_mcg_res() 4040 spin_unlock_irq(&rqp->mcg_spl); in add_mcg_res() 4045 static int rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in rem_mcg_res() argument 4052 spin_lock_irq(&rqp->mcg_spl); in rem_mcg_res() 4053 res = find_gid(dev, slave, rqp, gid); in rem_mcg_res() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 473 struct mlx5e_rq_param *rqp, in mlx5e_alloc_rq() argument 478 void *rqc = rqp->rqc; in mlx5e_alloc_rq() 485 rqp->wq.db_numa_node = cpu_to_node(c->cpu); in mlx5e_alloc_rq() 514 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq() 559 err = mlx5_wq_cyc_create(mdev, &rqp->wq, rqc_wq, &rq->wqe.wq, in mlx5e_alloc_rq() 568 rq->wqe.info = rqp->frags_info; in mlx5e_alloc_rq()
|