Lines Matching refs:mdev_port_num
477 u32 mdev_port_num; in mlx5_query_port_roce() local
481 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in mlx5_query_port_roce()
488 mdev_port_num = 1; in mlx5_query_port_roce()
501 mdev_port_num); in mlx5_query_port_roce()
1446 u32 mdev_port_num; in mlx5_query_hca_nic_pkey() local
1449 mdev = mlx5_ib_get_native_port_mdev(dev, port, &mdev_port_num); in mlx5_query_hca_nic_pkey()
1456 mdev_port_num = 1; in mlx5_query_hca_nic_pkey()
1459 err = mlx5_query_hca_vport_pkey(mdev, 0, mdev_port_num, 0, in mlx5_query_hca_nic_pkey()
1516 u32 mdev_port_num; in set_port_caps_atomic() local
1519 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in set_port_caps_atomic()
1523 err = mlx5_query_hca_vport_context(mdev, 0, mdev_port_num, 0, &ctx); in set_port_caps_atomic()
1536 err = mlx5_core_modify_hca_vport_context(mdev, 0, mdev_port_num, in set_port_caps_atomic()