Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Drqt.c43 static void fill_rqn_list(void *rqtc, u32 *rqns, u32 *vhca_ids, unsigned int size) in fill_rqn_list() argument
48 MLX5_SET(rqtc, rqtc, rq_vhca_id_format, 1); in fill_rqn_list()
50 MLX5_SET(rqtc, rqtc, rq_vhca[i].rq_num, rqns[i]); in fill_rqn_list()
51 MLX5_SET(rqtc, rqtc, rq_vhca[i].rq_vhca_id, vhca_ids[i]); in fill_rqn_list()
55 MLX5_SET(rqtc, rqtc, rq_num[i], rqns[i]); in fill_rqn_list()
62 void *rqtc; in mlx5e_rqt_init() local
79 rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in mlx5e_rqt_init()
81 MLX5_SET(rqtc, rqtc, rqt_max_size, rqt->size); in mlx5e_rqt_init()
82 MLX5_SET(rqtc, rqtc, rqt_actual_size, init_size); in mlx5e_rqt_init()
84 fill_rqn_list(rqtc, init_rqns, init_vhca_ids, init_size); in mlx5e_rqt_init()
[all …]
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1745 void *rqtc; in create_rqt() local
1757 rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in create_rqt()
1759 MLX5_SET(rqtc, rqtc, list_q_type, MLX5_RQTC_LIST_Q_TYPE_VIRTIO_NET_Q); in create_rqt()
1760 MLX5_SET(rqtc, rqtc, rqt_max_size, rqt_table_size); in create_rqt()
1761 list = MLX5_ADDR_OF(rqtc, rqtc, rq_num[0]); in create_rqt()
1765 MLX5_SET(rqtc, rqtc, rqt_actual_size, act_sz); in create_rqt()
1780 void *rqtc; in modify_rqt() local
1793 rqtc = MLX5_ADDR_OF(modify_rqt_in, in, ctx); in modify_rqt()
1794 MLX5_SET(rqtc, rqtc, list_q_type, MLX5_RQTC_LIST_Q_TYPE_VIRTIO_NET_Q); in modify_rqt()
1796 list = MLX5_ADDR_OF(rqtc, rqtc, rq_num[0]); in modify_rqt()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c5509 void *rqtc; in mlx5_ib_create_rwq_ind_table() local
5534 rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in mlx5_ib_create_rwq_ind_table()
5536 MLX5_SET(rqtc, rqtc, rqt_actual_size, sz); in mlx5_ib_create_rwq_ind_table()
5537 MLX5_SET(rqtc, rqtc, rqt_max_size, sz); in mlx5_ib_create_rwq_ind_table()
5540 MLX5_SET(rqtc, rqtc, rq_num[i], init_attr->ind_tbl[i]->wq_num); in mlx5_ib_create_rwq_ind_table()