Home
last modified time | relevance | path

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

/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 Dvport.h63 int mlx5_query_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 op_mod,
H A Ddriver.h987 u16 op_mod; /* cmd op_mod */ member
999 void mlx5_cmd_out_err(struct mlx5_core_dev *dev, u16 opcode, u16 op_mod, void *out);
/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/esw/
H A Dadj_vport.c16 MLX5_SET(modify_vport_state_in, in, op_mod, in mlx5_esw_adj_vport_modify()
15 u8 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; mlx5_esw_adj_vport_modify() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
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()
98 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
124 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
133 int mlx5_query_vport_max_tx_speed(struct mlx5_core_dev *mdev, u8 op_mod, in mlx5_modify_vport_max_tx_speed()
143 MLX5_SET(query_vport_state_in, in, op_mod, op_mod); in mlx5_modify_vport_max_tx_speed()
1156 MLX5_SET(query_vnic_env_in, in, op_mod, 0); in mlx5_core_query_vport_counter()
1364 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap()
1431 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmo in mlx5_vport_set_other_func_cap()
157 mlx5_query_vport_max_tx_speed(struct mlx5_core_dev * mdev,u8 op_mod,u16 vport,u8 other_vport,u32 * max_tx_speed,u8 * state) mlx5_query_vport_max_tx_speed() argument
[all...]
H A Dfs_core.h194 enum fs_flow_table_op_mod op_mod; member
H A Dmain.c317 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode()
362 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
H A Dport.c57 MLX5_SET(access_register_in, in, op_mod, !write); in mlx5_access_reg()
H A Deswitch.c1099 MLX5_SET(query_esw_functions_in, in, op_mod, in mlx5_esw_query_functions()
2846 MLX5_SET(query_vport_counter_in, in, op_mod, 0); in mlx5_eswitch_get_vport_stats()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h204 int mlx5vf_cmd_suspend_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
205 int mlx5vf_cmd_resume_vhca(struct mlx5vf_pci_core_device *mvdev, u16 op_mod);
/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.c952 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1011 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1048 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1074 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1149 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
1166 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5hws_cmd_query_caps()
/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/infiniband/hw/mlx5/
H A Dcmd.c197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
H A Dmain.c1627 u8 op_mod, u16 vport, in mlx5_ib_query_port_speed_from_vport() argument
1636 err = mlx5_query_vport_max_tx_speed(mdev, op_mod, vport, other_vport, in mlx5_ib_query_port_speed_from_vport()
1669 u16 op_mod = MLX5_VPORT_STATE_OP_MOD_VNIC_VPORT; in mlx5_ib_query_port_speed_non_rep() local
1675 return mlx5_ib_query_port_speed_from_vport(dev->mdev, op_mod, 0, false, in mlx5_ib_query_port_speed_non_rep()
1684 u16 op_mod; in mlx5_ib_query_port_speed_rep() local
1704 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_ib_query_port_speed_rep()
1705 return mlx5_ib_query_port_speed_from_vport(dev->mdev, op_mod, in mlx5_ib_query_port_speed_rep()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c1520 u16 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_lag_set_vports_agg_speed()
1545 ret = mlx5_modify_vport_max_tx_speed(mdev, op_mod, in mlx5_lag_set_vports_agg_speed()
1485 u16 op_mod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; mlx5_lag_modify_device_vports_speed() local
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c660 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in read_umem_params()
2804 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in query_vport_state()