Lines Matching refs:mdev_port_num
522 u32 mdev_port_num; in mlx5_query_port_roce() local
526 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in mlx5_query_port_roce()
533 mdev_port_num = 1; in mlx5_query_port_roce()
546 mdev_port_num, 0); in mlx5_query_port_roce()
1533 u32 mdev_port_num; in mlx5_query_hca_nic_pkey() local
1536 mdev = mlx5_ib_get_native_port_mdev(dev, port, &mdev_port_num); in mlx5_query_hca_nic_pkey()
1543 mdev_port_num = 1; in mlx5_query_hca_nic_pkey()
1546 err = mlx5_query_hca_vport_pkey(mdev, 0, mdev_port_num, 0, in mlx5_query_hca_nic_pkey()
1603 u32 mdev_port_num; in set_port_caps_atomic() local
1606 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in set_port_caps_atomic()
1610 err = mlx5_query_hca_vport_context(mdev, 0, mdev_port_num, 0, &ctx); in set_port_caps_atomic()
1623 err = mlx5_core_modify_hca_vport_context(mdev, 0, mdev_port_num, in set_port_caps_atomic()