Home
last modified time | relevance | path

Searched refs:mlx4_is_master (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
A Dmain.c387 if (mlx4_is_master(dev)) in mlx4_enable_cqe_eqe_stride()
716 mlx4_is_master(dev)) in mlx4_dev_cap()
783 if (!mlx4_is_master(dev)) in mlx4_sync_pkey_table()
794 if (!mlx4_is_master(dev)) in mlx4_put_slave_node_guid()
805 if (!mlx4_is_master(dev)) in mlx4_get_slave_node_guid()
817 if (!mlx4_is_master(dev)) in mlx4_is_slave_active()
1488 if (mlx4_is_master(dev)) in mlx4_unbond()
2327 mlx4_is_master(dev)) in mlx4_init_hca()
4081 if (mlx4_is_master(dev)) in mlx4_unload_one()
4098 if (mlx4_is_master(dev)) in mlx4_unload_one()
[all …]
A Deq.c534 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()
654 if (!mlx4_is_master(dev)) in mlx4_eq_int()
689 if (mlx4_is_master(dev)) { in mlx4_eq_int()
725 if (!mlx4_is_master(dev)) { in mlx4_eq_int()
738 if (!mlx4_is_master(dev)) { in mlx4_eq_int()
768 if (mlx4_is_master(dev)) in mlx4_eq_int()
A Dcmd.c529 if (mlx4_is_master(dev)) { in mlx4_slave_cmd()
2362 if (mlx4_is_master(dev)) in mlx4_multi_func_init()
2376 if (mlx4_is_master(dev)) { in mlx4_multi_func_init()
2588 if (mlx4_is_master(dev)) { in mlx4_multi_func_cleanup()
2941 if (!mlx4_is_master(dev) || in mlx4_is_vf_vst_and_prio_qos()
2992 if (!mlx4_is_master(dev)) in mlx4_set_vf_mac()
3027 if ((!mlx4_is_master(dev)) || in mlx4_set_vf_vlan()
3098 if (!mlx4_is_master(dev) || in mlx4_set_vf_rate()
3185 if ((!mlx4_is_master(dev)) || in mlx4_set_vf_spoofchk()
3214 if (!mlx4_is_master(dev)) in mlx4_get_vf_config()
[all …]
A Den_port.c157 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()
A Dcatas.c73 if (mlx4_is_master(dev)) in mlx4_reset_master()
A Dqp.c147 if (mlx4_is_master(dev) && cur_state != MLX4_QP_STATE_ERR && in __mlx4_qp_modify()
187 if (mlx4_is_master(dev) && is_master_qp0(dev, qp, &real_qp0, &proxy_qp0)) { in __mlx4_qp_modify()
A Dport.c1582 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()
A Den_netdev.c3139 if (mlx4_is_master(dev)) in mlx4_en_set_stats_bitmap()
3315 if (mlx4_is_master(priv->mdev->dev)) in mlx4_en_init_netdev()
A Dresource_tracker.c1778 (mlx4_is_master(dev) || mlx4_is_guest_proxy(dev, slave, qpn)); in valid_reserved()
/linux/drivers/infiniband/hw/mlx4/
A Dmad.c294 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()
1244 if (!mlx4_is_master(dev->dev)) in handle_port_mgmt_change_event()
2291 if (!mlx4_is_master(dev->dev)) in mlx4_ib_master_tunnels()
[all …]
A Dalias_GUID.c83 if (!mlx4_is_master(dev->dev)) in mlx4_ib_update_cache_on_guid_change()
201 if (!mlx4_is_master(dev->dev)) in mlx4_ib_notify_slaves_on_guid_change()
625 if (mlx4_is_master(dev->dev) && !dev->sriov.is_going_down) { in mlx4_ib_invalidate_all_guid_record()
779 if (!mlx4_is_master(dev->dev)) in mlx4_ib_init_alias_guid_work()
838 if (!mlx4_is_master(dev->dev)) in mlx4_ib_init_alias_guid_service()
A Dsysfs.c762 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()
A Dmain.c1581 if (mlx4_is_master(mdev->dev) && flow_type == MLX4_FS_REGULAR && in __mlx4_ib_create_flow()
1995 if (mlx4_is_master(dev->dev)) in init_node_data()
2412 if (mlx4_is_master(ibdev->dev)) { in init_pkeys()
2848 if (mlx4_is_master(ibdev->dev)) { in mlx4_ib_add()
3017 if (!mlx4_is_master(dev)) in do_slave_init()
3226 if (mlx4_is_master(dev)) in mlx4_ib_event()
3256 if (mlx4_is_master(dev)) in mlx4_ib_event()
3265 if (mlx4_is_master(dev)) { in mlx4_ib_event()
3279 if (mlx4_is_master(dev)) { in mlx4_ib_event()
A Dqp.c107 if (!mlx4_is_master(dev->dev)) in is_tunnel_qp()
121 real_sqp = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_sqp()
149 real_qp0 = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_qp0()
968 (!mlx4_is_master(dev->dev) || in create_qp_common()
973 if (mlx4_is_master(dev->dev) || in create_qp_common()
989 !mlx4_is_master(dev->dev)) in create_qp_common()
1464 (mlx4_is_master(dev->dev) && in get_sqp_num()
2882 if (mlx4_is_master(mdev->dev)) { in build_sriov_qp0_header()
/linux/include/linux/mlx4/
A Ddevice.h1034 static inline int mlx4_is_master(struct mlx4_dev *dev) in mlx4_is_master() function
1042 16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev); in mlx4_num_reserved_sqps()
1048 16 * MLX4_MFUNC_MAX * !!mlx4_is_master(dev) && in mlx4_is_qp_reserved()

Completed in 67 milliseconds