/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 4016 struct res_qp *rqp, u8 *gid) in find_gid() 4020 list_for_each_entry(res, &rqp->mcg_list, list) { in find_gid() 4027 static int add_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in add_mcg_res() argument 4038 spin_lock_irq(&rqp->mcg_spl); in add_mcg_res() 4039 if (find_gid(dev, slave, rqp, gid)) { in add_mcg_res() 4047 list_add_tail(&res->list, &rqp->mcg_list); in add_mcg_res() 4050 spin_unlock_irq(&rqp->mcg_spl); in add_mcg_res() 4055 static int rem_mcg_res(struct mlx4_dev *dev, int slave, struct res_qp *rqp, in rem_mcg_res() argument 4062 spin_lock_irq(&rqp->mcg_spl); in rem_mcg_res() 4063 res = find_gid(dev, slave, rqp, gi in rem_mcg_res() 4015 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) find_gid() argument 4148 struct res_qp *rqp; mlx4_QP_ATTACH_wrapper() local 4291 struct res_qp *rqp; mlx4_UPDATE_QP_wrapper() local 4377 struct res_qp *rqp; mlx4_QP_FLOW_STEERING_ATTACH_wrapper() local 4506 struct res_qp *rqp; mlx4_QP_FLOW_STEERING_DETACH_wrapper() local 4581 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) detach_qp() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 4017 struct res_qp *rqp, u8 *gid) in find_gid() 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, gi in rem_mcg_res() 4016 find_gid(struct mlx4_dev *dev, int slave, struct res_qp *rqp, u8 *gid) find_gid() argument 4149 struct res_qp *rqp; mlx4_QP_ATTACH_wrapper() local 4292 struct res_qp *rqp; mlx4_UPDATE_QP_wrapper() local 4378 struct res_qp *rqp; mlx4_QP_FLOW_STEERING_ATTACH_wrapper() local 4507 struct res_qp *rqp; mlx4_QP_FLOW_STEERING_DETACH_wrapper() local 4582 detach_qp(struct mlx4_dev *dev, int slave, struct res_qp *rqp) detach_qp() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 1163 struct mlx5e_rq_param *rqp) in mlx5e_build_icosq_log_wq_sz() 1220 wqebbs += mlx5e_shampo_icosq_sz(mdev, params, rqp); in mlx5e_build_icosq_log_wq_sz() 1161 mlx5e_build_icosq_log_wq_sz(struct mlx5_core_dev *mdev, struct mlx5e_params *params, struct mlx5e_rq_param *rqp) mlx5e_build_icosq_log_wq_sz() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 674 struct mlx5e_rq_param *rqp, in mlx5_rq_shampo_alloc() 679 void *wqc = MLX5_ADDR_OF(rqc, rqp->rqc, wq); in mlx5_rq_shampo_alloc() 689 mlx5e_shampo_hd_per_wq(mdev, params, rqp); in mlx5_rq_shampo_alloc() 704 mlx5e_shampo_hd_per_wqe(mdev, params, rqp); in mlx5_rq_shampo_alloc() 733 struct mlx5e_rq_param *rqp, in mlx5e_alloc_rq() 737 void *rqc = rqp->rqc; in mlx5e_alloc_rq() 744 rqp->wq.db_numa_node = node; in mlx5e_alloc_rq() 759 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq() 805 err = mlx5_rq_shampo_alloc(mdev, params, rqp, rq, &pool_size, node); in mlx5e_alloc_rq() 811 err = mlx5_wq_cyc_create(mdev, &rqp in mlx5e_alloc_rq() 672 mlx5_rq_shampo_alloc(struct mlx5_core_dev *mdev, struct mlx5e_params *params, struct mlx5e_rq_param *rqp, struct mlx5e_rq *rq, u32 *pool_size, int node) mlx5_rq_shampo_alloc() argument 731 mlx5e_alloc_rq(struct mlx5e_params *params, struct mlx5e_xsk_param *xsk, struct mlx5e_rq_param *rqp, int node, struct mlx5e_rq *rq) mlx5e_alloc_rq() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 397 struct mlx5e_rq_param *rqp, in mlx5e_alloc_rq() 402 void *rqc = rqp->rqc; in mlx5e_alloc_rq() 410 rqp->wq.db_numa_node = cpu_to_node(c->cpu); in mlx5e_alloc_rq() 447 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq() 479 err = mlx5_wq_cyc_create(mdev, &rqp->wq, rqc_wq, &rq->wqe.wq, in mlx5e_alloc_rq() 488 rq->wqe.info = rqp->frags_info; in mlx5e_alloc_rq() 2330 struct mlx5e_rq_param *rqp) in mlx5e_build_icosq_log_wq_sz() 2336 mlx5e_get_rq_log_wq_sz(rqp->rqc)); in mlx5e_build_icosq_log_wq_sz() 393 mlx5e_alloc_rq(struct mlx5e_channel *c, struct mlx5e_params *params, struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *xsk_pool, struct mlx5e_rq_param *rqp, struct mlx5e_rq *rq) mlx5e_alloc_rq() argument 2329 mlx5e_build_icosq_log_wq_sz(struct mlx5e_params *params, struct mlx5e_rq_param *rqp) mlx5e_build_icosq_log_wq_sz() argument
|