Searched refs:mlx4_master_func_num (Results 1 – 13 of 13) sorted by relevance
340 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev()452 if (slave == mlx4_master_func_num(dev->dev)) in find_slave_port_pkey_ix()742 slave = mlx4_master_func_num(dev->dev); in mlx4_ib_demux_mad()773 if (slave != 255 && slave != mlx4_master_func_num(dev->dev)) { in mlx4_ib_demux_mad()800 if (slave != mlx4_master_func_num(dev->dev)) { in mlx4_ib_demux_mad()1534 if (slave != mlx4_master_func_num(dev->dev) && in mlx4_ib_multiplex_mad()1555 if (slave != mlx4_master_func_num(dev->dev)) { in mlx4_ib_multiplex_mad()2123 if (slave == mlx4_master_func_num(dev->dev)) in mlx4_ib_tunnels_update()2137 if (!ret && slave == mlx4_master_func_num(dev->dev)) in mlx4_ib_tunnels_update()2292 mlx4_ib_tunnels_update(dev, mlx4_master_func_num(dev->dev), i + 1, do_init); in mlx4_ib_master_tunnels()[all …]
465 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()595 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()628 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
223 return mlx4_ib_send_to_wire(dev, mlx4_master_func_num(dev->dev), in send_mad_to_wire()
2400 (slave == mlx4_master_func_num(ibdev->dev) || !i) ? i : in init_pkeys()2876 if (j == mlx4_master_func_num(ibdev->dev)) in mlx4_ib_add()
993 else if (tnl_init->slave == mlx4_master_func_num(dev->dev) || in create_qp_common()
78 u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev); in is_master_qp0()861 8 * mlx4_master_func_num(dev) + k; in mlx4_init_qp_table()864 8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k; in mlx4_init_qp_table()
621 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()639 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()664 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()
431 if (vf == mlx4_master_func_num(dev)) { in initialize_res_quotas()461 pf = mlx4_master_func_num(dev); in mlx4_init_quotas()483 if (vf == mlx4_master_func_num(dev)) in mlx4_calc_res_counter_guaranteed()583 if (t == mlx4_master_func_num(dev)) { in mlx4_init_resource_tracker()611 if (t == mlx4_master_func_num(dev)) { in mlx4_init_resource_tracker()3198 if (slave != mlx4_master_func_num(dev)) { in verify_qp_parameters()3215 if (slave != mlx4_master_func_num(dev)) { in verify_qp_parameters()3245 slave != mlx4_master_func_num(dev) && in verify_qp_parameters()
953 if (!err && slave != mlx4_master_func_num(dev)) { in mlx4_MAD_IFC_wrapper()1008 if (slave != mlx4_master_func_num(dev) && in mlx4_MAD_IFC_wrapper()3391 if (slave == mlx4_master_func_num(dev)) in mlx4_vf_get_enable_smi_admin()3414 if (slave == mlx4_master_func_num(dev)) in mlx4_vf_set_enable_smi_admin()
2279 if (slave == mlx4_master_func_num(dev)) { in mlx4_INIT_PORT_wrapper()2378 if (slave == mlx4_master_func_num(dev)) { in mlx4_CLOSE_PORT_wrapper()3003 if (slave != mlx4_master_func_num(dev) && in mlx4_ACCESS_REG_wrapper()
1319 if (slave != mlx4_master_func_num(dev) && in mlx4_en_set_port_global_pause()1502 if (slave != mlx4_master_func_num(dev) && in mlx4_common_set_port()
2835 if (i == mlx4_master_func_num(dev)) in mlx4_setup_hca()
1030 static inline int mlx4_master_func_num(struct mlx4_dev *dev) in mlx4_master_func_num() function