Home
last modified time | relevance | path

Searched refs:mp_id (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.h77 mlx5_mp_id_init(struct mlx5_mp_id *mp_id, uint16_t port_id) in mlx5_mp_id_init() argument
79 mp_id->port_id = port_id; in mlx5_mp_id_init()
80 strlcpy(mp_id->name, MLX5_MP_NAME, RTE_MP_MAX_NAME_LEN); in mlx5_mp_id_init()
97 mp_init_msg(struct mlx5_mp_id *mp_id, struct rte_mp_msg *msg, in mp_init_msg() argument
103 strlcpy(msg->name, mp_id->name, sizeof(msg->name)); in mp_init_msg()
106 param->port_id = mp_id->port_id; in mp_init_msg()
143 int mlx5_mp_req_queue_state_modify(struct mlx5_mp_id *mp_id,
146 int mlx5_mp_req_verbs_cmd_fd(struct mlx5_mp_id *mp_id);
H A Dmlx5_common_mp.c117 mlx5_mp_req_queue_state_modify(struct mlx5_mp_id *mp_id, in mlx5_mp_req_queue_state_modify() argument
129 mp_init_msg(mp_id, &mp_req, MLX5_MP_REQ_QUEUE_STATE_MODIFY); in mlx5_mp_req_queue_state_modify()
134 mp_id->port_id); in mlx5_mp_req_queue_state_modify()
155 mlx5_mp_req_verbs_cmd_fd(struct mlx5_mp_id *mp_id) in mlx5_mp_req_verbs_cmd_fd() argument
165 mp_init_msg(mp_id, &mp_req, MLX5_MP_REQ_VERBS_CMD_FD); in mlx5_mp_req_verbs_cmd_fd()
169 mp_id->port_id); in mlx5_mp_req_verbs_cmd_fd()
179 mp_id->port_id); in mlx5_mp_req_verbs_cmd_fd()
186 mp_id->port_id, ret); in mlx5_mp_req_verbs_cmd_fd()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_mp_os.c93 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
100 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
106 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
112 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
118 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
124 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
189 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_secondary_handle()
198 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_secondary_handle()
239 mp_init_msg(&priv->mp_id, &mp_req, type); in mp_req_on_rxtx()
329 mp_init_msg(&priv->mp_id, &mp_req, req_type); in mlx5_mp_os_req_queue_control()
H A Dmlx5_os.c1081 struct mlx5_mp_id mp_id; in mlx5_dev_spawn() local
1096 mlx5_mp_id_init(&mp_id, eth_dev->data->port_id); in mlx5_dev_spawn()
1098 err = mlx5_mp_req_verbs_cmd_fd(&mp_id); in mlx5_dev_spawn()
1416 priv->mp_id.port_id = eth_dev->data->port_id; in mlx5_dev_spawn()
1417 strlcpy(priv->mp_id.name, MLX5_MP_NAME, RTE_MP_MAX_NAME_LEN); in mlx5_dev_spawn()
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c354 priv->mp_id.port_id = port_id; in mlx5_dev_spawn()
355 strlcpy(priv->mp_id.name, MLX5_MP_NAME, RTE_MP_MAX_NAME_LEN); in mlx5_dev_spawn()
/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx.c422 ret = mlx5_mp_req_queue_state_modify(&priv->mp_id, sm); in mlx5_queue_state_modify()
H A Dmlx5.h1515 struct mlx5_mp_id mp_id; /* ID of a multi-process process */ member
/dpdk/lib/pipeline/
H A Drte_table_action.c316 uint32_t tc, mp_id; in pkt_work_mtr() local
321 mp_id = MTR_TRTCM_DATA_METER_PROFILE_ID_GET(data); in pkt_work_mtr()
326 &mp[mp_id].profile, in pkt_work_mtr()