Searched refs:mlx4_is_master (Results 1 – 15 of 15) sorted by relevance
382 if (mlx4_is_master(dev)) in mlx4_enable_cqe_eqe_stride()643 if (mlx4_is_master(dev) && (dev->caps.num_ports == 2) && in mlx4_dev_cap()690 dev->caps.sqp_demux = (mlx4_is_master(dev)) ? MLX4_MAX_NUM_SLAVES : 0; in mlx4_dev_cap()711 mlx4_is_master(dev)) in mlx4_dev_cap()778 if (!mlx4_is_master(dev)) in mlx4_sync_pkey_table()789 if (!mlx4_is_master(dev)) in mlx4_put_slave_node_guid()800 if (!mlx4_is_master(dev)) in mlx4_get_slave_node_guid()812 if (!mlx4_is_master(dev)) in mlx4_is_slave_active()1428 if (!ret && mlx4_is_master(dev)) { in mlx4_bond()1457 if (mlx4_is_master(dev)) in mlx4_unbond()[all …]
534 if (mlx4_is_master(dev)) { in mlx4_eq_int()563 if (mlx4_is_master(dev)) { in mlx4_eq_int()612 if (!mlx4_is_master(dev)) in mlx4_eq_int()655 if (!mlx4_is_master(dev)) in mlx4_eq_int()690 if (mlx4_is_master(dev)) { in mlx4_eq_int()726 if (!mlx4_is_master(dev)) { in mlx4_eq_int()739 if (!mlx4_is_master(dev)) { in mlx4_eq_int()769 if (mlx4_is_master(dev)) in mlx4_eq_int()
529 if (mlx4_is_master(dev)) { in mlx4_slave_cmd()781 if (!mlx4_is_mfunc(dev) || (native && mlx4_is_master(dev))) { in __mlx4_cmd()2352 if (mlx4_is_master(dev)) in mlx4_multi_func_init()2366 if (mlx4_is_master(dev)) { in mlx4_multi_func_init()2578 if (mlx4_is_master(dev)) { in mlx4_multi_func_cleanup()2931 if (!mlx4_is_master(dev) || in mlx4_is_vf_vst_and_prio_qos()2982 if (!mlx4_is_master(dev)) in mlx4_set_vf_mac()3017 if ((!mlx4_is_master(dev)) || in mlx4_set_vf_vlan()3088 if (!mlx4_is_master(dev) || in mlx4_set_vf_rate()3175 if ((!mlx4_is_master(dev)) || in mlx4_set_vf_spoofchk()[all …]
157 if (!priv->port_up || mlx4_is_master(mdev->dev)) in mlx4_en_fold_software_stats()301 if (mlx4_is_master(mdev->dev)) { in mlx4_en_DUMP_ETH_STATS()
73 if (mlx4_is_master(dev)) in mlx4_reset_master()
152 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR && in __mlx4_qp_modify()192 if (mlx4_is_master(dev) && is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
3082 if (mlx4_is_master(dev)) in mlx4_en_set_stats_bitmap()3112 if (!priv->port_up || mlx4_is_master(priv->mdev->dev)) in mlx4_get_queue_stats_rx()3132 if (!priv->port_up || mlx4_is_master(priv->mdev->dev)) in mlx4_get_queue_stats_tx()3151 if (!priv->port_up || mlx4_is_master(priv->mdev->dev)) in mlx4_get_base_stats()3329 if (mlx4_is_master(priv->mdev->dev)) in mlx4_en_init_netdev()
1582 if (pkey_tbl_sz >= 0 && mlx4_is_master(dev)) { in mlx4_SET_PORT()1961 if (!mlx4_is_master(dev)) in mlx4_get_roce_gid_from_slave()
1778 (mlx4_is_master(dev) || mlx4_is_guest_proxy(dev, slave, qpn)); in valid_reserved()
176 mlx4_is_master(dev->dev) ? (op_modifier & ~0x8) : op_modifier, in mlx4_MAD_IFC()294 if (!mlx4_is_master(dev->dev)) in smp_snoop()298 if (mlx4_is_master(dev->dev) && in smp_snoop()1082 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) in handle_lid_change_event()1090 if (mlx4_is_master(dev->dev)) { in handle_client_rereg_event()1107 if (mlx4_is_master(dev->dev)) in handle_client_rereg_event()1133 if (!mlx4_is_mfunc(dev->dev) || !mlx4_is_master(dev->dev)) in handle_slaves_guid_change()1205 if (mlx4_is_master(dev->dev)) { in handle_port_mgmt_change_event()1228 if (mlx4_is_master(dev->dev)) in handle_port_mgmt_change_event()1239 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) in handle_port_mgmt_change_event()[all …]
82 if (!mlx4_is_master(dev->dev)) in mlx4_ib_update_cache_on_guid_change()200 if (!mlx4_is_master(dev->dev)) in mlx4_ib_notify_slaves_on_guid_change()624 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) { in mlx4_ib_invalidate_all_guid_record()778 if (!mlx4_is_master(dev->dev)) in mlx4_ib_init_alias_guid_work()836 if (!mlx4_is_master(dev->dev)) in mlx4_ib_init_alias_guid_service()
762 if (!mlx4_is_master(device->dev)) in register_pkey_tree()777 if (!mlx4_is_master(device->dev)) in unregister_pkey_tree()804 if (!mlx4_is_master(dev->dev)) in mlx4_ib_device_register_sysfs()846 if (!mlx4_is_master(device->dev)) in unregister_alias_guid_tree()
1577 if (mlx4_is_master(mdev->dev) && flow_type == MLX4_FS_REGULAR && in __mlx4_ib_create_flow()1989 if (mlx4_is_master(dev->dev)) in init_node_data()2398 if (mlx4_is_master(ibdev->dev)) { in init_pkeys()2849 if (mlx4_is_master(ibdev->dev)) { in mlx4_ib_probe()3029 if (!mlx4_is_master(dev)) in do_slave_init()3246 if (mlx4_is_master(dev)) in mlx4_ib_event()3276 if (mlx4_is_master(dev)) in mlx4_ib_event()3285 if (mlx4_is_master(dev)) { in mlx4_ib_event()3299 if (mlx4_is_master(dev)) { in mlx4_ib_event()
115 if (!mlx4_is_master(dev->dev)) in is_tunnel_qp()129 real_sqp = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_sqp()157 real_qp0 = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_qp0()1007 (!mlx4_is_master(dev->dev) || in create_qp_common()1012 if (mlx4_is_master(dev->dev) || in create_qp_common()1028 !mlx4_is_master(dev->dev)) in create_qp_common()1503 (mlx4_is_master(dev->dev) && in get_sqp_num()2921 if (mlx4_is_master(mdev->dev)) { in build_sriov_qp0_header()
1041 static inline int mlx4_is_master(struct mlx4_dev *dev) in mlx4_is_master() function1049 16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev); in mlx4_num_reserved_sqps()1055 16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev) && in mlx4_is_qp_reserved()