/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ktls_txrx.c | 82 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-6.3-rc2/include/linux/mlx5/ |
A D | vport.h | 58 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, 136 u16 opmod);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | vport.c | 44 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument 52 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state() 64 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() argument 71 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state() 1164 u16 opmod) in mlx5_vport_get_other_func_cap() argument 1168 opmod = (opmod << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_vport_get_other_func_cap() 1170 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap() 1178 u16 function_id, u16 opmod) in mlx5_vport_set_other_func_cap() argument 1190 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
|
A D | fs_cmd.c | 504 int opmod, int modify_mask, in mlx5_cmd_set_fte() argument 534 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte() 728 int opmod; in mlx5_cmd_update_fte() local 735 opmod = 1; in mlx5_cmd_update_fte() 737 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte); in mlx5_cmd_update_fte()
|
A D | eswitch.c | 1472 u16 opmod = (MLX5_CAP_GENERAL << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_query_hca_cap_host_pf() local 1476 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_query_hca_cap_host_pf() 1794 int opmod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_eswitch_set_vport_state() local 1804 opmod = MLX5_VPORT_STATE_OP_MOD_UPLINK; in mlx5_eswitch_set_vport_state() 1814 err = mlx5_modify_vport_admin_state(esw->dev, opmod, vport, other_vport, link_state); in mlx5_eswitch_set_vport_state() 1817 vport, opmod, err); in mlx5_eswitch_set_vport_state()
|
A D | main.c | 364 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local 373 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode() 415 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() argument 418 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
|
A D | mlx5_core.h | 328 u16 opmod);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | cq.c | 147 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-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | cmd.h | 58 u16 opmod, u8 port);
|
A D | cmd.c | 181 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()
|
A D | wr.c | 762 u8 opmod = 0; in mlx5r_finish_wqe() local 765 mlx5_opcode | ((u32)opmod << 24)); in mlx5r_finish_wqe()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_cmd.c | 719 int opmod, int modify_mask, in mlx5dr_cmd_set_fte() argument 749 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5dr_cmd_set_fte()
|
A D | dr_types.h | 1484 int opmod, int modify_mask,
|
/linux-6.3-rc2/drivers/vdpa/mlx5/net/ |
A D | mlx5_vnet.c | 2994 static u8 query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in query_vport_state() argument 3001 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in query_vport_state()
|