/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_txrx.c | 63 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-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H 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()
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H 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);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H 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() 1165 u16 opmod) in mlx5_vport_get_other_func_cap() 1170 opmod = (opmod << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_vport_get_other_func_cap() 1172 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_vport_get_other_func_cap() 1181 u16 vport, u16 opmod) in mlx5_vport_set_other_func_cap() 1194 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << in mlx5_vport_set_other_func_cap() 1164 mlx5_vport_get_other_func_cap(struct mlx5_core_dev *dev, u16 vport, void *out, u16 opmod) mlx5_vport_get_other_func_cap() argument 1180 mlx5_vport_set_other_func_cap(struct mlx5_core_dev *dev, const void *hca_cap, u16 vport, u16 opmod) mlx5_vport_set_other_func_cap() argument [all...] |
H A D | fs_cmd.c | 519 int opmod, int modify_mask, in mlx5_cmd_set_fte() 550 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte() 766 int opmod; in mlx5_cmd_update_fte() local 773 opmod = 1; in mlx5_cmd_update_fte() 775 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte); in mlx5_cmd_update_fte() 518 mlx5_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5_flow_table *ft, unsigned group_id, struct fs_fte *fte) mlx5_cmd_set_fte() argument
|
H A D | eswitch.c | 1650 u16 opmod = (MLX5_CAP_GENERAL << 1) | (HCA_CAP_OPMOD_GET_MAX & 0x01); in mlx5_query_hca_cap_host_pf() local 1654 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_query_hca_cap_host_pf() 2027 int opmod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_eswitch_set_vport_state() local 2037 opmod = MLX5_VPORT_STATE_OP_MOD_UPLINK; in mlx5_eswitch_set_vport_state() 2047 err = mlx5_modify_vport_admin_state(esw->dev, opmod, vport, other_vport, link_state); in mlx5_eswitch_set_vport_state() 2049 mlx5_core_warn(esw->dev, "Failed to set vport %d link state, opmod = %d, err = %d", in mlx5_eswitch_set_vport_state() 2050 vport, opmod, err); in mlx5_eswitch_set_vport_state()
|
H A D | main.c | 376 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local 385 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode() 427 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() argument 430 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
|
H A D | mlx5_core.h | 330 u16 opmod);
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | vport.h | 66 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/ |
H A D | cq.c | 147 int cq_num, u8 opmod) in mlx4_SW2HW_CQ() 149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ() 155 int cq_num, u32 opmod) in mlx4_MODIFY_CQ() 157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ() 146 mlx4_SW2HW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u8 opmod) mlx4_SW2HW_CQ() argument 154 mlx4_MODIFY_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u32 opmod) mlx4_MODIFY_CQ() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cq.c | 147 int cq_num, u8 opmod) in mlx4_SW2HW_CQ() 149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ() 155 int cq_num, u32 opmod) in mlx4_MODIFY_CQ() 157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ() 146 mlx4_SW2HW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u8 opmod) mlx4_SW2HW_CQ() argument 154 mlx4_MODIFY_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u32 opmod) mlx4_MODIFY_CQ() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 392 int opmod, int modify_mask, in mlx5_cmd_set_fte() 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() 391 mlx5_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5_flow_table *ft, unsigned group_id, struct fs_fte *fte) mlx5_cmd_set_fte() argument
|
H A D | main.c | 367 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local 376 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode() 418 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() argument 421 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
|
H A D | vport.c | 43 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()
|
H A D | eswitch.c | 1962 int opmod = MLX5_VPORT_STATE_OP_MOD_ESW_VPORT; in mlx5_eswitch_set_vport_state() local 1972 opmod = MLX5_VPORT_STATE_OP_MOD_UPLINK; in mlx5_eswitch_set_vport_state() 1978 err = mlx5_modify_vport_admin_state(esw->dev, opmod, vport, other_vport, link_state); in mlx5_eswitch_set_vport_state() 1980 mlx5_core_warn(esw->dev, "Failed to set vport %d link state, opmod = %d, err = %d", in mlx5_eswitch_set_vport_state() 1981 vport, opmod, err); in mlx5_eswitch_set_vport_state()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | cmd.h | 62 u16 opmod, u8 port);
|
H A D | cmd.c | 275 u16 opmod, u8 port) in mlx5_cmd_mad_ifc() 291 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc() 274 mlx5_cmd_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, u16 opmod, u8 port) mlx5_cmd_mad_ifc() argument
|
H A D | wr.c | 983 u8 opmod = 0; in finish_wqe() local 986 mlx5_opcode | ((u32)opmod << 24)); in finish_wqe()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | cmd.h | 58 u16 opmod, u8 port);
|
H A D | cmd.c | 181 u16 opmod, u8 port) in mlx5_cmd_mad_ifc() 197 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc() 180 mlx5_cmd_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, u16 opmod, u8 port) mlx5_cmd_mad_ifc() argument
|
H A D | wr.c | 762 u8 opmod = 0; in mlx5r_finish_wqe() local 765 mlx5_opcode | ((u32)opmod << 24)); in mlx5r_finish_wqe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 523 int opmod, int modify_mask, in mlx5dr_cmd_set_fte() 553 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5dr_cmd_set_fte() 522 mlx5dr_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5dr_cmd_ft_info *ft, u32 group_id, struct mlx5dr_cmd_fte_info *fte) mlx5dr_cmd_set_fte() argument
|
H A D | dr_types.h | 1130 int opmod, int modify_mask,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 784 int opmod, int modify_mask, in mlx5dr_cmd_set_fte() 814 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5dr_cmd_set_fte() 783 mlx5dr_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5dr_cmd_ft_info *ft, u32 group_id, struct mlx5dr_cmd_fte_info *fte) mlx5dr_cmd_set_fte() argument
|
/kernel/linux/linux-6.6/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 629 u16 opmod = (MLX5_CAP_VDPA_EMULATION << 1) | (HCA_CAP_OPMOD_GET_CUR & 0x01); in read_umem_params() local 642 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in read_umem_params() 2440 static u8 query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in query_vport_state() argument 2447 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in query_vport_state()
|