Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_txrx.c63 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_static_params() local
69 cseg->opmod_idx_opcode = cpu_to_be32((pc << 8) | MLX5_OPCODE_UMR | (opmod << 24)); in mlx5e_ktls_build_static_params()
105 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_progress_params() local
112 cpu_to_be32((pc << 8) | MLX5_OPCODE_SET_PSV | (opmod << 24)); in mlx5e_ktls_build_progress_params()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dvport.h66 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
67 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcmd.h62 u16 opmod, u8 port);
Dcmd.c275 u16 opmod, u8 port) in mlx5_cmd_mad_ifc() argument
291 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
Dwr.c983 u8 opmod = 0; in finish_wqe() local
986 mlx5_opcode | ((u32)opmod << 24)); in finish_wqe()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c392 int opmod, int modify_mask, in mlx5_cmd_set_fte() argument
422 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
581 int opmod; in mlx5_cmd_update_fte() local
588 opmod = 1; in mlx5_cmd_update_fte()
590 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte); in mlx5_cmd_update_fte()
Dvport.c43 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument
51 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
63 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() argument
70 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
Dmain.c368 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local
377 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode()
419 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() argument
422 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
Deswitch.c1961 int opmod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_eswitch_set_vport_state() local
1971 opmod = MLX5_VPORT_STATE_OP_MOD_UPLINK; in mlx5_eswitch_set_vport_state()
1977 err = mlx5_modify_vport_admin_state(esw->dev, opmod, vport, other_vport, link_state); in mlx5_eswitch_set_vport_state()
1980 vport, opmod, err); in mlx5_eswitch_set_vport_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c522 int opmod, int modify_mask, in mlx5dr_cmd_set_fte() argument
552 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5dr_cmd_set_fte()
Ddr_types.h1130 int opmod, int modify_mask,