Searched refs:mdev_port_num (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | mad.c | 177 u32 mdev_port_num; in process_pma_cmd() local 181 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in process_pma_cmd() 189 mdev_port_num = 1; in process_pma_cmd() 194 mdev_port_num = 1; in process_pma_cmd() 218 err = mlx5_core_query_vport_counter(mdev, 0, 0, mdev_port_num, in process_pma_cmd() 233 err = query_ib_ppcnt(mdev, mdev_port_num, out_cnt, sz); in process_pma_cmd()
|
D | main.c | 476 u32 mdev_port_num; in mlx5_query_port_roce() local 480 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in mlx5_query_port_roce() 487 mdev_port_num = 1; in mlx5_query_port_roce() 500 mdev_port_num); in mlx5_query_port_roce() 1438 u32 mdev_port_num; in mlx5_query_hca_nic_pkey() local 1441 mdev = mlx5_ib_get_native_port_mdev(dev, port, &mdev_port_num); in mlx5_query_hca_nic_pkey() 1448 mdev_port_num = 1; in mlx5_query_hca_nic_pkey() 1451 err = mlx5_query_hca_vport_pkey(mdev, 0, mdev_port_num, 0, in mlx5_query_hca_nic_pkey() 1508 u32 mdev_port_num; in set_port_caps_atomic() local 1511 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in set_port_caps_atomic() [all …]
|