Home
last modified time | relevance | path

Searched refs:mlx4_is_mfunc (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmr.c180 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 …]
H A Dmcg.c460 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 …]
H A Dqp.c263 if (mlx4_is_mfunc(dev)) { in mlx4_qp_reserve_range()
298 if (mlx4_is_mfunc(dev)) { in mlx4_qp_release_range()
361 if (mlx4_is_mfunc(dev)) { in mlx4_qp_alloc_icm()
386 if (mlx4_is_mfunc(dev)) { in mlx4_qp_free_icm()
849 if (mlx4_is_mfunc(dev)) { in mlx4_init_qp_table()
H A Dpd.c81 if (mlx4_is_mfunc(dev)) { in mlx4_xrcd_alloc()
106 if (mlx4_is_mfunc(dev)) { in mlx4_xrcd_free()
H A Dsrq.c125 if (mlx4_is_mfunc(dev)) { in mlx4_srq_alloc_icm()
151 if (mlx4_is_mfunc(dev)) { in mlx4_srq_free_icm()
H A Den_main.c117 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()
H A Dcq.c250 if (mlx4_is_mfunc(dev)) { in mlx4_cq_alloc_icm()
279 if (mlx4_is_mfunc(dev)) { in mlx4_cq_free_icm()
H A Dport.c174 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()
H A Dmain.c437 if (mlx4_is_mfunc(dev)) { in mlx4_enable_ignore_fcs()
573 if (mlx4_is_mfunc(dev)) in mlx4_dev_cap()
2208 (!mlx4_is_mfunc(dev) || in choose_steering_mode()
2623 if (mlx4_is_mfunc(dev)) { in mlx4_counter_alloc()
2674 if (mlx4_is_mfunc(dev)) { in mlx4_counter_free()
2863 if (mlx4_is_mfunc(dev)) in mlx4_setup_hca()
3113 if (mlx4_is_mfunc(dev)) { in mlx4_init_port_info()
3133 if (mlx4_is_mfunc(dev)) { in mlx4_init_port_info()
3478 if (mlx4_is_mfunc(dev)) { in mlx4_load_one()
3653 if ((mlx4_is_mfunc(dev)) && in mlx4_load_one()
[all …]
H A Dprofile.c129 profile[MLX4_RES_EQ].num = mlx4_is_mfunc(dev) ? dev->phys_caps.num_phys_eqs : in mlx4_make_profile()
H A Dintf.c210 if (mlx4_is_mfunc(dev)) { in mlx4_do_bond()
H A Dcmd.c781 if (!mlx4_is_mfunc(dev) || (native && mlx4_is_master(dev))) { in __mlx4_cmd()
2520 if (mlx4_is_mfunc(dev) && !priv->mfunc.vhcr) { in mlx4_cmd_init()
2608 if (mlx4_is_mfunc(dev) && priv->mfunc.vhcr && in mlx4_cmd_cleanup()
2634 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_events()
2661 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_events()
2675 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_polling()
2688 if (mlx4_is_mfunc(dev)) in mlx4_cmd_use_polling()
H A Dfw.c843 if (mlx4_is_mfunc(dev)) in mlx4_QUERY_DEV_CAP()
H A Dresource_tracker.c451 if (!mlx4_is_mfunc(dev)) { in mlx4_init_quotas()
/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c129 real_sqp = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_sqp()
135 if (mlx4_is_mfunc(dev->dev)) { in is_sqp()
157 real_qp0 = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_qp0()
163 if (mlx4_is_mfunc(dev->dev)) { in is_qp0()
1006 if (mlx4_is_mfunc(dev->dev) && in create_qp_common()
1502 if (!mlx4_is_mfunc(dev->dev) || in get_sqp_num()
1715 case MLX4_IB_QPT_TUN_SMI_OWNER: return (mlx4_is_mfunc(dev->dev) ? in to_mlx4_st()
1720 case MLX4_IB_QPT_TUN_GSI: return (mlx4_is_mfunc(dev->dev) ? in to_mlx4_st()
2416 if (mlx4_is_mfunc(dev->dev) && in __mlx4_ib_modify_qp()
3045 if (mlx4_is_mfunc(to_mdev(ib_dev)->dev)) { in build_mlx_header()
[all …]
H A Dmain.c107 if (ib_num_ports && mlx4_is_mfunc(dev)) { in check_flow_steering_support()
673 if (mlx4_is_mfunc(to_mdev(ibdev)->dev) && netw_view) in ib_link_query_port()
852 if (mlx4_is_mfunc(dev->dev) && netw_view) in __mlx4_ib_query_gid()
861 if (mlx4_is_mfunc(dev->dev) && !netw_view) { in __mlx4_ib_query_gid()
921 if (mlx4_is_mfunc(to_mdev(ibdev)->dev)) in mlx4_ib_query_sl2vl()
975 if (mlx4_is_mfunc(to_mdev(ibdev)->dev) && netw_view) in __mlx4_ib_query_pkey()
2286 if (!mlx4_is_mfunc(ibdev->dev)) in mlx4_ib_update_qps()
2845 if (mlx4_is_mfunc(ibdev->dev)) in mlx4_ib_probe()
H A Dmad.c140 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()
2300 if (!mlx4_is_mfunc(dev->dev)) in mlx4_ib_init_sriov()
2376 if (!mlx4_is_mfunc(dev->dev)) in mlx4_ib_close_sriov()
H A Dcq.c838 if (mlx4_is_mfunc(to_mdev(cq->ibcq.device)->dev)) { in mlx4_ib_poll_one()
/linux/include/linux/mlx4/
H A Ddevice.h1070 static inline int mlx4_is_mfunc(struct mlx4_dev *dev) in mlx4_is_mfunc() function
1104 return (mlx4_is_bonded(dev) && mlx4_is_mfunc(dev)); in mlx4_is_mf_bonded()