Home
last modified time | relevance | path

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

12

/linux/include/linux/mlx5/
H A 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
H A Ddriver.h984 u16 op_mod; /* cmd op_mod */ member
996 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out);
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dmlx5_ifc_vhca_event.h42 u8 op_mod[0x10]; member
71 u8 op_mod[0x10]; member
/linux/drivers/fwctl/mlx5/
H A Dmain.c35 u8 op_mod[0x10]; member
183 u16 op_mod = MLX5_GET(mbox_in_hdr, in, op_mod); in mlx5ctl_validate_rpc() local
298 if (op_mod == 0) /* write */ in mlx5ctl_validate_rpc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c64 u8 op_mod[0x10]; member
816 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out) in mlx5_cmd_out_err() argument
823 mlx5_command_str(opcode), opcode, op_mod, in mlx5_cmd_out_err()
830 u16 opcode, op_mod; in cmd_status_print() local
835 op_mod = MLX5_GET(mbox_in, in, op_mod); in cmd_status_print()
841 mlx5_cmd_out_err(dev, opcode, op_mod, out); in cmd_status_print()
2033 static void mlx5_cmd_err_trace(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out) in mlx5_cmd_err_trace() argument
2038 trace_mlx5_cmd(mlx5_command_str(opcode), opcode, op_mod, in mlx5_cmd_err_trace()
2069 static int cmd_status_err(struct mlx5_core_dev *dev, int err, u16 opcode, u16 op_mod, void *out) in cmd_status_err() argument
2079 mlx5_cmd_err_trace(dev, opcode, op_mod, out); in cmd_status_err()
[all …]
H A Dvport.c53 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
75 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_admin_state()
94 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
116 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_max_tx_speed()
125 int mlx5_query_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 op_mod, in mlx5_query_vport_max_tx_speed() argument
135 MLX5_SET(query_vport_state_in, in, op_mod, op_mod); in mlx5_query_vport_max_tx_speed()
1112 MLX5_SET(query_vnic_env_in, in, op_mod, 0); in mlx5_query_vport_down_stats()
1320 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap()
1387 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
H A Dfs_cmd.c234 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_cmd_update_root_ft()
267 MLX5_SET(set_flow_table_root_in, in, op_mod, 0); in mlx5_cmd_update_root_ft()
321 switch (ft->op_mod) { in mlx5_cmd_create_flow_table()
337 MLX5_SET(create_flow_table_in, in, op_mod, 0x1); in mlx5_cmd_create_flow_table()
395 if (ft->op_mod == FS_FT_OP_MOD_LAG_DEMUX) { in mlx5_cmd_modify_flow_table()
575 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
870 MLX5_SET(query_flow_counter_in, in, op_mod, 0); in mlx5_cmd_fc_query()
1210 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_fs_cmd_set_tx_flow_table_root()
H 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()
541 MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_TAKE); in reclaim_pages()
H A Dpci_irq.c136 MLX5_SET(set_hca_cap_in, hca_cap, op_mod, in mlx5_set_msix_vec_count()
H A Dfs_core.c945 enum fs_flow_table_op_mod op_mod) in alloc_flow_table() argument
962 ft->op_mod = op_mod; in alloc_flow_table()
1338 enum fs_flow_table_op_mod op_mod, in __mlx5_create_flow_table() argument
1374 ft = alloc_flow_table(ft_attr, vport, root->table_type, op_mod); in __mlx5_create_flow_table()
H 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()
H A Deswitch.c1824 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_query_hca_cap_host_pf()
2327 MLX5_SET(query_vport_counter_in, in, op_mod, 0); in mlx5_eswitch_get_vport_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H 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()
/linux/drivers/vfio/pci/mlx5/
H 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);
H 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()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c1770 u8 op_mod = 0; in mthca_MODIFY_QP() local
1775 op_mod = 3; /* don't write outbox, any->reset */ in mthca_MODIFY_QP()
1782 op_mod = 2; /* write outbox, any->reset */ in mthca_MODIFY_QP()
1788 (!!is_ee << 24) | num, op_mod, in mthca_MODIFY_QP()
1823 op_mod, op[cur][next], CMD_TIME_CLASS_C); in mthca_MODIFY_QP()
1838 u8 op_mod; in mthca_CONF_SPECIAL_QP() local
1842 op_mod = 0; in mthca_CONF_SPECIAL_QP()
1845 op_mod = 1; in mthca_CONF_SPECIAL_QP()
1848 op_mod = 2; in mthca_CONF_SPECIAL_QP()
1851 op_mod = 3; in mthca_CONF_SPECIAL_QP()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c951 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1010 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1047 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1073 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1148 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1165 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
/linux/drivers/infiniband/hw/mlx5/
H 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()
H 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()
H A Ddevx.c859 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_create_cmd() local
860 if (op_mod == 0) in devx_is_obj_create_cmd()
912 u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in devx_is_obj_modify_cmd() local
914 if (op_mod == 1) in devx_is_obj_modify_cmd()
H A Dcmd.c197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
H A Dmain.c1617 u8 op_mod, u16 vport, in mlx5_ib_query_port_speed_from_vport() argument
1625 err = mlx5_query_vport_max_tx_speed(mdev, op_mod, vport, other_vport, in mlx5_ib_query_port_speed_from_vport()
1658 u16 op_mod = MLX5_VPORT_STATE_OP_MOD_VNIC_VPORT; in mlx5_ib_query_port_speed_non_rep() local
1664 return mlx5_ib_query_port_speed_from_vport(dev->mdev, op_mod, 0, false, in mlx5_ib_query_port_speed_non_rep()
1673 u16 op_mod; in mlx5_ib_query_port_speed_rep() local
1696 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_ib_query_port_speed_rep()
1697 return mlx5_ib_query_port_speed_from_vport(dev->mdev, op_mod, in mlx5_ib_query_port_speed_rep()
/linux/drivers/net/ethernet/mellanox/mlx4/
H 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()
H 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c1058 u16 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_lag_modify_device_vports_speed() local
1077 ret = mlx5_modify_vport_max_tx_speed(mdev, op_mod, in mlx5_lag_modify_device_vports_speed()

12