Searched refs:mlx4_is_mfunc (Results 1 – 20 of 20) sorted by relevance
180 if (mlx4_is_mfunc(dev)) { in mlx4_alloc_mtt_range()236 if (mlx4_is_mfunc(dev)) { in mlx4_free_mtt_range()312 if (!mlx4_is_mfunc(dev)) { in mlx4_mr_hw_get_mpt()349 if (!mlx4_is_mfunc(dev)) { in mlx4_mr_hw_write_mpt()381 if (mlx4_is_mfunc(dev)) { in mlx4_mr_hw_put_mpt()395 if (mlx4_is_mfunc(dev)) in mlx4_mr_hw_change_pd()450 if (mlx4_is_mfunc(dev)) { in mlx4_mpt_reserve()471 if (mlx4_is_mfunc(dev)) { in mlx4_mpt_release()494 if (mlx4_is_mfunc(dev)) { in mlx4_mpt_alloc_icm()515 if (mlx4_is_mfunc(dev)) { in mlx4_mpt_free_icm()[all …]
460 if (!(mlx4_is_mfunc(dev) && steer == MLX4_UC_STEER)) { in add_promisc_qp()598 if (!(mlx4_is_mfunc(dev) && steer == MLX4_UC_STEER)) { in remove_promisc_qp()1343 if (!mlx4_is_mfunc(dev)) in mlx4_QP_ATTACH()1421 if (mlx4_is_mfunc(dev)) in mlx4_multicast_attach()1451 if (mlx4_is_mfunc(dev)) in mlx4_multicast_detach()1536 if (mlx4_is_mfunc(dev)) in mlx4_unicast_attach()1551 if (mlx4_is_mfunc(dev)) in mlx4_unicast_detach()1572 if (mlx4_is_mfunc(dev) && steer == MLX4_UC_STEER) in mlx4_PROMISC_wrapper()1591 if (mlx4_is_mfunc(dev)) in mlx4_multicast_promisc_add()1600 if (mlx4_is_mfunc(dev)) in mlx4_multicast_promisc_remove()[all …]
81 if (mlx4_is_mfunc(dev)) { in mlx4_xrcd_alloc()106 if (mlx4_is_mfunc(dev)) { in mlx4_xrcd_free()
258 if (mlx4_is_mfunc(dev)) { in mlx4_qp_reserve_range()293 if (mlx4_is_mfunc(dev)) { in mlx4_qp_release_range()356 if (mlx4_is_mfunc(dev)) { in mlx4_qp_alloc_icm()381 if (mlx4_is_mfunc(dev)) { in mlx4_qp_free_icm()845 if (mlx4_is_mfunc(dev)) { in mlx4_init_qp_table()
125 if (mlx4_is_mfunc(dev)) { in mlx4_srq_alloc_icm()151 if (mlx4_is_mfunc(dev)) { in mlx4_srq_free_icm()
117 if (mlx4_is_mfunc(priv->mdev->dev) && in mlx4_en_update_loopback_state()124 if (mlx4_is_mfunc(priv->mdev->dev) || priv->validate_loopback) in mlx4_en_update_loopback_state()
250 if (mlx4_is_mfunc(dev)) { in mlx4_cq_alloc_icm()279 if (mlx4_is_mfunc(dev)) { in mlx4_cq_free_icm()
174 if (!mlx4_is_mfunc(dev)) in mlx4_need_mf_bond()347 if (mlx4_is_mfunc(dev)) { in mlx4_register_mac()454 if (mlx4_is_mfunc(dev)) { in mlx4_unregister_mac()748 if (mlx4_is_mfunc(dev)) { in mlx4_register_vlan()830 if (mlx4_is_mfunc(dev)) { in mlx4_unregister_vlan()1507 if (mlx4_is_mfunc(dev) && in mlx4_common_set_port()1867 if (!mlx4_is_mfunc(dev)) in mlx4_get_slave_from_roce_gid()
101 if (mlx4_is_mfunc(&priv->dev) && (intf->flags & MLX4_INTFF_BONDING)) { in mlx4_register_interface()
442 if (mlx4_is_mfunc(dev)) { in mlx4_enable_ignore_fcs()578 if (mlx4_is_mfunc(dev)) in mlx4_dev_cap()2187 (!mlx4_is_mfunc(dev) || in choose_steering_mode()2602 if (mlx4_is_mfunc(dev)) { in mlx4_counter_alloc()2653 if (mlx4_is_mfunc(dev)) { in mlx4_counter_free()2842 if (mlx4_is_mfunc(dev)) in mlx4_setup_hca()3062 if (mlx4_is_mfunc(dev)) { in mlx4_init_port_info()3082 if (mlx4_is_mfunc(dev)) { in mlx4_init_port_info()3423 if (mlx4_is_mfunc(dev)) { in mlx4_load_one()3598 if ((mlx4_is_mfunc(dev)) && in mlx4_load_one()[all …]
129 profile[MLX4_RES_EQ].num = mlx4_is_mfunc(dev) ? dev->phys_caps.num_phys_eqs : in mlx4_make_profile()
781 if (!mlx4_is_mfunc(dev) || (native && mlx4_is_master(dev))) { in __mlx4_cmd()2519 if (mlx4_is_mfunc(dev) && !priv->mfunc.vhcr) { in mlx4_cmd_init()2607 if (mlx4_is_mfunc(dev) && priv->mfunc.vhcr && in mlx4_cmd_cleanup()2633 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_events()2660 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_events()2674 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_polling()2687 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_polling()
843 if (mlx4_is_mfunc(dev)) in mlx4_QUERY_DEV_CAP()
451 if (!mlx4_is_mfunc(dev)) { in mlx4_init_quotas()
81 return (mlx4_is_bonded(dev) && mlx4_is_mfunc(dev)); in mlx4_is_mf_bonded()
1063 static inline int mlx4_is_mfunc(struct mlx4_dev *dev) in mlx4_is_mfunc() function
121 real_sqp = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_sqp()127 if (mlx4_is_mfunc(dev->dev)) { in is_sqp()149 real_qp0 = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_qp0()155 if (mlx4_is_mfunc(dev->dev)) { in is_qp0()967 if (mlx4_is_mfunc(dev->dev) && in create_qp_common()1463 if (!mlx4_is_mfunc(dev->dev) || in get_sqp_num()1676 case MLX4_IB_QPT_TUN_SMI_OWNER: return (mlx4_is_mfunc(dev->dev) ? in to_mlx4_st()1681 case MLX4_IB_QPT_TUN_GSI: return (mlx4_is_mfunc(dev->dev) ? in to_mlx4_st()2377 if (mlx4_is_mfunc(dev->dev) && in __mlx4_ib_modify_qp()3006 if (mlx4_is_mfunc(to_mdev(ib_dev)->dev)) { in build_mlx_header()[all …]
105 if (ib_num_ports && mlx4_is_mfunc(dev)) { in check_flow_steering_support()668 if (mlx4_is_mfunc(to_mdev(ibdev)->dev) && netw_view) in ib_link_query_port()847 if (mlx4_is_mfunc(dev->dev) && netw_view) in __mlx4_ib_query_gid()856 if (mlx4_is_mfunc(dev->dev) && !netw_view) { in __mlx4_ib_query_gid()916 if (mlx4_is_mfunc(to_mdev(ibdev)->dev)) in mlx4_ib_query_sl2vl()970 if (mlx4_is_mfunc(to_mdev(ibdev)->dev) && netw_view) in __mlx4_ib_query_pkey()2284 if (!mlx4_is_mfunc(ibdev->dev)) in mlx4_ib_update_qps()2834 if (mlx4_is_mfunc(ibdev->dev)) in mlx4_ib_add()
140 if (mlx4_is_mfunc(dev->dev) && in mlx4_MAD_IFC()255 if (!mlx4_is_mfunc(dev->dev)) { in smp_snoop()1133 if (!mlx4_is_mfunc(dev->dev) || !mlx4_is_master(dev->dev)) in handle_slaves_guid_change()2304 if (!mlx4_is_mfunc(dev->dev)) in mlx4_ib_init_sriov()2380 if (!mlx4_is_mfunc(dev->dev)) in mlx4_ib_close_sriov()
837 if (mlx4_is_mfunc(to_mdev(cq->ibcq.device)->dev)) { in mlx4_ib_poll_one()