/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rqt.c | 58 static int mlx5e_rqt_init(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, in mlx5e_rqt_init() argument 70 rqt->mdev = mdev; in mlx5e_rqt_init() 71 rqt->size = max_size; in mlx5e_rqt_init() 81 MLX5_SET(rqtc, rqtc, rqt_max_size, rqt->size); in mlx5e_rqt_init() 86 err = mlx5_core_create_rqt(rqt->mdev, in, inlen, &rqt->rqtn); in mlx5e_rqt_init() 92 int mlx5e_rqt_init_direct(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, in mlx5e_rqt_init_direct() argument 97 return mlx5e_rqt_init(rqt, mdev, max_size, &init_rqn, NULL, 1); in mlx5e_rqt_init_direct() 138 int mlx5e_rqt_init_indir(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, in mlx5e_rqt_init_indir() argument 162 err = mlx5e_rqt_init(rqt, mdev, indir->max_table_size, rss_rqns, rss_vhca_ids, in mlx5e_rqt_init_indir() 189 void mlx5e_rqt_destroy(struct mlx5e_rqt *rqt) in mlx5e_rqt_destroy() argument [all …]
|
D | rqt.h | 28 int mlx5e_rqt_init_direct(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, 30 int mlx5e_rqt_init_indir(struct mlx5e_rqt *rqt, struct mlx5_core_dev *mdev, 33 void mlx5e_rqt_destroy(struct mlx5e_rqt *rqt); 35 static inline u32 mlx5e_rqt_get_rqtn(struct mlx5e_rqt *rqt) in mlx5e_rqt_get_rqtn() argument 37 return rqt->rqtn; in mlx5e_rqt_get_rqtn() 42 int mlx5e_rqt_redirect_direct(struct mlx5e_rqt *rqt, u32 rqn, u32 *vhca_id); 43 int mlx5e_rqt_redirect_indir(struct mlx5e_rqt *rqt, u32 *rqns, u32 *vhca_ids,
|
D | rss.c | 76 struct mlx5e_rqt rqt; member 222 rqtn = mlx5e_rqt_get_rqtn(&rss->rqt); in mlx5e_rss_create_tir() 351 return mlx5e_rqt_init_direct(&rss->rqt, rss->mdev, true, in mlx5e_rss_init_no_tirs() 400 mlx5e_rqt_destroy(&rss->rqt); in mlx5e_rss_init() 418 mlx5e_rqt_destroy(&rss->rqt); in mlx5e_rss_cleanup() 480 err = mlx5e_rqt_redirect_indir(&rss->rqt, rqns, vhca_ids, num_rqns, rss->hash.hfunc, in mlx5e_rss_apply() 484 mlx5e_rqt_get_rqtn(&rss->rqt), err); in mlx5e_rss_apply() 499 err = mlx5e_rqt_redirect_direct(&rss->rqt, rss->drop_rqn, NULL); in mlx5e_rss_disable() 502 mlx5e_rqt_get_rqtn(&rss->rqt), rss->drop_rqn, err); in mlx5e_rss_disable()
|
D | rx_res.c | 31 struct mlx5e_rqt rqt; member 404 err = mlx5e_rqt_init_direct(&res->ptp.rqt, res->mdev, false, res->drop_rqn, in mlx5e_rx_res_ptp_init() 411 mlx5e_rqt_get_rqtn(&res->ptp.rqt), in mlx5e_rx_res_ptp_init() 422 mlx5e_rqt_destroy(&res->ptp.rqt); in mlx5e_rx_res_ptp_init() 444 mlx5e_rqt_destroy(&res->ptp.rqt); in mlx5e_rx_res_ptp_destroy() 587 err = mlx5e_rqt_redirect_direct(&res->ptp.rqt, rqn, NULL); in mlx5e_rx_res_channels_activate() 590 mlx5e_rqt_get_rqtn(&res->ptp.rqt), in mlx5e_rx_res_channels_activate() 606 err = mlx5e_rqt_redirect_direct(&res->ptp.rqt, res->drop_rqn, NULL); in mlx5e_rx_res_channels_deactivate() 609 mlx5e_rqt_get_rqtn(&res->ptp.rqt), in mlx5e_rx_res_channels_deactivate()
|
/linux-6.12.1/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 353 rdev->stats.rqt.cur += roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_alloc() 354 if (rdev->stats.rqt.cur > rdev->stats.rqt.max) in c4iw_rqtpool_alloc() 355 rdev->stats.rqt.max = rdev->stats.rqt.cur; in c4iw_rqtpool_alloc() 358 rdev->stats.rqt.fail++; in c4iw_rqtpool_alloc() 376 rdev->stats.rqt.cur -= roundup(size << 6, 1 << MIN_RQT_SHIFT); in c4iw_rqtpool_free()
|
D | device.c | 491 dev->rdev.stats.rqt.total, dev->rdev.stats.rqt.cur, in stats_show() 492 dev->rdev.stats.rqt.max, dev->rdev.stats.rqt.fail); in stats_show() 532 dev->rdev.stats.rqt.max = 0; in stats_clear() 533 dev->rdev.stats.rqt.fail = 0; in stats_clear() 534 dev->rdev.stats.rqt.max = 0; in stats_clear() 535 dev->rdev.stats.rqt.fail = 0; in stats_clear() 845 rdev->stats.rqt.total = rdev->lldi.vr->rq.size; in c4iw_rdev_open()
|
D | iw_cxgb4.h | 133 struct c4iw_stat rqt; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 25 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en/rqt.o en/tir.o en/rss.o en/rx_res.o \
|