Searched refs:mdev_port_num (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/hw/mlx5/ |
H A D | mad.c | 214 u32 mdev_port_num; in process_pma_cmd() local 218 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in process_pma_cmd() 226 mdev_port_num = 1; in process_pma_cmd() 233 mdev_port_num = 1; in process_pma_cmd() 259 err = query_ib_ppcnt(mdev, mdev_port_num, in process_pma_cmd() 265 mdev_port_num, in process_pma_cmd() 281 err = query_ib_ppcnt(mdev, mdev_port_num, 0, out_cnt, sz, 0); in process_pma_cmd()
|
H A D | main.c | 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() [all …]
|