Home
last modified time | relevance | path

Searched refs:general_obj_in_cmd_hdr (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dgeneve.c36 MLX5_SET(general_obj_in_cmd_hdr, hdr, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in mlx5_geneve_tlv_option_create()
37 MLX5_SET(general_obj_in_cmd_hdr, hdr, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_create()
54 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5_geneve_tlv_option_destroy()
56 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in mlx5_geneve_tlv_option_destroy()
57 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in mlx5_geneve_tlv_option_destroy()
58 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_geneve_tlv_option_destroy()
A Ddm.c143 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_dm_sw_icm_alloc()
145 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in mlx5_dm_sw_icm_alloc()
146 MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); in mlx5_dm_sw_icm_alloc()
221 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5_dm_sw_icm_dealloc()
249 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_dm_sw_icm_dealloc()
251 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in mlx5_dm_sw_icm_dealloc()
252 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_dm_sw_icm_dealloc()
253 MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); in mlx5_dm_sw_icm_dealloc()
A Dcrypto.c166 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_crypto_create_dek_bulk()
168 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_crypto_create_dek_bulk()
197 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_crypto_modify_dek_key()
199 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_crypto_modify_dek_key()
201 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_crypto_modify_dek_key()
238 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_crypto_create_dek_key()
240 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_crypto_create_dek_key()
263 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5_crypto_destroy_dek_key()
266 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_crypto_destroy_dek_key()
268 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_crypto_destroy_dek_key()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_offload.c140 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_create_ipsec_obj()
142 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_create_ipsec_obj()
160 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5_destroy_ipsec_obj()
163 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_destroy_ipsec_obj()
165 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_destroy_ipsec_obj()
167 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_destroy_ipsec_obj()
228 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_QUERY_GENERAL_OBJECT); in mlx5_modify_ipsec_obj()
229 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_IPSEC); in mlx5_modify_ipsec_obj()
230 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_modify_ipsec_obj()
254 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_MODIFY_GENERAL_OBJECT); in mlx5_modify_ipsec_obj()
A Dmacsec.c302 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in mlx5e_macsec_create_object()
303 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_MACSEC); in mlx5e_macsec_create_object()
320 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5e_macsec_destroy_object()
323 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in mlx5e_macsec_destroy_object()
324 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_MACSEC); in mlx5e_macsec_destroy_object()
325 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_obj_id); in mlx5e_macsec_destroy_object()
1336 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_QUERY_GENERAL_OBJECT); in mlx5e_macsec_modify_obj()
1337 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_MACSEC); in mlx5e_macsec_modify_obj()
1338 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_id); in mlx5e_macsec_modify_obj()
1364 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_MODIFY_GENERAL_OBJECT); in mlx5e_macsec_modify_obj()
/linux-6.3-rc2/include/linux/mlx5/
A Dmlx5_ifc_vdpa.h113 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
131 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
167 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
A Dmlx5_ifc.h6351 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
11911 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
11926 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12001 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12006 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12079 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12084 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12162 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12194 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
12464 struct mlx5_ifc_general_obj_in_cmd_hdr_bits general_obj_in_cmd_hdr; member
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Ddevx.c374 MLX5_GET(general_obj_in_cmd_hdr, in, in devx_get_obj_id()
376 MLX5_GET(general_obj_in_cmd_hdr, in, in devx_get_obj_id()
1080 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER()
1101 *dinlen = MLX5_ST_SZ_BYTES(general_obj_in_cmd_hdr); in devx_obj_build_destroy_cmd()
1102 MLX5_SET(general_obj_in_cmd_hdr, din, uid, uid); in devx_obj_build_destroy_cmd()
1108 MLX5_SET(general_obj_in_cmd_hdr, din, obj_type, in devx_obj_build_destroy_cmd()
1109 MLX5_GET(general_obj_in_cmd_hdr, in, obj_type)); in devx_obj_build_destroy_cmd()
1487 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER()
1593 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER()
1640 MLX5_SET(general_obj_in_cmd_hdr, cmd_in, uid, uid); in UVERBS_HANDLER()
[all …]
A Dfs.c1775 u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode); in is_flow_dest()
1780 *dest_id = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, in is_flow_dest()
1886 u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode); in is_flow_counter()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dmeter.c210 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in mlx5e_flow_meter_create_aso_obj()
211 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5e_flow_meter_create_aso_obj()
213 param = MLX5_ADDR_OF(general_obj_in_cmd_hdr, in, op_param); in mlx5e_flow_meter_create_aso_obj()
232 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5e_flow_meter_destroy_aso_obj()
235 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in mlx5e_flow_meter_destroy_aso_obj()
236 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5e_flow_meter_destroy_aso_obj()
238 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5e_flow_meter_destroy_aso_obj()
A Dsample.c137 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); in sampler_obj_create()
138 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_SAMPLER); in sampler_obj_create()
150 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in sampler_obj_destroy()
153 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in sampler_obj_destroy()
154 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_GENERAL_OBJECT_TYPES_SAMPLER); in sampler_obj_destroy()
155 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sampler_id); in sampler_obj_destroy()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_cmd.c246 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5dr_cmd_query_flow_sampler()
250 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5dr_cmd_query_flow_sampler()
252 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5dr_cmd_query_flow_sampler()
254 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sampler_id); in mlx5dr_cmd_query_flow_sampler()
607 general_obj_in_cmd_hdr); in mlx5dr_cmd_create_definer()
608 MLX5_SET(general_obj_in_cmd_hdr, ptr, opcode, in mlx5dr_cmd_create_definer()
610 MLX5_SET(general_obj_in_cmd_hdr, ptr, obj_type, in mlx5dr_cmd_create_definer()
634 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5dr_cmd_destroy_definer()
637 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in mlx5dr_cmd_destroy_definer()
638 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_MATCH_DEFINER); in mlx5dr_cmd_destroy_definer()
[all …]
/linux-6.3-rc2/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c815 cmd_hdr = MLX5_ADDR_OF(create_virtio_net_q_in, in, general_obj_in_cmd_hdr); in create_virtqueue()
819 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in create_virtqueue()
1061 cmd_hdr = MLX5_ADDR_OF(query_virtio_net_q_in, in, general_obj_in_cmd_hdr); in query_virtqueue()
1065 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, mvq->virtq_id); in query_virtqueue()
1066 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in query_virtqueue()
1117 cmd_hdr = MLX5_ADDR_OF(modify_virtio_net_q_in, in, general_obj_in_cmd_hdr); in modify_virtqueue()
1121 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_id, mvq->virtq_id); in modify_virtqueue()
1122 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in modify_virtqueue()
1150 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in counter_set_alloc()
2769 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, uid, ndev->mvdev.res.uid); in counter_set_query()
[all …]
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dcmd.c814 general_obj_in_cmd_hdr); in mlx5vf_create_tracker()
815 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, in mlx5vf_create_tracker()
817 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, in mlx5vf_create_tracker()
867 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5vf_cmd_destroy_tracker()
870 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in mlx5vf_cmd_destroy_tracker()
871 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_PAGE_TRACK); in mlx5vf_cmd_destroy_tracker()
872 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, tracker_id); in mlx5vf_cmd_destroy_tracker()
886 cmd_hdr = MLX5_ADDR_OF(modify_page_track_obj_in, in, general_obj_in_cmd_hdr); in mlx5vf_cmd_modify_tracker()
887 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, opcode, MLX5_CMD_OP_MODIFY_GENERAL_OBJECT); in mlx5vf_cmd_modify_tracker()
888 MLX5_SET(general_obj_in_cmd_hdr, cmd_hdr, obj_type, MLX5_OBJ_TYPE_PAGE_TRACK); in mlx5vf_cmd_modify_tracker()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c993 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in mlx5_cmd_destroy_match_definer()
996 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5_cmd_destroy_match_definer()
998 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in mlx5_cmd_destroy_match_definer()
1000 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, definer_id); in mlx5_cmd_destroy_match_definer()
1014 MLX5_SET(create_match_definer_in, in, general_obj_in_cmd_hdr.opcode, in mlx5_cmd_create_match_definer()
1016 MLX5_SET(create_match_definer_in, in, general_obj_in_cmd_hdr.obj_type, in mlx5_cmd_create_match_definer()

Completed in 109 milliseconds