Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.c28 mlx5_mp_req_mr_create(struct mlx5_mp_id *mp_id, uintptr_t addr) in mlx5_mp_req_mr_create() argument
39 mp_init_msg(mp_id, &mp_req, MLX5_MP_REQ_CREATE_MR); in mlx5_mp_req_mr_create()
44 mp_id->port_id); in mlx5_mp_req_mr_create()
69 mlx5_mp_req_queue_state_modify(struct mlx5_mp_id *mp_id, in mlx5_mp_req_queue_state_modify() argument
81 mp_init_msg(mp_id, &mp_req, MLX5_MP_REQ_QUEUE_STATE_MODIFY); in mlx5_mp_req_queue_state_modify()
86 mp_id->port_id); in mlx5_mp_req_queue_state_modify()
107 mlx5_mp_req_verbs_cmd_fd(struct mlx5_mp_id *mp_id) in mlx5_mp_req_verbs_cmd_fd() argument
117 mp_init_msg(mp_id, &mp_req, MLX5_MP_REQ_VERBS_CMD_FD); in mlx5_mp_req_verbs_cmd_fd()
121 mp_id->port_id); in mlx5_mp_req_verbs_cmd_fd()
131 mp_id->port_id); in mlx5_mp_req_verbs_cmd_fd()
[all …]
H A Dmlx5_common_mp.h71 mp_init_msg(struct mlx5_mp_id *mp_id, struct rte_mp_msg *msg, in mp_init_msg() argument
77 strlcpy(msg->name, mp_id->name, sizeof(msg->name)); in mp_init_msg()
80 param->port_id = mp_id->port_id; in mp_init_msg()
92 int mlx5_mp_req_mr_create(struct mlx5_mp_id *mp_id, uintptr_t addr);
94 int mlx5_mp_req_queue_state_modify(struct mlx5_mp_id *mp_id,
97 int mlx5_mp_req_verbs_cmd_fd(struct mlx5_mp_id *mp_id);
H A Dmlx5_common_mr.c539 struct mlx5_mp_id *mp_id, in mlx5_mr_create_secondary() argument
547 mp_id->port_id, (void *)addr); in mlx5_mr_create_secondary()
548 ret = mlx5_mp_req_mr_create(mp_id, addr); in mlx5_mr_create_secondary()
826 mlx5_mr_create(void *pd, struct mlx5_mp_id *mp_id, in mlx5_mr_create() argument
839 ret = mlx5_mr_create_secondary(pd, mp_id, share_cache, entry, in mlx5_mr_create()
868 mr_lookup_caches(void *pd, struct mlx5_mp_id *mp_id, in mr_lookup_caches() argument
898 lkey = mlx5_mr_create(pd, mp_id, share_cache, entry, addr, in mr_lookup_caches()
928 uint32_t mlx5_mr_addr2mr_bh(void *pd, struct mlx5_mp_id *mp_id, in mlx5_mr_addr2mr_bh() argument
949 lkey = mr_lookup_caches(pd, mp_id, share_cache, mr_ctrl, in mlx5_mr_addr2mr_bh()
H A Dmlx5_common_mr.h133 uint32_t mlx5_mr_addr2mr_bh(void *pd, struct mlx5_mp_id *mp_id,
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_mp_os.c44 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
54 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
61 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
67 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
73 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
79 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
85 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_primary_handle()
135 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_secondary_handle()
144 mp_init_msg(&priv->mp_id, &mp_res, param->type); in mlx5_mp_os_secondary_handle()
185 mp_init_msg(&priv->mp_id, &mp_req, type); in mp_req_on_rxtx()
[all …]
H A Dmlx5_os.c750 struct mlx5_mp_id mp_id; in mlx5_dev_spawn() local
771 mp_id.port_id = eth_dev->data->port_id; in mlx5_dev_spawn()
772 strlcpy(mp_id.name, MLX5_MP_NAME, RTE_MP_MAX_NAME_LEN); in mlx5_dev_spawn()
774 err = mlx5_mp_req_verbs_cmd_fd(&mp_id); in mlx5_dev_spawn()
944 priv->mp_id.port_id = port_id; in mlx5_dev_spawn()
945 strlcpy(priv->mp_id.name, MLX5_MP_NAME, RTE_MP_MAX_NAME_LEN); in mlx5_dev_spawn()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_mr.c177 return mlx5_mr_addr2mr_bh(priv->sh->pd, &priv->mp_id, in mlx5_rx_addr2mr_bh()
201 return mlx5_mr_addr2mr_bh(priv->sh->pd, &priv->mp_id, in mlx5_tx_addr2mr_bh()
286 mlx5_mr_addr2mr_bh(sh->pd, &priv->mp_id, &sh->share_cache, in mlx5_mr_update_ext_mp_cb()
508 lkey = mlx5_mr_addr2mr_bh(priv->sh->pd, &priv->mp_id, in mlx5_mr_update_mp_cb()
H A Dmlx5.h1006 struct mlx5_mp_id mp_id; /* ID of a multi-process process */ member
H A Dmlx5_rxtx.c977 ret = mlx5_mp_req_queue_state_modify(&priv->mp_id, sm); in mlx5_queue_state_modify()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c318 uint32_t tc, mp_id; in pkt_work_mtr() local
323 mp_id = MTR_TRTCM_DATA_METER_PROFILE_ID_GET(data); in pkt_work_mtr()
328 &mp[mp_id].profile, in pkt_work_mtr()