Searched refs:devx_obj (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | flow.c | 77 void *devx_obj; in UVERBS_HANDLER() local 113 devx_obj = uverbs_attr_get_obj( in UVERBS_HANDLER() 115 if (IS_ERR(devx_obj)) in UVERBS_HANDLER() 116 return PTR_ERR(devx_obj); in UVERBS_HANDLER() 121 if (!mlx5_ib_devx_is_flow_dest(devx_obj, &dest_id, &dest_type)) in UVERBS_HANDLER() 152 devx_obj = arr_flow_actions[0]->object; in UVERBS_HANDLER() 154 if (!mlx5_ib_devx_is_flow_counter(devx_obj, &counter_id)) in UVERBS_HANDLER()
|
D | devx.c | 93 struct devx_obj { struct 175 struct devx_obj *devx_obj = obj; in mlx5_ib_devx_is_flow_dest() local 176 u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode); in mlx5_ib_devx_is_flow_dest() 181 *dest_id = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, in mlx5_ib_devx_is_flow_dest() 187 *dest_id = MLX5_GET(destroy_flow_table_in, devx_obj->dinbox, in mlx5_ib_devx_is_flow_dest() 197 struct devx_obj *devx_obj = obj; in mlx5_ib_devx_is_flow_counter() local 198 u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode); in mlx5_ib_devx_is_flow_counter() 202 devx_obj->dinbox, in mlx5_ib_devx_is_flow_counter() 260 static u16 get_dec_obj_type(struct devx_obj *obj, u16 event_num) in get_dec_obj_type() 647 return ((struct devx_obj *)uobj->object)->obj_id == obj_id; in devx_is_valid_obj_id() [all …]
|