Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw_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()
H A Dmlx4_srq.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()
H A Dmlx4_fw.c196 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_MOD_STAT_CFG, in mlx4_MOD_STAT_CFG()
1548 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1559 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, in mlx4_map_cmd()
1589 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_FA, in mlx4_UNMAP_FA()
1596 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_RUN_FW, in mlx4_RUN_FW()
1603 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW()
2038 err = mlx4_cmd(dev, mailbox->dma, 0, 0, MLX4_CMD_INIT_HCA, in mlx4_INIT_HCA()
2235 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper()
2245 err = mlx4_cmd(dev, 0, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT_wrapper()
2299 err = mlx4_cmd(dev, mailbox->dma, port, 0, MLX4_CMD_INIT_PORT, in mlx4_INIT_PORT()
[all …]
H A Dmlx4_cq.c97 return mlx4_cmd(dev, mailbox->dma, cq_num, 0, in mlx4_SW2HW_CQ()
105 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
228 err = mlx4_cmd(dev, in_param, RES_CQ, RES_OP_RESERVE_AND_MAP, in mlx4_cq_free_icm()
H A Dmlx4_port.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()
1405 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1412 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1468 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
1531 err = mlx4_cmd(dev, mailbox->dma, port, in mlx4_SET_PORT()
1569 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_general()
1607 err = mlx4_cmd(dev, mailbox->dma, in_mod, MLX4_SET_PORT_ETH_OPCODE, in mlx4_SET_PORT_qpn_calc()
1634 err = mlx4_cmd(dev, mailbox->dma, in_mod, 1, MLX4_CMD_SET_PORT, in mlx4_SET_PORT_fcs_check()
[all …]
H A Dmlx4_qp.c146 ret = mlx4_cmd(dev, 0, qp->qpn, 2, in __mlx4_qp_modify()
183 ret = mlx4_cmd(dev, mailbox->dma, in __mlx4_qp_modify()
293 err = mlx4_cmd(dev, in_param, RES_QP, RES_OP_RESERVE, in mlx4_qp_release_range()
380 if (mlx4_cmd(dev, in_param, RES_QP, RES_OP_MAP_ICM, in mlx4_qp_free_icm()
482 err = mlx4_cmd(dev, mailbox->dma, qpn & 0xffffff, 0, in mlx4_update_qp()
514 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
H A Dmlx4_mr.c245 err = mlx4_cmd(dev, in_param, RES_MTT, RES_OP_RESERVE_AND_MAP, in mlx4_free_mtt_range()
285 return mlx4_cmd(dev, mailbox->dma, mpt_index, in mlx4_SW2HW_MPT()
440 return mlx4_cmd(dev, mailbox->dma, num_entries, 0, MLX4_CMD_WRITE_MTT, in mlx4_WRITE_MTT()
478 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_release()
522 if (mlx4_cmd(dev, in_param, RES_MPT, RES_OP_MAP_ICM, in mlx4_mpt_free_icm()
1158 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_SYNC_TPT, in mlx4_SYNC_TPT()
H A Dmlx4_mcg.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()
1357 err = mlx4_cmd(dev, mailbox->dma, qpn, attach, in mlx4_QP_ATTACH()
1583 return mlx4_cmd(dev, (u64) qpn | (u64) port << 62, (u32) steer, add, in mlx4_PROMISC()
H A Dmlx4_icm.c235 return mlx4_cmd(dev, virt, page_count, 0, MLX4_CMD_UNMAP_ICM, in mlx4_UNMAP_ICM()
246 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_UNMAP_ICM_AUX, in mlx4_UNMAP_ICM_AUX()
H A Dmlx4_eq.c480 err = mlx4_cmd(dev, 0, i, 0, MLX4_CMD_INFORM_FLR_DONE, in mlx4_master_handle_slave_flr()
876 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
890 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
898 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, in mlx4_SW2HW_EQ()
905 return mlx4_cmd(dev, 0, eq_num, 1, MLX4_CMD_HW2SW_EQ, in mlx4_HW2SW_EQ()
H A Dmlx4_pd.c108 err = mlx4_cmd(dev, in_param, RES_XRCD, in mlx4_xrcd_free()
H A Dmlx4_resource_tracker.c3333 err = mlx4_cmd(dev, mailbox->dma, in_modifier, 0, in mlx4_GEN_EQE()
4296 err = mlx4_cmd(dev, inbox->dma, in mlx4_UPDATE_QP_wrapper()
4441 mlx4_cmd(dev, vhcr->out_param, 0, 0, in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
4459 mlx4_cmd(dev, fs_rule->com.res_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_undo_mirror_rule()
4514 err = mlx4_cmd(dev, vhcr->in_param, 0, 0, in mlx4_QP_FLOW_STEERING_DETACH_wrapper()
4672 err = mlx4_cmd(dev, in_param, in rem_slave_qps()
4739 err = mlx4_cmd(dev, in_param, srqn, 1, in rem_slave_srqs()
4805 err = mlx4_cmd(dev, in_param, cqn, 1, in rem_slave_cqs()
4873 err = mlx4_cmd(dev, in_param, mptn, 0, in rem_slave_mrs()
4987 mlx4_cmd(dev, reg_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH, in mlx4_do_mirror_rule()
[all …]
H A Dmlx4.h618 struct mlx4_cmd { struct
872 struct mlx4_cmd cmd;
H A Dmlx4_cmd.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()
687 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait()
814 return mlx4_cmd(dev, 0, 0, 0, MLX4_CMD_ARM_COMM_CHANNEL, in mlx4_ARM_COMM_CHANNEL()
H A Dmlx4_main.c2564 mlx4_cmd(dev, in_param, RES_COUNTER, RES_OP_RESERVE, in mlx4_counter_free()
/freebsd/sys/modules/mlx4/
H A DMakefile7 mlx4_cmd.c \
/freebsd/sys/dev/mlx4/
H A Dcmd.h273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() function
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c184 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
189 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1()
231 err = mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
236 err += mlx4_cmd(dev, mailbox->dma, in mlx4_ib_update_gids_v1_v2()
974 mlx4_cmd(to_mdev(ibdev)->dev, mailbox->dma, 1, 0, in mlx4_ib_modify_device()
1000 err = mlx4_cmd(dev->dev, mailbox->dma, port, MLX4_SET_PORT_IB_OPCODE, in mlx4_ib_SET_PORT()
1555 err = mlx4_cmd(dev, reg_id, 0, 0, in __mlx4_ib_destroy_flow()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_port.c68 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
/freebsd/sys/conf/
H A Dfiles4858 dev/mlx4/mlx4_core/mlx4_cmd.c optional mlx4 pci \