Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c340 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 …]
Dsysfs.c465 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()
Dmcg.c223 return mlx4_ib_send_to_wire(dev, mlx4_master_func_num(dev->dev), in send_mad_to_wire()
Dmain.c2400 (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()
Dqp.c993 else if (tnl_init->slave == mlx4_master_func_num(dev->dev) || in create_qp_common()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dqp.c78 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()
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()
664 if (i == mlx4_master_func_num(dev)) in mlx4_eq_int()
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()
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()
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()
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()
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()
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()
Dmain.c2835 if (i == mlx4_master_func_num(dev)) in mlx4_setup_hca()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h1030 static inline int mlx4_master_func_num(struct mlx4_dev *dev) in mlx4_master_func_num() function