Home
last modified time | relevance | path

Searched refs:mlx4_master_func_num (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c340 if (slave == mlx4_master_func_num(dev->dev)) in __propagate_pkey_ev()
453 if (slave == mlx4_master_func_num(dev->dev)) in find_slave_port_pkey_ix()
743 slave = mlx4_master_func_num(dev->dev); in mlx4_ib_demux_mad()
801 if (slave != mlx4_master_func_num(dev->dev)) { in mlx4_ib_demux_mad()
1537 if (slave != mlx4_master_func_num(dev->dev) && in mlx4_ib_multiplex_mad()
1558 if (slave != mlx4_master_func_num(dev->dev)) { in mlx4_ib_multiplex_mad()
2126 if (slave == mlx4_master_func_num(dev->dev)) in mlx4_ib_tunnels_update()
2140 if (!ret && slave == mlx4_master_func_num(dev->dev)) in mlx4_ib_tunnels_update()
2319 if (i == mlx4_master_func_num(dev->dev)) in mlx4_ib_init_sriov()
2358 free_pv_object(dev, mlx4_master_func_num(dev->dev), i + 1); in mlx4_ib_init_sriov()
[all …]
H A Dsysfs.c463 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()
585 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
618 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
H A Dmcg.c223 return mlx4_ib_send_to_wire(dev, mlx4_master_func_num(dev->dev), in send_mad_to_wire()
H A Dmain.c2407 (slave == mlx4_master_func_num(ibdev->dev) || !i) ? i : in init_pkeys()
2851 if (j == mlx4_master_func_num(ibdev->dev)) in mlx4_ib_probe()
H A Dqp.c1032 else if (tnl_init->slave == mlx4_master_func_num(dev->dev) || in create_qp_common()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c83 u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev); in is_master_qp0()
866 8 * mlx4_master_func_num(dev) + k; in mlx4_init_qp_table()
869 8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k; in mlx4_init_qp_table()
H A Deq.c621 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()
639 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()
665 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()
H A Dresource_tracker.c431 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()
3199 if (slave != mlx4_master_func_num(dev)) { in verify_qp_parameters()
3216 if (slave != mlx4_master_func_num(dev)) { in verify_qp_parameters()
3246 slave != mlx4_master_func_num(dev) && in verify_qp_parameters()
H A Dcmd.c953 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()
3389 if (slave == mlx4_master_func_num(dev)) in mlx4_vf_get_enable_smi_admin()
3412 if (slave == mlx4_master_func_num(dev)) in mlx4_vf_set_enable_smi_admin()
H A Dfw.c2279 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()
H A Dport.c1319 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()
H A Dmain.c2860 if (i == mlx4_master_func_num(dev)) in mlx4_setup_hca()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h1036 static inline int mlx4_master_func_num(struct mlx4_dev *dev) in mlx4_master_func_num() function