Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/diag/
A 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,
/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dmlx5_ifc_vhca_event.h42 u8 op_mod[0x10]; member
71 u8 op_mod[0x10]; member
/drivers/fwctl/mlx5/
A Dmain.c35 u8 op_mod[0x10]; member
180 u16 op_mod = MLX5_GET(mbox_in_hdr, in, op_mod); in mlx5ctl_validate_rpc() local
291 if (op_mod == 0) /* write */ in mlx5ctl_validate_rpc()
/drivers/net/ethernet/mellanox/mlx5/core/
A Dcmd.c64 u8 op_mod[0x10]; member
818 mlx5_command_str(opcode), opcode, op_mod, in mlx5_cmd_out_err()
825 u16 opcode, op_mod; in cmd_status_print() local
830 op_mod = MLX5_GET(mbox_in, in, op_mod); in cmd_status_print()
836 mlx5_cmd_out_err(dev, opcode, op_mod, out); in cmd_status_print()
2020 mlx5_cmd_err_trace(dev, opcode, op_mod, out); in cmd_status_err()
2048 u16 op_mod = MLX5_GET(mbox_in, in, op_mod); in mlx5_cmd_do() local
2051 return cmd_status_err(dev, err, opcode, op_mod, out); in mlx5_cmd_do()
2094 u16 op_mod = MLX5_GET(mbox_in, in, op_mod); in mlx5_cmd_exec_polling() local
2097 err = cmd_status_err(dev, err, opcode, op_mod, out); in mlx5_cmd_exec_polling()
[all …]
A Dfs_cmd.c234 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_cmd_update_root_ft()
263 MLX5_SET(set_flow_table_root_in, in, op_mod, 0); in mlx5_cmd_update_root_ft()
313 switch (ft->op_mod) { in mlx5_cmd_create_flow_table()
329 MLX5_SET(create_flow_table_in, in, op_mod, 0x1); in mlx5_cmd_create_flow_table()
383 if (ft->op_mod == FS_FT_OP_MOD_LAG_DEMUX) { in mlx5_cmd_modify_flow_table()
551 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
839 MLX5_SET(query_flow_counter_in, in, op_mod, 0); in mlx5_cmd_fc_query()
1178 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_fs_cmd_set_tx_flow_table_root()
A 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()
A 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()
1037 MLX5_SET(query_vnic_env_in, in, op_mod, 0); in mlx5_query_vport_down_stats()
1200 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap()
1247 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
A Dfs_core.h213 enum fs_flow_table_op_mod op_mod; member
A Dfs_core.c944 enum fs_flow_table_op_mod op_mod, in alloc_flow_table() argument
962 ft->op_mod = op_mod; in alloc_flow_table()
1337 enum fs_flow_table_op_mod op_mod, in __mlx5_create_flow_table() argument
1376 op_mod, ft_attr->flags); in __mlx5_create_flow_table()
A Dpci_irq.c136 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count()
A Dmain.c381 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode()
426 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
A Deswitch.c1663 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_query_hca_cap_host_pf()
2152 MLX5_SET(query_vport_counter_in, in, op_mod, 0); in mlx5_eswitch_get_vport_stats()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
A 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()
/drivers/vfio/pci/mlx5/
A Dcmd.h197 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
198 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
A 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()
771 MLX5_SET(save_vhca_state_in, in, op_mod, 0); in mlx5vf_cmd_save_vhca_state()
852 MLX5_SET(load_vhca_state_in, in, op_mod, 0); in mlx5vf_cmd_load_vhca_state()
/drivers/infiniband/hw/mthca/
A 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 …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dcmd.c950 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1009 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1046 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1072 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1147 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1164 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1218 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_gvmi()
/drivers/infiniband/hw/mlx5/
A 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()
A 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()
A Dstd_types.c98 MLX5_SET(query_hca_cap_in, in, op_mod, in fill_vport_vhca_id()
A Ddevx.c858 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_create_cmd() local
859 if (op_mod == 0) in devx_is_obj_create_cmd()
911 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_modify_cmd() local
913 if (op_mod == 1) in devx_is_obj_modify_cmd()
A Dcmd.c197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
/drivers/net/ethernet/mellanox/mlx4/
A 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()
A Dport.c1313 u8 op_mod, struct mlx4_cmd_mailbox *inbox) in mlx4_common_set_port() argument
1336 is_eth = op_mod; in mlx4_common_set_port()
1449 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1456 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1462 if (op_mod == MLX4_SET_PORT_BEACON_OPCODE) { in mlx4_common_set_port()
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A 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()

Completed in 77 milliseconds

12