Home
last modified time | relevance | path

Searched refs:opmod (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_txrx.c82 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_static_params() local
88 cseg->opmod_idx_opcode = cpu_to_be32((pc << 8) | MLX5_OPCODE_UMR | (opmod << 24)); in mlx5e_ktls_build_static_params()
124 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_progress_params() local
131 cpu_to_be32((pc << 8) | MLX5_OPCODE_SET_PSV | (opmod << 24)); in mlx5e_ktls_build_progress_params()
/linux/include/linux/mlx5/
H A Dvport.h58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
59 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
138 u16 opmod);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument
53 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
65 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() argument
72 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
1222 u16 opmod) in mlx5_vport_get_other_func_cap() argument
1244 opmod = (opmod << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_vport_get_other_func_cap()
1246 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap()
1283 u16 vport, u16 opmod) in mlx5_vport_set_other_func_cap() argument
1313 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
H A Dfs_cmd.c544 int opmod, int modify_mask, in mlx5_cmd_set_fte() argument
575 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
792 int opmod; in mlx5_cmd_update_fte() local
799 opmod = 1; in mlx5_cmd_update_fte()
801 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte); in mlx5_cmd_update_fte()
H A Deswitch.c1791 u16 opmod = (MLX5_CAP_GENERAL << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_query_hca_cap_host_pf() local
1795 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_query_hca_cap_host_pf()
2182 int opmod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_eswitch_set_vport_state() local
2192 opmod = MLX5_VPORT_STATE_OP_MOD_UPLINK; in mlx5_eswitch_set_vport_state()
2202 err = mlx5_modify_vport_admin_state(esw->dev, opmod, vport, other_vport, link_state); in mlx5_eswitch_set_vport_state()
2205 vport, opmod, err); in mlx5_eswitch_set_vport_state()
H A Dmain.c368 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local
381 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode()
423 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() argument
426 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcq.c147 int cq_num, u8 opmod) in mlx4_SW2HW_CQ() argument
149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ()
155 int cq_num, u32 opmod) in mlx4_MODIFY_CQ() argument
157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.h58 u16 opmod, u8 port);
H A Dcmd.c181 u16 opmod, u8 port) in mlx5_cmd_mad_ifc() argument
197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
H A Dwr.c762 u8 opmod = 0; in mlx5r_finish_wqe() local
765 mlx5_opcode | ((u32)opmod << 24)); in mlx5r_finish_wqe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Drule.c252 ste_attr->send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in hws_rule_create_init()
494 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in hws_rule_destroy_hws()
585 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in mlx5hws_rule_move_hws_remove()
631 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in mlx5hws_rule_move_hws_add()
H A Dsend.c31 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in mlx5hws_send_all_dep_wqe()
150 cpu_to_be32((attr->opmod << 24) | in mlx5hws_send_engine_post_end()
267 send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in hws_send_engine_retry_post_send()
1229 wqe_ctrl.opmod_idx_opcode = cpu_to_be32((send_attr->opmod << 24) | send_attr->opcode); in hws_send_wqe_fw()
H A Dpat_arg.c294 send_attr->opmod = MLX5HWS_WQE_GTA_OPMOD_MOD_ARG; in mlx5d_arg_init_send_attr()
H A Daction.c1719 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in hws_action_create_dest_match_range_fill_table()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c647 u16 opmod = (MLX5_CAP_VDPA_EMULATION << 1) | (HCA_CAP_OPMOD_GET_CUR & 0x01); in read_umem_params() local
660 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in read_umem_params()
2786 static u8 query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in query_vport_state() argument
2793 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in query_vport_state()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1537 int opmod, int modify_mask,