Home
last modified time | relevance | path

Searched refs:op_mod (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcmd_tracepoint.h14 TP_PROTO(const char *command_str, u16 opcode, u16 op_mod,
16 TP_ARGS(command_str, opcode, op_mod, status_str, status, syndrome, err),
19 __field(u16, op_mod)
27 __entry->op_mod = op_mod;
34 __get_str(command_str), __entry->opcode, __entry->op_mod,
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h1240 u8 op_mod[0x10]; member
1259 u8 op_mod[0x10]; member
4857 u8 op_mod[0x10]; member
4879 u8 op_mod[0x10]; member
4909 u8 op_mod[0x10]; member
4939 u8 op_mod[0x10]; member
4969 u8 op_mod[0x10]; member
4992 u8 op_mod[0x10]; member
5027 u8 op_mod[0x10]; member
5049 u8 op_mod[0x10]; member
[all …]
Dmlx5_ifc_fpga.h239 u8 op_mod[0x10]; member
265 u8 op_mod[0x10]; member
289 u8 op_mod[0x10]; member
313 u8 op_mod[0x10]; member
348 u8 op_mod[0x10]; member
Ddriver.h1019 u16 op_mod; /* cmd op_mod */ member
1029 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dmlx5_ifc_vhca_event.h42 u8 op_mod[0x10]; member
71 u8 op_mod[0x10]; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c64 u8 op_mod[0x10]; member
806 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out) in mlx5_cmd_out_err() argument
813 mlx5_command_str(opcode), opcode, op_mod, in mlx5_cmd_out_err()
820 u16 opcode, op_mod; in cmd_status_print() local
825 op_mod = MLX5_GET(mbox_in, in, op_mod); in cmd_status_print()
831 mlx5_cmd_out_err(dev, opcode, op_mod, out); in cmd_status_print()
1948 static void mlx5_cmd_err_trace(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out) in mlx5_cmd_err_trace() argument
1953 trace_mlx5_cmd(mlx5_command_str(opcode), opcode, op_mod, in mlx5_cmd_err_trace()
1984 static int cmd_status_err(struct mlx5_core_dev *dev, int err, u16 opcode, u16 op_mod, void *out) in cmd_status_err() argument
1994 mlx5_cmd_err_trace(dev, opcode, op_mod, out); in cmd_status_err()
[all …]
Dfs_cmd.c233 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_cmd_update_root_ft()
262 MLX5_SET(set_flow_table_root_in, in, op_mod, 0); in mlx5_cmd_update_root_ft()
312 switch (ft->op_mod) { in mlx5_cmd_create_flow_table()
328 MLX5_SET(create_flow_table_in, in, op_mod, 0x1); in mlx5_cmd_create_flow_table()
382 if (ft->op_mod == FS_FT_OP_MOD_LAG_DEMUX) { in mlx5_cmd_modify_flow_table()
550 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
840 MLX5_SET(query_flow_counter_in, in, op_mod, 0); in mlx5_cmd_fc_query()
1177 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_fs_cmd_set_tx_flow_table_root()
Dpagealloc.c206 MLX5_SET(query_pages_in, in, op_mod, boot ? in mlx5_cmd_query_pages()
343 MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_CANT_GIVE); in page_notify_fail()
391 MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_GIVE); in give_pages()
538 MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_TAKE); in reclaim_pages()
Dvport.c52 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
71 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
1031 MLX5_SET(query_vnic_env_in, in, op_mod, 0); in mlx5_query_vport_down_stats()
1194 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap()
1216 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
Dfs_core.h199 enum fs_flow_table_op_mod op_mod; member
Dfs_core.c932 enum fs_flow_table_op_mod op_mod, in alloc_flow_table() argument
950 ft->op_mod = op_mod; in alloc_flow_table()
1325 enum fs_flow_table_op_mod op_mod, in __mlx5_create_flow_table() argument
1364 op_mod, ft_attr->flags); in __mlx5_create_flow_table()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c111 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in esw_ipsec_vf_set_generic()
162 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in esw_ipsec_vf_set_bytype()
197 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in esw_ipsec_vf_crypto_aux_caps_set()
/linux-6.12.1/drivers/vfio/pci/mlx5/
Dcmd.h199 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
200 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
Dcmd.c38 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod) in mlx5vf_cmd_suspend_vhca() argument
63 MLX5_SET(suspend_vhca_in, in, op_mod, op_mod); in mlx5vf_cmd_suspend_vhca()
72 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod) in mlx5vf_cmd_resume_vhca() argument
83 MLX5_SET(resume_vhca_in, in, op_mod, op_mod); in mlx5vf_cmd_resume_vhca()
135 MLX5_SET(query_vhca_migration_state_in, in, op_mod, 0); in mlx5vf_cmd_query_vhca_migration_state()
300 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5vf_cmd_get_vhca_id()
712 MLX5_SET(save_vhca_state_in, in, op_mod, 0); in mlx5vf_cmd_save_vhca_state()
790 MLX5_SET(load_vhca_state_in, in, op_mod, 0); in mlx5vf_cmd_load_vhca_state()
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_cmd.c1771 u8 op_mod = 0; in mthca_MODIFY_QP() local
1776 op_mod = 3; /* don't write outbox, any->reset */ in mthca_MODIFY_QP()
1783 op_mod = 2; /* write outbox, any->reset */ in mthca_MODIFY_QP()
1789 (!!is_ee << 24) | num, op_mod, in mthca_MODIFY_QP()
1824 op_mod, op[cur][next], CMD_TIME_CLASS_C); in mthca_MODIFY_QP()
1839 u8 op_mod; in mthca_CONF_SPECIAL_QP() local
1843 op_mod = 0; in mthca_CONF_SPECIAL_QP()
1846 op_mod = 1; in mthca_CONF_SPECIAL_QP()
1849 op_mod = 2; in mthca_CONF_SPECIAL_QP()
1852 op_mod = 3; in mthca_CONF_SPECIAL_QP()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_cmd.c1018 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1077 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1114 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1140 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1215 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1232 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1286 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_gvmi()
Dmlx5hws_prm.h498 u8 op_mod[0x10]; member
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c181 MLX5_SET(arm_rq_in, in, op_mod, MLX5_ARM_RQ_IN_OP_MOD_SRQ); in arm_srq_cmd()
288 MLX5_SET(arm_xrc_srq_in, in, op_mod, in arm_xrc_srq_cmd()
553 MLX5_SET(arm_rq_in, in, op_mod, MLX5_ARM_RQ_IN_OP_MOD_XRQ); in arm_xrq_cmd()
Dstd_types.c98 MLX5_SET(query_hca_cap_in, in, op_mod, in fill_vport_vhca_id()
Ddm.c121 MLX5_SET(modify_memic_in, in, op_mod, MLX5_MODIFY_MEMIC_OP_MOD_DEALLOC); in mlx5_cmd_dealloc_memic_op()
137 MLX5_SET(modify_memic_in, in, op_mod, MLX5_MODIFY_MEMIC_OP_MOD_ALLOC); in mlx5_cmd_alloc_memic_op()
Ddevx.c816 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_create_cmd() local
817 if (op_mod == 0) in devx_is_obj_create_cmd()
869 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_modify_cmd() local
871 if (op_mod == 1) in devx_is_obj_modify_cmd()
Dcmd.c197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c108 u16 *hash, u8 op_mod) in mlx4_GID_HASH() argument
113 err = mlx4_cmd_imm(dev, mailbox->dma, &imm, 0, op_mod, in mlx4_GID_HASH()
704 u8 op_mod = (prot == MLX4_PROT_ETH) ? in find_entry() local
714 err = mlx4_GID_HASH(dev, mailbox, &hash, op_mod); in find_entry()
Dport.c1333 u8 op_mod, struct mlx4_cmd_mailbox *inbox) in mlx4_common_set_port() argument
1356 is_eth = op_mod; in mlx4_common_set_port()
1469 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1476 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1482 if (op_mod == MLX4_SET_PORT_BEACON_OPCODE) { in mlx4_common_set_port()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c52 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5dr_cmd_query_gvmi()
814 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5dr_cmd_set_fte()

12