Home
last modified time | relevance | path

Searched refs:mlx4_cmd (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c103 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_PRIO2TC()
151 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_SCHEDULER()
210 err = mlx4_cmd(dev, mailbox->dma, port, in mlx4_ALLOCATE_VPP_set()
280 err = mlx4_cmd(dev, mailbox->dma, (vport << 8) | port, in mlx4_SET_VPORT_QOS_set()
Dsrq.c67 return mlx4_cmd(dev, mailbox->dma, srq_num, 0, in mlx4_SW2HW_SRQ()
82 return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ, in mlx4_ARM_SRQ()
153 if (mlx4_cmd(dev, in_param, RES_SRQ, RES_OP_RESERVE_AND_MAP, in mlx4_srq_free_icm()
Dfw.c197 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_MOD_STAT_CFG, in mlx4_MOD_STAT_CFG()
1566 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1577 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1607 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_FA, in mlx4_UNMAP_FA()
1614 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_RUN_FW, in mlx4_RUN_FW()
1621 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW()
2058 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_INIT_HCA, in mlx4_INIT_HCA()
2272 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper()
2282 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper()
2336 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT()
[all …]
Dport.c142 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_mac_table()
549 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_set_port_vlan_table()
1195 err = mlx4_cmd(dev, mailbox->dma, in mlx4_reset_roce_port_gids()
1469 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1476 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1532 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
1595 err = mlx4_cmd(dev, mailbox->dma, port, in mlx4_SET_PORT()
1633 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_general()
1671 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_qpn_calc()
1695 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_user_mtu()
[all …]
Dqp.c145 ret = mlx4_cmd(dev, 0, qp->qpn, 2, in __mlx4_qp_modify()
182 ret = mlx4_cmd(dev, mailbox->dma, in __mlx4_qp_modify()
296 err = mlx4_cmd(dev, in_param, RES_QP, RES_OP_RESERVE, in mlx4_qp_release_range()
383 if (mlx4_cmd(dev, in_param, RES_QP, RES_OP_MAP_ICM, in mlx4_qp_free_icm()
504 err = mlx4_cmd(dev, mailbox->dma, qpn & 0xffffff, 0, in mlx4_update_qp()
536 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
Dmr.c239 err = mlx4_cmd(dev, in_param, RES_MTT, RES_OP_RESERVE_AND_MAP, in mlx4_free_mtt_range()
279 return mlx4_cmd(dev, mailbox->dma, mpt_index, in mlx4_SW2HW_MPT()
435 return mlx4_cmd(dev, mailbox->dma, num_entries, 0, MLX4_CMD_WRITE_MTT, in mlx4_WRITE_MTT()
473 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_release()
517 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_MAP_ICM, in mlx4_mpt_free_icm()
971 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_SYNC_TPT, in mlx4_SYNC_TPT()
Dcq.c149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ()
157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
281 err = mlx4_cmd(dev, in_param, RES_CQ, RES_OP_RESERVE_AND_MAP, in mlx4_cq_free_icm()
Den_selftest.c45 return mlx4_cmd(priv->mdev->dev, 0, 0, 0, MLX4_CMD_HW_HEALTH_CHECK, in mlx4_en_test_registers()
Dicm.c243 return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, in mlx4_UNMAP_ICM()
254 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_ICM_AUX, in mlx4_UNMAP_ICM_AUX()
Dmcg.c75 err = mlx4_cmd(dev, regid, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH()
92 return mlx4_cmd(dev, mailbox->dma, index, 0, MLX4_CMD_WRITE_MCG, in mlx4_WRITE_ENTRY()
102 return mlx4_cmd(dev, mailbox->dma, in_mod, 0x1, in mlx4_WRITE_PROMISC()
1096 err = mlx4_cmd(dev, in_param, 0, 0, in mlx4_FLOW_STEERING_IB_UC_QP_RANGE()
1356 err = mlx4_cmd(dev, mailbox->dma, qpn, attach, in mlx4_QP_ATTACH()
1584 return mlx4_cmd(dev, (u64) qpn | (u64) port << 62, (u32) steer, add, in mlx4_PROMISC()
Deq.c485 err = mlx4_cmd(dev, 0, i, 0, MLX4_CMD_INFORM_FLR_DONE, in mlx4_master_handle_slave_flr()
890 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
904 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
912 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, in mlx4_SW2HW_EQ()
919 return mlx4_cmd(dev, 0, eq_num, 1, MLX4_CMD_HW2SW_EQ, in mlx4_HW2SW_EQ()
Dpd.c108 err = mlx4_cmd(dev, in_param, RES_XRCD, in mlx4_xrcd_free()
Dresource_tracker.c3389 err = mlx4_cmd(dev, mailbox->dma, in_modifier, 0, in mlx4_GEN_EQE()
4335 err = mlx4_cmd(dev, inbox->dma, in mlx4_UPDATE_QP_wrapper()
4476 mlx4_cmd(dev, vhcr->out_param, 0, 0, in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4494 mlx4_cmd(dev, fs_rule->com.res_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_undo_mirror_rule()
4549 err = mlx4_cmd(dev, vhcr->in_param, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4707 err = mlx4_cmd(dev, in_param, in rem_slave_qps()
4773 err = mlx4_cmd(dev, in_param, srqn, 1, in rem_slave_srqs()
4838 err = mlx4_cmd(dev, in_param, cqn, 1, in rem_slave_cqs()
4905 err = mlx4_cmd(dev, in_param, mptn, 0, in rem_slave_mrs()
5019 mlx4_cmd(dev, reg_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_do_mirror_rule()
[all …]
Den_port.c66 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
Dmlx4.h627 struct mlx4_cmd { struct
888 struct mlx4_cmd cmd;
Den_dcb_nl.c653 err = mlx4_cmd(priv->mdev->dev, mailbox_in_dma, inmod, in mlx4_en_dcbnl_ieee_setqcn()
Dcmd.c341 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_comm_cmd_wait()
436 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post()
681 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
808 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_ARM_COMM_CHANNEL, in mlx4_ARM_COMM_CHANNEL()
Dmain.c2655 mlx4_cmd(dev, in_param, RES_COUNTER, RES_OP_RESERVE, in mlx4_counter_free()
/kernel/linux/linux-5.10/include/linux/mlx4/
Dcmd.h273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() function
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c180 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
185 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
225 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
230 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
1025 mlx4_cmd(to_mdev(ibdev)->dev, mailbox->dma, 1, 0, in mlx4_ib_modify_device()
1051 err = mlx4_cmd(dev->dev, mailbox->dma, port, MLX4_SET_PORT_IB_OPCODE, in mlx4_ib_SET_PORT()
1605 err = mlx4_cmd(dev, reg_id, 0, 0, in __mlx4_ib_destroy_flow()