Lines Matching refs:mdev_port_num
493 u8 mdev_port_num; in mlx5_query_port_roce() local
497 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in mlx5_query_port_roce()
504 mdev_port_num = 1; in mlx5_query_port_roce()
517 mdev_port_num); in mlx5_query_port_roce()
1457 u8 mdev_port_num; in mlx5_query_hca_nic_pkey() local
1460 mdev = mlx5_ib_get_native_port_mdev(dev, port, &mdev_port_num); in mlx5_query_hca_nic_pkey()
1467 mdev_port_num = 1; in mlx5_query_hca_nic_pkey()
1470 err = mlx5_query_hca_vport_pkey(mdev, 0, mdev_port_num, 0, in mlx5_query_hca_nic_pkey()
1527 u8 mdev_port_num; in set_port_caps_atomic() local
1530 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in set_port_caps_atomic()
1534 err = mlx5_query_hca_vport_context(mdev, 0, mdev_port_num, 0, &ctx); in set_port_caps_atomic()
1547 err = mlx5_core_modify_hca_vport_context(mdev, 0, mdev_port_num, in set_port_caps_atomic()
5591 u8 mdev_port_num; in mlx5_ib_get_hw_stats() local
5613 &mdev_port_num); in mlx5_ib_get_hw_stats()